From: Michel Dänzer Date: Fri, 31 Aug 2012 17:05:31 +0000 (+0200) Subject: radeon/llvm: SI shader vector instructions implicitly use the EXEC register. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7383b74ef529fbd474adc67a661dd4f03d97e80;p=mesa.git radeon/llvm: SI shader vector instructions implicitly use the EXEC register. Signed-off-by: Michel Dänzer Reviewed-by: Tom Stellard --- diff --git a/src/gallium/drivers/radeon/SIInstrInfo.td b/src/gallium/drivers/radeon/SIInstrInfo.td index 135f279b39f..49ef342a154 100644 --- a/src/gallium/drivers/radeon/SIInstrInfo.td +++ b/src/gallium/drivers/radeon/SIInstrInfo.td @@ -99,6 +99,7 @@ def SMRDmemri : Operand { def ADDR_Reg : ComplexPattern; def ADDR_Offset8 : ComplexPattern; +let Uses = [EXEC] in { def EXP : Enc64< (outs), (ins i32imm:$en, i32imm:$tgt, i32imm:$compr, i32imm:$done, i32imm:$vm, @@ -244,6 +245,7 @@ class MUBUF op, dag outs, dag ins, string asm, list pattern> : let usesCustomInserter = 1; let neverHasSideEffects = 1; } +} // End Uses = [EXEC] class SMRD op, dag outs, dag ins, string asm, list pattern> : Enc32 { @@ -337,6 +339,7 @@ class SOPP op, dag ins, string asm, list pattern> : Enc32 < } +let Uses = [EXEC] in { class VINTRP op, dag outs, dag ins, string asm, list pattern> : Enc32 { @@ -430,6 +433,7 @@ class VOPC op, dag ins, string asm, list pattern> : let PostEncoderMethod = "VOPPostEncode"; let DisableEncoding = "$dst"; } +} // End Uses = [EXEC] class MIMG_Load_Helper op, string asm> : MIMG < op,