diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-09-11 15:21:09 -0400 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-09-14 16:00:08 +0000 |
commit | 818196e07a7fa9f5962151c7bce4579d7a02a055 (patch) | |
tree | cc3a4945fe534715ed577b0ff134e1e569671006 | |
parent | 8a59280ac12b359575c6d7937a7b072468844c1e (diff) |
R600: Support fmul on SI
-rw-r--r-- | lib/Target/AMDGPU/SIInstructions.td | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/AMDGPU/SIInstructions.td b/lib/Target/AMDGPU/SIInstructions.td index 7250b88f292..1e166a23ece 100644 --- a/lib/Target/AMDGPU/SIInstructions.td +++ b/lib/Target/AMDGPU/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", []>; |