aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorZoran Jovanovic <zoran.jovanovic@imgtec.com>2013-10-29 16:38:59 +0000
committerZoran Jovanovic <zoran.jovanovic@imgtec.com>2013-10-29 16:38:59 +0000
commit1aaf43c2a2ec0fd4c8dbfe56558237219c5f8af7 (patch)
tree890ba96553a8309fa262ff4a6c307f0fd1b19dbb /test/MC/Disassembler
parent54328c772c5519e56c13667c2b1d1e830580c44d (diff)
downloadexternal_llvm-1aaf43c2a2ec0fd4c8dbfe56558237219c5f8af7.zip
external_llvm-1aaf43c2a2ec0fd4c8dbfe56558237219c5f8af7.tar.gz
external_llvm-1aaf43c2a2ec0fd4c8dbfe56558237219c5f8af7.tar.bz2
Support for microMIPS jump instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/Mips/micromips.txt12
-rw-r--r--test/MC/Disassembler/Mips/micromips_le.txt12
2 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/micromips.txt b/test/MC/Disassembler/Mips/micromips.txt
index 30e2b57..e827326 100644
--- a/test/MC/Disassembler/Mips/micromips.txt
+++ b/test/MC/Disassembler/Mips/micromips.txt
@@ -213,3 +213,15 @@
# CHECK: ins $9, $6, 3, 7
0x01 0x26 0x48 0xcc
+
+# CHECK: j 1328
+0xd4 0x00 0x02 0x98
+
+# CHECK: jal 1328
+0xf4 0x00 0x02 0x98
+
+# CHECK: jalr $ra, $6
+0x03 0xe6 0x0f 0x3c
+
+# CHECK: jr $7
+0x00 0x07 0x0f 0x3c
diff --git a/test/MC/Disassembler/Mips/micromips_le.txt b/test/MC/Disassembler/Mips/micromips_le.txt
index ff77de5..a42bf79 100644
--- a/test/MC/Disassembler/Mips/micromips_le.txt
+++ b/test/MC/Disassembler/Mips/micromips_le.txt
@@ -213,3 +213,15 @@
# CHECK: ins $9, $6, 3, 7
0x26 0x01 0xcc 0x48
+
+# CHECK: j 1328
+0x00 0xd4 0x98 0x02
+
+# CHECK: jal 1328
+0x00 0xf4 0x98 0x02
+
+# CHECK: jalr $ra, $6
+0xe6 0x03 0x3c 0x0f
+
+# CHECK: jr $7
+0x07 0x00 0x3c 0x0f