summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUInstrInfo.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-13 15:04:15 +0000
committerTom Stellard <[email protected]>2012-09-21 19:30:53 +0000
commit87decd6e66d145f4af87c871c0f5086b5b17e002 (patch)
treef2e951c91ce74cd75b8adca8ef2adcc3ae1b96ad /src/gallium/drivers/radeon/AMDGPUInstrInfo.td
parentaa3c2e3186c3bfb59da417938d0558f4d13d7cac (diff)
radeon/llvm: Replace AMDGPU pow intrinsic with the llvm version
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUInstrInfo.td')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUInstrInfo.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUInstrInfo.td b/src/gallium/drivers/radeon/AMDGPUInstrInfo.td
index 44527196861..23ca35aadc2 100644
--- a/src/gallium/drivers/radeon/AMDGPUInstrInfo.td
+++ b/src/gallium/drivers/radeon/AMDGPUInstrInfo.td
@@ -67,3 +67,5 @@ def AMDGPUumin : SDNode<"AMDGPUISD::UMIN", SDTIntBinOp,
// out = (2^32 / a) + e
// e is rounding error
def AMDGPUurecip : SDNode<"AMDGPUISD::URECIP", SDTIntUnaryOp>;
+
+def fpow : SDNode<"ISD::FPOW", SDTFPBinOp>;