summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDILInstructions.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-25 10:59:52 -0400
committerTom Stellard <[email protected]>2012-05-25 15:40:58 -0400
commit667cdba2118cf82e0027bf44314c9d1334d00840 (patch)
treecdd44ee1a68b23032981dcc1c21869c76a030fb4 /src/gallium/drivers/radeon/AMDILInstructions.td
parentd784bc77405012b442ae9d68f200e9d115030b3c (diff)
radeon/llvm: Use a custom inserter to lower FNEG
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILInstructions.td')
-rw-r--r--src/gallium/drivers/radeon/AMDILInstructions.td5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeon/AMDILInstructions.td b/src/gallium/drivers/radeon/AMDILInstructions.td
index 869c2bb6af2..0197e9418f3 100644
--- a/src/gallium/drivers/radeon/AMDILInstructions.td
+++ b/src/gallium/drivers/radeon/AMDILInstructions.td
@@ -50,7 +50,6 @@ def INTTOANY_i16: OneInOneOut<IL_OP_MOV, (outs GPRI16:$dst), (ins GPRI32:$src0),
//===---------------------------------------------------------------------===//
// Signed 32bit integer math instructions start here
//===---------------------------------------------------------------------===//
-defm NEGATE : UnaryOpMCi32<IL_OP_I_NEGATE, IL_inegate>;
// get rid of the addri via the tablegen instead of custom lowered instruction
defm EADD : BinaryOpMCi32<IL_OP_I_ADD, adde>;
def INTTOANY_i32: OneInOneOut<IL_OP_MOV, (outs GPRI32:$dst), (ins GPRI32:$src0),
@@ -238,10 +237,6 @@ defm NEAR : UnaryOpMCf32<IL_OP_ROUND_NEAR, fnearbyint>;
defm RND_Z : UnaryOpMCf32<IL_OP_ROUND_ZERO, ftrunc>;
// This opcode has custom swizzle pattern encoded in Swizzle Encoder
-def NEG_f32 : OneInOneOut<IL_OP_MOV, (outs GPRF32:$dst),
- (ins GPRF32:$src0),
- !strconcat(IL_OP_MOV.Text, " $dst, $src0"),
- [(set GPRF32:$dst, (fneg GPRF32:$src0))]>;
def INTTOANY_f32 : OneInOneOut<IL_OP_MOV, (outs GPRF32:$dst),
(ins GPRI32:$src0),
!strconcat(IL_OP_MOV.Text, " $dst, $src0"),