mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
[PowerPC] Also add "msync" alias
This adds an alias for "msync" (which is used on Book E systems instead of "sync"). llvm-svn: 185375
This commit is contained in:
parent
3787fb8dc0
commit
4261958c61
@ -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