From 70a50685a8f7934e23978ac34dcefcfab46c69de Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 11 Sep 2012 15:21:09 -0400 Subject: [PATCH] radeon/llvm: Support fmul on SI --- src/gallium/drivers/radeon/SIInstructions.td | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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", []>; -- 2.30.2