diff options
author | Tom Stellard <[email protected]> | 2012-05-23 13:19:36 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-24 14:12:30 -0400 |
commit | d4984f346320e64b58e38e443e5b99d09b7067bc (patch) | |
tree | 056fd343d50ca50224f620412ba04d40c0199e9b /src/gallium/drivers/radeon/R600Instructions.td | |
parent | 5523502ff917803166051c8947f5dd3b23c6fcf8 (diff) |
radeon/llvm: Add custom SDNode for FRACT
Diffstat (limited to 'src/gallium/drivers/radeon/R600Instructions.td')
-rw-r--r-- | src/gallium/drivers/radeon/R600Instructions.td | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index 978ccecd339..670598fc31d 100644 --- a/src/gallium/drivers/radeon/R600Instructions.td +++ b/src/gallium/drivers/radeon/R600Instructions.td @@ -358,9 +358,8 @@ def SNE : R600_2OP < def FRACT : R600_1OP < 0x10, "FRACT", - []> { - let AMDILOp = AMDILInst.FRAC_f32; -} + [(set R600_Reg32:$dst, (AMDGPUfract R600_Reg32:$src))] +>; def TRUNC : R600_1OP < 0x11, "TRUNC", |