mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 16:37:42 +00:00
[PowerPC] Also add "msync" alias
This adds an alias for "msync" (which is used on Book E systems instead of "sync"). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
db8e0bbedb
commit
3bd2b92267
@ -2286,6 +2286,7 @@ class PPCAsmPseudo<string asm, dag iops>
|
||||
def : InstAlias<"sc", (SC 0)>;
|
||||
|
||||
def : InstAlias<"sync", (SYNC 0)>;
|
||||
def : InstAlias<"msync", (SYNC 0)>;
|
||||
def : InstAlias<"lwsync", (SYNC 1)>;
|
||||
def : InstAlias<"ptesync", (SYNC 2)>;
|
||||
|
||||
|
@ -57,6 +57,8 @@
|
||||
|
||||
# CHECK: sync 0 # encoding: [0x7c,0x00,0x04,0xac]
|
||||
sync
|
||||
# CHECK: sync 0 # encoding: [0x7c,0x00,0x04,0xac]
|
||||
msync
|
||||
# CHECK: sync 1 # encoding: [0x7c,0x20,0x04,0xac]
|
||||
lwsync
|
||||
# CHECK: sync 2 # encoding: [0x7c,0x40,0x04,0xac]
|
||||
|
Loading…
Reference in New Issue
Block a user