mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-19 09:57:42 +00:00
AMDGPU: Make addr64 atomic operand order consistent
vaddr comes before srsrc in every other MUBUF instruction, and is the order it is printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d4640d60d
commit
1c18f49544
@ -2391,7 +2391,7 @@ multiclass MUBUF_Atomic <mubuf op, string name, RegisterClass rc,
|
||||
|
||||
defm _ADDR64 : MUBUFAtomicAddr64_m <
|
||||
op, name#"_addr64", (outs),
|
||||
(ins rc:$vdata, SReg_128:$srsrc, VReg_64:$vaddr,
|
||||
(ins rc:$vdata, VReg_64:$vaddr, SReg_128:$srsrc,
|
||||
SCSrc_32:$soffset, mbuf_offset:$offset, slc:$slc),
|
||||
name#" $vdata, $vaddr, $srsrc, $soffset addr64"#"$offset"#"$slc", [], 0
|
||||
>;
|
||||
@ -2410,7 +2410,7 @@ multiclass MUBUF_Atomic <mubuf op, string name, RegisterClass rc,
|
||||
|
||||
defm _RTN_ADDR64 : MUBUFAtomicAddr64_m <
|
||||
op, name#"_rtn_addr64", (outs rc:$vdata),
|
||||
(ins rc:$vdata_in, SReg_128:$srsrc, VReg_64:$vaddr,
|
||||
(ins rc:$vdata_in, VReg_64:$vaddr, SReg_128:$srsrc,
|
||||
SCSrc_32:$soffset, mbuf_offset:$offset, slc:$slc),
|
||||
name#" $vdata, $vaddr, $srsrc, $soffset addr64"#"$offset"#" glc"#"$slc",
|
||||
[(set vt:$vdata,
|
||||
|
Loading…
Reference in New Issue
Block a user