aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler/Mips/mips32.txt
diff options
context:
space:
mode:
authorJack Carter <jcarter@mips.com>2013-01-16 00:07:45 +0000
committerJack Carter <jcarter@mips.com>2013-01-16 00:07:45 +0000
commit490c7d97737ea7719efcea7321d3cfa3984b0027 (patch)
treede5ee01765ee31806f32f574d1ac4c7264a10bdf /test/MC/Disassembler/Mips/mips32.txt
parent72f7bfbf0e02bb11d3e7cca1f9598c5f9d9fa2ca (diff)
downloadexternal_llvm-490c7d97737ea7719efcea7321d3cfa3984b0027.zip
external_llvm-490c7d97737ea7719efcea7321d3cfa3984b0027.tar.gz
external_llvm-490c7d97737ea7719efcea7321d3cfa3984b0027.tar.bz2
Akira,
Hope you are feeling better. The Mips RDHWR (Read Hardware Register) instruction was not tested for assembler or dissassembler consumption. This patch adds that functionality. Contributer: Vladimir Medic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler/Mips/mips32.txt')
-rw-r--r--test/MC/Disassembler/Mips/mips32.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/mips32.txt b/test/MC/Disassembler/Mips/mips32.txt
index a193319..7022486 100644
--- a/test/MC/Disassembler/Mips/mips32.txt
+++ b/test/MC/Disassembler/Mips/mips32.txt
@@ -404,3 +404,9 @@
# CHECK: xori $9, $6, 17767
0x38 0xc9 0x45 0x67
+
+# CHECK: .set push
+# CHECK: .set mips32r2
+# CHECK: rdhwr $5, $29
+# CHECK: .set pop
+0x7c 0x05 0xe8 0x3b