Mesa (master): radeon/llvm: Support fmul on SI

Tom Stellard tstellar at kemper.freedesktop.org
Thu Sep 13 18:14:40 UTC 2012


Module: Mesa
Branch: master
Commit: 70a50685a8f7934e23978ac34dcefcfab46c69de
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70a50685a8f7934e23978ac34dcefcfab46c69de

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue Sep 11 15:21:09 2012 -0400

radeon/llvm: Support fmul on SI

---

 src/gallium/drivers/radeon/SIInstructions.td |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td
index ffc9537..1f3b92d 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", []>;




More information about the mesa-commit mailing list