1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

R600/SI: Fix operand encoding for flat instructions

llvm-svn: 229607
This commit is contained in:
Matt Arsenault 2015-02-18 02:10:37 +00:00
parent 52d463d1a3
commit 6c85f4ed38

View File

@ -1915,12 +1915,13 @@ multiclass MUBUF_Store_Helper <mubuf op, string name, RegisterClass vdataClass,
}
class FLAT_Load_Helper <bits<7> op, string asm, RegisterClass regClass> :
FLAT <op, (outs regClass:$data),
FLAT <op, (outs regClass:$vdst),
(ins VReg_64:$addr),
asm#" $data, $addr, [M0, FLAT_SCRATCH]", []> {
asm#" $vdst, $addr, [M0, FLAT_SCRATCH]", []> {
let glc = 0;
let slc = 0;
let tfe = 0;
let data = 0;
let mayLoad = 1;
}
@ -1936,6 +1937,7 @@ class FLAT_Store_Helper <bits<7> op, string name, RegisterClass vdataClass> :
let glc = 0;
let slc = 0;
let tfe = 0;
let vdst = 0;
}
class MIMG_Mask <string op, int channels> {