summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZoran Jovanovic <zoran.jovanovic@imgtec.com>2013-11-07 14:35:24 +0000
committerZoran Jovanovic <zoran.jovanovic@imgtec.com>2013-11-07 14:35:24 +0000
commit9f471750fa6f34120d4758d5d14f54f899e34a54 (patch)
treed08eeb9c4058e3ca1535e379676169090217b467 /test
parent0f0f1ac011627aa5f90d739b4e0ccffeeb721f50 (diff)
downloadllvm-9f471750fa6f34120d4758d5d14f54f899e34a54.tar.gz
llvm-9f471750fa6f34120d4758d5d14f54f899e34a54.tar.bz2
llvm-9f471750fa6f34120d4758d5d14f54f899e34a54.tar.xz
Support for microMIPS trap instructions 1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/Mips/micromips.txt18
-rw-r--r--test/MC/Disassembler/Mips/micromips_le.txt18
2 files changed, 36 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/micromips.txt b/test/MC/Disassembler/Mips/micromips.txt
index b3de89e0eb..e005e67178 100644
--- a/test/MC/Disassembler/Mips/micromips.txt
+++ b/test/MC/Disassembler/Mips/micromips.txt
@@ -249,3 +249,21 @@
# CHECK: bltz $6, 1332
0x40 0x06 0x02 0x9a
+
+# CHECK: teq $8, $9, 0
+0x01 0x28 0x00 0x3c
+
+# CHECK: tge $8, $9, 0
+0x01 0x28 0x02 0x3c
+
+# CHECK: tgeu $8, $9, 0
+0x01 0x28 0x04 0x3c
+
+# CHECK: tlt $8, $9, 0
+0x01 0x28 0x08 0x3c
+
+# CHECK: tltu $8, $9, 0
+0x01 0x28 0x0a 0x3c
+
+# CHECK: tne $8, $9, 0
+0x01 0x28 0x0c 0x3c
diff --git a/test/MC/Disassembler/Mips/micromips_le.txt b/test/MC/Disassembler/Mips/micromips_le.txt
index ec9679cb57..0110cbd116 100644
--- a/test/MC/Disassembler/Mips/micromips_le.txt
+++ b/test/MC/Disassembler/Mips/micromips_le.txt
@@ -249,3 +249,21 @@
# CHECK: bltz $6, 1332
0x06 0x40 0x9a 0x02
+
+# CHECK: teq $8, $9, 0
+0x28 0x01 0x3c 0x00
+
+# CHECK: tge $8, $9, 0
+0x28 0x01 0x3c 0x02
+
+# CHECK: tgeu $8, $9, 0
+0x28 0x01 0x3c 0x04
+
+# CHECK: tlt $8, $9, 0
+0x28 0x01 0x3c 0x08
+
+# CHECK: tltu $8, $9, 0
+0x28 0x01 0x3c 0x0a
+
+# CHECK: tne $8, $9, 0
+0x28 0x01 0x3c 0x0c