aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips_directives.s
diff options
context:
space:
mode:
authorVladimir Medic <Vladimir.Medic@imgtec.com>2013-07-12 09:25:35 +0000
committerVladimir Medic <Vladimir.Medic@imgtec.com>2013-07-12 09:25:35 +0000
commitdd51a0c1e0b3cce8093244533b3505668d16f218 (patch)
tree423f7793ebb6e55dd0a7ec0184aab3a63f9b242c /test/MC/Mips/mips_directives.s
parent566fb9fe3ed767be7218fb1608ec6a284067d3b0 (diff)
downloadexternal_llvm-dd51a0c1e0b3cce8093244533b3505668d16f218.zip
external_llvm-dd51a0c1e0b3cce8093244533b3505668d16f218.tar.gz
external_llvm-dd51a0c1e0b3cce8093244533b3505668d16f218.tar.bz2
Add support for Mips break and syscall insructions. The corresponding test cases are added.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips_directives.s')
-rw-r--r--test/MC/Mips/mips_directives.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Mips/mips_directives.s b/test/MC/Mips/mips_directives.s
index bbb2616..c29806a 100644
--- a/test/MC/Mips/mips_directives.s
+++ b/test/MC/Mips/mips_directives.s
@@ -41,5 +41,15 @@ $JTI0_0:
.set f6,$f6
# CHECK: abs.s $f6, $f7 # encoding: [0x46,0x00,0x39,0x85]
# CHECK: and $3, $15, $15 # encoding: [0x01,0xef,0x18,0x24]
+# CHECK: break # encoding: [0x00,0x00,0x00,0x0d]
+# CHECK: break 7, 0 # encoding: [0x00,0x07,0x00,0x0d]
+# CHECK: break 7, 5 # encoding: [0x00,0x07,0x01,0x4d]
+# CHECK: syscall # encoding: [0x00,0x00,0x00,0x0c]
+# CHECK: syscall 13396 # encoding: [0x00,0x0d,0x15,0x0c]
abs.s f6,FPU_MASK
and r3,$t7,STORE_MASK
+ break
+ break 7
+ break 7,5
+ syscall
+ syscall 0x3454