aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler/Mips/micromips_le.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_le.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_le.txt')
-rw-r--r--test/MC/Disassembler/Mips/micromips_le.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/micromips_le.txt b/test/MC/Disassembler/Mips/micromips_le.txt
index fb183cd..8c32af6 100644
--- a/test/MC/Disassembler/Mips/micromips_le.txt
+++ b/test/MC/Disassembler/Mips/micromips_le.txt
@@ -159,3 +159,15 @@
# CHECK: movf $9, $6, $fcc0
0x26 0x55 0x7b 0x01
+
+# CHECK: mthi $6
+0x06 0x00 0x7c 0x2d
+
+# CHECK: mfhi $6
+0x06 0x00 0x7c 0x0d
+
+# CHECK: mtlo $6
+0x06 0x00 0x7c 0x3d
+
+# CHECK: mflo $6
+0x06 0x00 0x7c 0x1d