radeon/llvm: Support fmul on SI
authorTom Stellard <thomas.stellard@amd.com>
Tue, 11 Sep 2012 19:21:09 +0000 (15:21 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 13 Sep 2012 14:38:02 +0000 (10:38 -0400)
src/gallium/drivers/radeon/SIInstructions.td

index ffc9537ea709b1f08605baf2341a1f236cf6a901..1f3b92de6b301b89fbd4a9ec0667560c33e4ac52 100644 (file)
@@ -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", []>;