[llvm] [AMDGPU][MC] Add dpp for V_PK_FMAC_F16 for GFX10 (PR #79598)

Joe Nash via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 09:12:55 PST 2024


================
@@ -13185,3 +13185,9 @@ v_pk_fmac_f16 v5, -4.0, v2
 
 v_pk_fmac_f16 v5, v1, v255
 // GFX10: encoding: [0x01,0xff,0x0b,0x78]
+
+v_pk_fmac_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3]
+// GFX10: encoding: [0xfa,0x04,0x0a,0x78,0x01,0xe4,0x00,0xff]
+
+v_pk_fmac_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3
----------------
Sisyph wrote:

Please add gfx10 error tests that DPP16 NEG and ABS modifiers are not supported by this instruction

https://github.com/llvm/llvm-project/pull/79598


More information about the llvm-commits mailing list