mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
ARM Assembler support for DSB instruction.
Add instalias for default 'sy' option. Add tests. llvm-svn: 135116
This commit is contained in:
parent
b1011cf255
commit
4b63d59acb
@ -3314,6 +3314,8 @@ def DSB : AInoP<(outs), (ins memb_opt:$opt), MiscFrm, NoItinerary,
|
||||
let Inst{3-0} = opt;
|
||||
}
|
||||
|
||||
def : InstAlias<"dsb", (DSB 0xf)>, Requires<[IsARM, HasDB]>;
|
||||
|
||||
// ISB has only full system option
|
||||
def ISB : AInoP<(outs), (ins), MiscFrm, NoItinerary, "isb", "", []>,
|
||||
Requires<[IsARM, HasDB]> {
|
||||
|
@ -490,3 +490,34 @@ _func:
|
||||
@ CHECK: dmb osh @ encoding: [0x53,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dmb oshst @ encoding: [0x52,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dmb sy @ encoding: [0x5f,0xf0,0x7f,0xf5]
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ DSB
|
||||
@------------------------------------------------------------------------------
|
||||
dsb sy
|
||||
dsb st
|
||||
dsb sh
|
||||
dsb ish
|
||||
dsb shst
|
||||
dsb ishst
|
||||
dsb un
|
||||
dsb nsh
|
||||
dsb unst
|
||||
dsb nshst
|
||||
dsb osh
|
||||
dsb oshst
|
||||
dsb
|
||||
|
||||
@ CHECK: dsb sy @ encoding: [0x4f,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb st @ encoding: [0x4e,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb ish @ encoding: [0x4b,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb ish @ encoding: [0x4b,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb ishst @ encoding: [0x4a,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb ishst @ encoding: [0x4a,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb nsh @ encoding: [0x47,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb nsh @ encoding: [0x47,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb nshst @ encoding: [0x46,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb nshst @ encoding: [0x46,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb osh @ encoding: [0x43,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb oshst @ encoding: [0x42,0xf0,0x7f,0xf5]
|
||||
@ CHECK: dsb sy @ encoding: [0x4f,0xf0,0x7f,0xf5]
|
||||
|
Loading…
x
Reference in New Issue
Block a user