diff options
| author | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-07-12 09:25:35 +0000 |
|---|---|---|
| committer | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-07-12 09:25:35 +0000 |
| commit | bcf1ca08e099a63c8df9d0a8ae568e44091ce8c8 (patch) | |
| tree | 842d3459868f6d11be7cabf2c1f99b8155679c71 /llvm/test | |
| parent | 17276d35676d86d38c85a4db284225a02d227d36 (diff) | |
| download | bcm5719-llvm-bcf1ca08e099a63c8df9d0a8ae568e44091ce8c8.tar.gz bcm5719-llvm-bcf1ca08e099a63c8df9d0a8ae568e44091ce8c8.zip | |
Add support for Mips break and syscall insructions. The corresponding test cases are added.
llvm-svn: 186151
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/Mips/mips_directives.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/mips_directives.s b/llvm/test/MC/Mips/mips_directives.s index bbb26165523..c29806aeff7 100644 --- a/llvm/test/MC/Mips/mips_directives.s +++ b/llvm/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 |

