From 2ec5933eae2e889225d33bd2f93a35926e958c95 Mon Sep 17 00:00:00 2001 From: Vladimir Medic Date: Wed, 10 Jul 2013 10:18:10 +0000 Subject: 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 --- test/MC/Mips/mips_directives.s | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'test/MC/Mips/mips_directives.s') 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 -- cgit v1.1