aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler/Mips/micromips.txt
diff options
context:
space:
mode:
authorVladimir Medic <Vladimir.Medic@imgtec.com>2013-09-06 12:53:21 +0000
committerVladimir Medic <Vladimir.Medic@imgtec.com>2013-09-06 12:53:21 +0000
commitdadd1fba3280295936f556acbdc3fbb68b496bad (patch)
tree1f31b5702fbb2a479d9011160b677a88b73cb921 /test/MC/Disassembler/Mips/micromips.txt
parent9e935a77a59fc14acf1936165f235342b741e34a (diff)
downloadexternal_llvm-dadd1fba3280295936f556acbdc3fbb68b496bad.zip
external_llvm-dadd1fba3280295936f556acbdc3fbb68b496bad.tar.gz
external_llvm-dadd1fba3280295936f556acbdc3fbb68b496bad.tar.bz2
This patch adds support for microMIPS Move to/from HI/LO instructions. Test cases are included in patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler/Mips/micromips.txt')
-rw-r--r--test/MC/Disassembler/Mips/micromips.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/micromips.txt b/test/MC/Disassembler/Mips/micromips.txt
index 683c7a0..6979c79 100644
--- a/test/MC/Disassembler/Mips/micromips.txt
+++ b/test/MC/Disassembler/Mips/micromips.txt
@@ -159,3 +159,15 @@
# CHECK: movf $9, $6, $fcc0
0x55 0x26 0x01 0x7b
+
+# CHECK: mthi $6
+0x00 0x06 0x2d 0x7c
+
+# CHECK: mfhi $6
+0x00 0x06 0x0d 0x7c
+
+# CHECK: mtlo $6
+0x00 0x06 0x3d 0x7c
+
+# CHECK: mflo $6
+0x00 0x06 0x1d 0x7c