mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Mips: Disassemble sign-extended 64 bit immediates properly.
This doesn't change the meaning of the output, but makes look right. PR17539. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8573384010
commit
5af763cb2a
@ -262,7 +262,9 @@ def uimm20 : Operand<i32> {
|
||||
def uimm10 : Operand<i32> {
|
||||
}
|
||||
|
||||
def simm16_64 : Operand<i64>;
|
||||
def simm16_64 : Operand<i64> {
|
||||
let DecoderMethod = "DecodeSimm16";
|
||||
}
|
||||
|
||||
// Unsigned Operand
|
||||
def uimm5 : Operand<i32> {
|
||||
|
@ -2,6 +2,9 @@
|
||||
# CHECK: daddiu $11, $26, 31949
|
||||
0x67 0x4b 0x7c 0xcd
|
||||
|
||||
# CHECK: daddiu $sp, $sp, -32
|
||||
0x67 0xbd 0xff 0xe0
|
||||
|
||||
# CHECK: daddu $26, $1, $11
|
||||
0x00 0x2b 0xd0 0x2d
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user