aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-11 15:21:09 -0400
committerTom Stellard <[email protected]>2012-09-13 10:38:02 -0400
commit70a50685a8f7934e23978ac34dcefcfab46c69de (patch)
tree867f4aab14a0d04eea7037d4b1c60c8b4d08b5b3 /src
parent28f4be9eb91b12a2c6b1db6660cca71a98c486ec (diff)
radeon/llvm: Support fmul on SI
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/SIInstructions.td5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td
index ffc9537ea70..1f3b92de6b3 100644
--- a/src/gallium/drivers/radeon/SIInstructions.td
+++ b/src/gallium/drivers/radeon/SIInstructions.td
@@ -704,7 +704,10 @@ defm V_MUL_LEGACY_F32 : VOP2_32 <
0x00000007, "V_MUL_LEGACY_F32",
[(set VReg_32:$dst, (int_AMDGPU_mul AllReg_32:$src0, VReg_32:$src1))]
>;
-defm V_MUL_F32 : VOP2_32 <0x00000008, "V_MUL_F32", []>;
+
+defm V_MUL_F32 : VOP2_32 <0x00000008, "V_MUL_F32",
+ [(set VReg_32:$dst, (fmul AllReg_32:$src0, VReg_32:$src1))]
+>;
//defm V_MUL_I32_I24 : VOP2_32 <0x00000009, "V_MUL_I32_I24", []>;
//defm V_MUL_HI_I32_I24 : VOP2_32 <0x0000000a, "V_MUL_HI_I32_I24", []>;
//defm V_MUL_U32_U24 : VOP2_32 <0x0000000b, "V_MUL_U32_U24", []>;