mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
mbar without argument is equivalent to mbar 0.
llvm-svn: 214250
This commit is contained in:
parent
cc8a88fa18
commit
abd973f309
@ -3123,6 +3123,8 @@ def : InstAlias<"wait", (WAIT 0)>;
|
||||
def : InstAlias<"waitrsv", (WAIT 1)>;
|
||||
def : InstAlias<"waitimpl", (WAIT 2)>;
|
||||
|
||||
def : InstAlias<"mbar", (MBAR 0)>, Requires<[IsBookE]>;
|
||||
|
||||
def : InstAlias<"crset $bx", (CREQV crbitrc:$bx, crbitrc:$bx, crbitrc:$bx)>;
|
||||
def : InstAlias<"crclr $bx", (CRXOR crbitrc:$bx, crbitrc:$bx, crbitrc:$bx)>;
|
||||
def : InstAlias<"crmove $bx, $by", (CROR crbitrc:$bx, crbitrc:$by, crbitrc:$by)>;
|
||||
|
@ -56,6 +56,8 @@
|
||||
# CHECK-BE: mbar 1 # encoding: [0x7c,0x20,0x06,0xac]
|
||||
# CHECK-LE: mbar 1 # encoding: [0xac,0x06,0x20,0x7c]
|
||||
mbar 1
|
||||
# CHECK-BE: mbar 0
|
||||
mbar
|
||||
|
||||
# Extended mnemonics
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user