summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600Instructions.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-24 09:01:33 -0400
committerTom Stellard <[email protected]>2012-05-24 14:12:32 -0400
commit662ccbfc21a650e0a52f6d293fa33f9e23e654c6 (patch)
tree54d07178208a04b78c5f4a45e243af46ace1d113 /src/gallium/drivers/radeon/R600Instructions.td
parent177b420283547e472632bc650f218ad4b0b541d5 (diff)
radeon/llvm: Remove AMDIL instructions MULHI, SMUL
Diffstat (limited to 'src/gallium/drivers/radeon/R600Instructions.td')
-rw-r--r--src/gallium/drivers/radeon/R600Instructions.td10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td
index a2427769082..7bfd552d86e 100644
--- a/src/gallium/drivers/radeon/R600Instructions.td
+++ b/src/gallium/drivers/radeon/R600Instructions.td
@@ -663,9 +663,8 @@ class ASHR_Common <bits<32> inst> : R600_2OP <
class MULHI_INT_Common <bits<32> inst> : R600_2OP <
inst, "MULHI_INT $dst, $src0, $src1",
- [] >{
- let AMDILOp = AMDILInst.SMULHI_i32;
-}
+ [(set R600_Reg32:$dst, (mulhs R600_Reg32:$src0, R600_Reg32:$src1))]
+>;
class MULHI_UINT_Common <bits<32> inst> : R600_2OP <
inst, "MULHI $dst, $src0, $src1",
@@ -674,9 +673,8 @@ class MULHI_UINT_Common <bits<32> inst> : R600_2OP <
class MULLO_INT_Common <bits<32> inst> : R600_2OP <
inst, "MULLO_INT $dst, $src0, $src1",
- [] >{
- let AMDILOp = AMDILInst.SMUL_i32;
-}
+ [(set R600_Reg32:$dst, (mul R600_Reg32:$src0, R600_Reg32:$src1))]
+>;
class MULLO_UINT_Common <bits<32> inst> : R600_2OP <
inst, "MULLO_UINT $dst, $src0, $src1",