summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUIntrinsics.td
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2012-05-07 13:10:09 +0400
committerVadim Girlin <[email protected]>2012-05-08 01:18:23 +0400
commite98e209528b2c7acb721a84a7cfda925aeed4d57 (patch)
tree115e556f0db0150eec98df18c45ce1d320674e27 /src/gallium/drivers/radeon/AMDGPUIntrinsics.td
parent996fa375ec275ab5053855dc95f9cc4f301d596c (diff)
radeon/llvm: add support for CUBE ALU instruction
Signed-off-by: Vadim Girlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUIntrinsics.td')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUIntrinsics.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUIntrinsics.td b/src/gallium/drivers/radeon/AMDGPUIntrinsics.td
index d8ea45287a4..089d3b66f61 100644
--- a/src/gallium/drivers/radeon/AMDGPUIntrinsics.td
+++ b/src/gallium/drivers/radeon/AMDGPUIntrinsics.td
@@ -54,6 +54,7 @@ let TargetPrefix = "AMDGPU", isTarget = 1 in {
def int_AMDGPU_imin : Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], []>;
def int_AMDGPU_umax : Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], []>;
def int_AMDGPU_umin : Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], []>;
+ def int_AMDGPU_cube : Intrinsic<[llvm_v4f32_ty], [llvm_v4f32_ty], []>;
}
let TargetPrefix = "TGSI", isTarget = 1 in {