aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-10-11 19:05:08 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-10-11 19:05:08 +0000
commit5af763cb2ad96f557f88acdb11a710e7c7256800 (patch)
tree84d92351ba6adaa0f66bda6131c393566296000b /test
parent85733840109907e1e0f8ffc03dcd2f5fd8e49d47 (diff)
downloadexternal_llvm-5af763cb2ad96f557f88acdb11a710e7c7256800.zip
external_llvm-5af763cb2ad96f557f88acdb11a710e7c7256800.tar.gz
external_llvm-5af763cb2ad96f557f88acdb11a710e7c7256800.tar.bz2
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
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/Mips/mips64.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/mips64.txt b/test/MC/Disassembler/Mips/mips64.txt
index 2ccef83..f3d2d10 100644
--- a/test/MC/Disassembler/Mips/mips64.txt
+++ b/test/MC/Disassembler/Mips/mips64.txt
@@ -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