summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorZoran Jovanovic <zoran.jovanovic@imgtec.com>2013-09-14 07:15:21 +0000
committerZoran Jovanovic <zoran.jovanovic@imgtec.com>2013-09-14 07:15:21 +0000
commitab48d10effb223de0c9516ccae616a80fef27df8 (patch)
treeaa2b56981148360f1eeac03c65ddfd514e4f0a08 /test/MC/Disassembler
parent47b33528d1b4298bf8cc5dcca8b531dfd0e704bb (diff)
downloadllvm-ab48d10effb223de0c9516ccae616a80fef27df8.tar.gz
llvm-ab48d10effb223de0c9516ccae616a80fef27df8.tar.bz2
llvm-ab48d10effb223de0c9516ccae616a80fef27df8.tar.xz
Support for microMIPS DIV instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/Mips/micromips.txt6
-rw-r--r--test/MC/Disassembler/Mips/micromips_le.txt6
2 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/micromips.txt b/test/MC/Disassembler/Mips/micromips.txt
index b963b05a5e..a6a3575a5a 100644
--- a/test/MC/Disassembler/Mips/micromips.txt
+++ b/test/MC/Disassembler/Mips/micromips.txt
@@ -88,6 +88,12 @@
# CHECK: multu $9, $7
0x00 0xe9 0x9b 0x3c
+# CHECK-EB: div $zero, $9, $7
+0x00 0xe9 0xab 0x3c
+
+# CHECK-EB: divu $zero, $9, $7
+0x00 0xe9 0xbb 0x3c
+
# CHECK: sll $4, $3, 7
0x00 0x83 0x38 0x00
diff --git a/test/MC/Disassembler/Mips/micromips_le.txt b/test/MC/Disassembler/Mips/micromips_le.txt
index ef08158d35..253223cc45 100644
--- a/test/MC/Disassembler/Mips/micromips_le.txt
+++ b/test/MC/Disassembler/Mips/micromips_le.txt
@@ -88,6 +88,12 @@
# CHECK: multu $9, $7
0xe9 0x00 0x3c 0x9b
+# CHECK: div $zero, $9, $7
+0xe9 0x00 0x3c 0xab
+
+# CHECK: divu $zero, $9, $7
+0xe9 0x00 0x3c 0xbb
+
# CHECK: sll $4, $3, 7
0x83 0x00 0x00 0x38