From bbdf3af8577ca61fc54c4a1615e80940c904636e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 10 Jul 2012 08:51:31 -0400 Subject: radeon/llvm: Don't set the IMM bit in SMRD instruction definitions. The IMM bit is already being set in SICodeEmitter. --- src/gallium/drivers/radeon/SIInstrInfo.td | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/radeon/SIInstrInfo.td b/src/gallium/drivers/radeon/SIInstrInfo.td index 30c9c3377ad..be08e8abbce 100644 --- a/src/gallium/drivers/radeon/SIInstrInfo.td +++ b/src/gallium/drivers/radeon/SIInstrInfo.td @@ -448,7 +448,6 @@ class MTBUF_Store_Helper op, string asm, RegisterClass regClass> : MTBU let mayStore = 1; } -/*XXX: We should be able to infer the imm bit based on the arg types */ multiclass SMRD_Helper op, string asm, RegisterClass dstClass, ValueType vt> { @@ -458,9 +457,7 @@ multiclass SMRD_Helper op, string asm, RegisterClass dstClass, (ins SMRDmemrr:$src0), asm, [(set (vt dstClass:$dst), (constant_load ADDR_Reg:$src0))] - > { - let IMM = 0; - } + >; def _IMM : SMRD < op, @@ -468,9 +465,7 @@ multiclass SMRD_Helper op, string asm, RegisterClass dstClass, (ins SMRDmemri:$src0), asm, [(set (vt dstClass:$dst), (constant_load ADDR_Offset8:$src0))] - > { - let IMM = 1; - } + >; } include "SIInstrFormats.td" -- cgit v1.2.3