diff options
author | Tom Stellard <[email protected]> | 2012-05-23 14:48:36 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-24 14:12:31 -0400 |
commit | 1404e6b9fcc6ff4f962cafa8d81226dff5fef54d (patch) | |
tree | 6b95f8c77c2aca771f75f490e46f61e2a597bcd3 /src/gallium/drivers/radeon/R600Instructions.td | |
parent | 3059c075a73aa275cc43cf72ba87d64f6d748cd6 (diff) |
radeon/llvm: Remove AMDIL binary instrutions (OR, AND, XOR, NOT)
Diffstat (limited to 'src/gallium/drivers/radeon/R600Instructions.td')
-rw-r--r-- | src/gallium/drivers/radeon/R600Instructions.td | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index 92e3cc112e8..c8db9380571 100644 --- a/src/gallium/drivers/radeon/R600Instructions.td +++ b/src/gallium/drivers/radeon/R600Instructions.td @@ -390,26 +390,23 @@ def KILLGT : R600_2OP < def AND_INT : R600_2OP < 0x30, "AND_INT", - []> { - let AMDILOp = AMDILInst.AND_i32; -} + [(set R600_Reg32:$dst, (and R600_Reg32:$src0, R600_Reg32:$src1))] +>; def OR_INT : R600_2OP < 0x31, "OR_INT", - []>{ - let AMDILOp = AMDILInst.BINARY_OR_i32; -} + [(set R600_Reg32:$dst, (or R600_Reg32:$src0, R600_Reg32:$src1))] +>; def XOR_INT : R600_2OP < 0x32, "XOR_INT", - [] + [(set R600_Reg32:$dst, (xor R600_Reg32:$src0, R600_Reg32:$src1))] >; def NOT_INT : R600_1OP < 0x33, "NOT_INT", - []>{ - let AMDILOp = AMDILInst.BINARY_NOT_i32; -} + [(set R600_Reg32:$dst, (not R600_Reg32:$src))] +>; def ADD_INT : R600_2OP < 0x34, "ADD_INT", |