summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips-control-instructions.s
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-02-29 16:06:38 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-02-29 16:06:38 +0000
commite4011df11c0f3481eac82e6d7d25d51325c213f7 (patch)
tree021958777d6fcef5db5241d8015681cd4890dce7 /test/MC/Mips/mips-control-instructions.s
parent0b84c67b0b7bd611a0b48b61a99d30448d5c58b1 (diff)
[mips] Range check uimm20 and fixed a bug this revealed.
Summary: The bug was that dextu's operand 3 would print 0-31 instead of 32-63 when printing assembly. This came up when replacing MipsInstPrinter::printUnsignedImm() with a version that could handle arbitrary bit widths. MipsAsmPrinter::printUnsignedImm*() don't seem to be used so they have been removed. Reviewers: vkalintiris Subscribers: dsanders, llvm-commits Differential Revision: http://reviews.llvm.org/D15521 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips-control-instructions.s')
-rw-r--r--test/MC/Mips/mips-control-instructions.s6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/MC/Mips/mips-control-instructions.s b/test/MC/Mips/mips-control-instructions.s
index 47da8ccca3c4..03b8ed26a5c4 100644
--- a/test/MC/Mips/mips-control-instructions.s
+++ b/test/MC/Mips/mips-control-instructions.s
@@ -6,8 +6,6 @@
# CHECK32: break # encoding: [0x00,0x00,0x00,0x0d]
# CHECK32: break 7 # encoding: [0x00,0x07,0x00,0x0d]
# CHECK32: break 7, 5 # encoding: [0x00,0x07,0x01,0x4d]
-# CHECK32: syscall # encoding: [0x00,0x00,0x00,0x0c]
-# CHECK32: syscall 13396 # encoding: [0x00,0x0d,0x15,0x0c]
# CHECK32: eret # encoding: [0x42,0x00,0x00,0x18]
# CHECK32: deret # encoding: [0x42,0x00,0x00,0x1f]
# CHECK32: di # encoding: [0x41,0x60,0x60,0x00]
@@ -39,8 +37,6 @@
# CHECK64: break # encoding: [0x00,0x00,0x00,0x0d]
# CHECK64: break 7 # encoding: [0x00,0x07,0x00,0x0d]
# CHECK64: break 7, 5 # encoding: [0x00,0x07,0x01,0x4d]
-# CHECK64: syscall # encoding: [0x00,0x00,0x00,0x0c]
-# CHECK64: syscall 13396 # encoding: [0x00,0x0d,0x15,0x0c]
# CHECK64: eret # encoding: [0x42,0x00,0x00,0x18]
# CHECK64: deret # encoding: [0x42,0x00,0x00,0x1f]
# CHECK64: di # encoding: [0x41,0x60,0x60,0x00]
@@ -72,8 +68,6 @@
break
break 7
break 7,5
- syscall
- syscall 0x3454
eret
deret
di