mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Mips: Disassemble sign-extended 64 bit immediates properly.
This doesn't change the meaning of the output, but makes look right. PR17539. llvm-svn: 192483
This commit is contained in:
parent
f96d183309
commit
3e32e13c0b
@ -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…
Reference in New Issue
Block a user