diff options
author | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-07-10 10:18:10 +0000 |
---|---|---|
committer | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-07-10 10:18:10 +0000 |
commit | 2ec5933eae2e889225d33bd2f93a35926e958c95 (patch) | |
tree | ef51c1d75ab10431e5369ee2d93ae8af6268ed45 /test/MC/Mips/mips_directives.s | |
parent | ea870a53a5a0c644e5b15af5ae59d8a4378a4d2a (diff) | |
download | external_llvm-2ec5933eae2e889225d33bd2f93a35926e958c95.zip external_llvm-2ec5933eae2e889225d33bd2f93a35926e958c95.tar.gz external_llvm-2ec5933eae2e889225d33bd2f93a35926e958c95.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@185999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips_directives.s')
-rw-r--r-- | test/MC/Mips/mips_directives.s | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/test/MC/Mips/mips_directives.s b/test/MC/Mips/mips_directives.s index 1bf4600..c29806a 100644 --- a/test/MC/Mips/mips_directives.s +++ b/test/MC/Mips/mips_directives.s @@ -39,7 +39,17 @@ $JTI0_0: .set FPU_MASK,$f7 .set r3,$3 .set f6,$f6 -#CHECK: abs.s $f6, $f7 # encoding: [0x46,0x00,0x39,0x85] -#CHECK: and $3, $15, $15 # encoding: [0x01,0xef,0x18,0x24] +# 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 |