mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
[mips] Assembly parser must invoke the target streamer to handle .set reorder macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8ca089df49
commit
ffb6f6ed2a
@ -2331,6 +2331,7 @@ bool MipsAsmParser::parseSetReorderDirective() {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Options.setReorder();
|
Options.setReorder();
|
||||||
|
getTargetStreamer().emitDirectiveSetReorder();
|
||||||
Parser.Lex(); // Consume the EndOfStatement.
|
Parser.Lex(); // Consume the EndOfStatement.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ $JTI0_0:
|
|||||||
# CHECK: .4byte 2013265916
|
# CHECK: .4byte 2013265916
|
||||||
.set at=$12
|
.set at=$12
|
||||||
.set macro
|
.set macro
|
||||||
|
# CHECK: .set reorder
|
||||||
# CHECK: b 1332 # encoding: [0x10,0x00,0x01,0x4d]
|
# CHECK: b 1332 # encoding: [0x10,0x00,0x01,0x4d]
|
||||||
# CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
|
# CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
|
||||||
# CHECK: j 1328 # encoding: [0x08,0x00,0x01,0x4c]
|
# CHECK: j 1328 # encoding: [0x08,0x00,0x01,0x4c]
|
||||||
|
Loading…
Reference in New Issue
Block a user