From e7383b74ef529fbd474adc67a661dd4f03d97e80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Fri, 31 Aug 2012 19:05:31 +0200 Subject: [PATCH] radeon/llvm: SI shader vector instructions implicitly use the EXEC register. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michel Dänzer Reviewed-by: Tom Stellard --- src/gallium/drivers/radeon/SIInstrInfo.td | 4 ++++ 1 file changed, 4 insertions(+) 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, -- 2.30.2