[Mesa-dev] [PATCH 6/7] AMDGPU: Handle kilp intrinsic for SI.

Michel Dänzer michel at daenzer.net
Tue Oct 30 11:39:11 PDT 2012


From: Michel Dänzer <michel.daenzer at amd.com>

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 lib/Target/AMDGPU/SIInstructions.td |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/Target/AMDGPU/SIInstructions.td b/lib/Target/AMDGPU/SIInstructions.td
index 8b4245d..cb94381 100644
--- a/lib/Target/AMDGPU/SIInstructions.td
+++ b/lib/Target/AMDGPU/SIInstructions.td
@@ -1240,6 +1240,11 @@ def : Pat <
   (V_MUL_LEGACY_F32_e32 AllReg_32:$src0, (V_RCP_LEGACY_F32_e32 AllReg_32:$src1))
 >;
 
+def : Pat <
+  (int_AMDGPU_kilp),
+  (SI_KIL (V_MOV_IMM_I32 0xbf800000))
+>;
+
 /********** ================== **********/
 /**********   VOP3 Patterns    **********/
 /********** ================== **********/
-- 
1.7.10.4



More information about the mesa-dev mailing list