[PATCH] D11810: AMDGPU/SI: v_mac_legacy_f32 does not exist on VI

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 08:35:18 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL244322: AMDGPU/SI: v_mac_legacy_f32 does not exist on VI (authored by tstellar).

Changed prior to commit:
  http://reviews.llvm.org/D11810?vs=31460&id=31516#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11810

Files:
  llvm/trunk/lib/Target/AMDGPU/SIInstructions.td

Index: llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
+++ llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
@@ -1548,6 +1548,12 @@
 // These instructions only exist on SI and CI
 let SubtargetPredicate = isSICI in {
 
+let isCommutable = 1 in {
+defm V_MAC_LEGACY_F32 : VOP2InstSI <vop2<0x6>, "v_mac_legacy_f32",
+  VOP_F32_F32_F32
+>;
+} // End isCommutable = 1
+
 defm V_MIN_LEGACY_F32 : VOP2InstSI <vop2<0xd>, "v_min_legacy_f32",
   VOP_F32_F32_F32, AMDGPUfmin_legacy
 >;
@@ -1562,12 +1568,6 @@
 } // End isCommutable = 1
 } // End let SubtargetPredicate = SICI
 
-let isCommutable = 1 in {
-defm V_MAC_LEGACY_F32 : VOP2_VI3_Inst <vop23<0x6, 0x28e>, "v_mac_legacy_f32",
-  VOP_F32_F32_F32
->;
-} // End isCommutable = 1
-
 defm V_BFM_B32 : VOP2_VI3_Inst <vop23<0x1e, 0x293>, "v_bfm_b32",
   VOP_I32_I32_I32
 >;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11810.31516.patch
Type: text/x-patch
Size: 930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150807/8d46c424/attachment.bin>


More information about the llvm-commits mailing list