summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIIntrinsics.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-29 11:36:29 -0400
committerTom Stellard <[email protected]>2012-05-29 11:55:53 -0400
commit89ece086bcd2186ab53cb6a69d53005893cab0ea (patch)
tree44659cbd9cf73654d0bf69faf3ac86c382ab9cc2 /src/gallium/drivers/radeon/SIIntrinsics.td
parent467f51613eb1f2cdaa8624bbbb3d5fae2abca4f2 (diff)
radeonsi: Remove use.sgpr* intrinsics, use load instructions instead
We now model loading uses sgpr values with LLVM IR load instructions that use the USER_SGPR address space. The definition of the sgpr parameter to the use_sgpr() helper function in radeonsi_shader.c has changed so that you can pass raw sgpr values rather than having to divide the sgpr value you want to use by the dword width of the type you want to load.
Diffstat (limited to 'src/gallium/drivers/radeon/SIIntrinsics.td')
-rw-r--r--src/gallium/drivers/radeon/SIIntrinsics.td5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeon/SIIntrinsics.td b/src/gallium/drivers/radeon/SIIntrinsics.td
index d8bf4fab3db..95273a2a68f 100644
--- a/src/gallium/drivers/radeon/SIIntrinsics.td
+++ b/src/gallium/drivers/radeon/SIIntrinsics.td
@@ -21,11 +21,6 @@ let TargetPrefix = "SI", isTarget = 1 in {
def int_SI_vs_load_input : Intrinsic <[llvm_v4f32_ty], [llvm_v4i32_ty, llvm_i16_ty, llvm_i32_ty], []> ;
def int_SI_sample : Intrinsic <[llvm_v4f32_ty], [llvm_i32_ty, llvm_v4f32_ty, llvm_v8i32_ty, llvm_v4i32_ty]>;
- def int_SI_use_sgpr : Intrinsic <[llvm_anyint_ty], [llvm_i32_ty], [IntrNoMem]>;
- class int_SI_use_sgprptr : Intrinsic <[llvm_anyptr_ty], [llvm_i32_ty], []>;
- def int_SI_use_sgprptrcf32 : int_SI_use_sgprptr;
- def int_SI_use_sgprptrci128 : int_SI_use_sgprptr;
- def int_SI_use_sgprptrci256 : int_SI_use_sgprptr;
/* Interpolation Intrinsics */