summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/SIInstructions.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td
index e832ab50447..1fb5df10cee 100644
--- a/src/gallium/drivers/radeon/SIInstructions.td
+++ b/src/gallium/drivers/radeon/SIInstructions.td
@@ -911,6 +911,12 @@ def : Insert_Element <f32, v4f32, VReg_32, VReg_128, 7, sel_w>;
def : Vector_Build <v4f32, VReg_32>;
def : Vector_Build <v4i32, SReg_32>;
+def : BitConvert <i32, f32, SReg_32>;
+def : BitConvert <i32, f32, VReg_32>;
+
+def : BitConvert <f32, i32, SReg_32>;
+def : BitConvert <f32, i32, VReg_32>;
+
/*
def : Pat<
(int_SI_vs_load_buffer_index),