summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600Instructions.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-25 12:18:14 -0400
committerTom Stellard <[email protected]>2012-05-25 15:40:59 -0400
commit4863477e22e02af046915ca2a33dbecfd0ed34b4 (patch)
treeae3c334f03ae8d5103622888ddb54fa73ad8ce63 /src/gallium/drivers/radeon/R600Instructions.td
parent667cdba2118cf82e0027bf44314c9d1334d00840 (diff)
radeon/llvm: Use tablegen pattern to lower bitconvert
Diffstat (limited to 'src/gallium/drivers/radeon/R600Instructions.td')
-rw-r--r--src/gallium/drivers/radeon/R600Instructions.td5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td
index a2a509ea8ba..f038736267b 100644
--- a/src/gallium/drivers/radeon/R600Instructions.td
+++ b/src/gallium/drivers/radeon/R600Instructions.td
@@ -1164,4 +1164,9 @@ def : Insert_Element <i32, v4i32, R600_Reg32, R600_Reg128, 5, sel_y>;
def : Insert_Element <i32, v4i32, R600_Reg32, R600_Reg128, 6, sel_z>;
def : Insert_Element <i32, v4i32, R600_Reg32, R600_Reg128, 7, sel_w>;
+// bitconvert patterns
+
+def : BitConvert <i32, f32, R600_Reg32>;
+def : BitConvert <f32, i32, R600_Reg32>;
+
} // End isR600toCayman Predicate