[llvm] [AMDGPU][NFC] Templatise and roundtrip gfx13_asm_vop3_dpp16.s (PR #204849)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 19 08:58:09 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Ivan Kosarev (kosarev)
<details>
<summary>Changes</summary>
Again, this is based on the templatised version of gfx12_asm_vop3_dpp16.s with the GFX13-specific changes re-applied on top of it.
gfx13_dasm_vop3_dpp16.txt was never upstreamed, so no changes for the disassembler side.
---
Patch is 1.52 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/204849.diff
1 Files Affected:
- (modified) llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s (+13347-3666)
``````````diff
diff --git a/llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s b/llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
index ae3200fb6e400..a4de0afa70f74 100644
--- a/llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
+++ b/llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
@@ -1,67 +1,753 @@
-// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 6
+// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --version 5
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | FileCheck --check-prefixes=GFX13,W32 %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | %extract-encodings | llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize32,+real-true16 -disassemble -show-encoding | FileCheck --check-prefixes=GFX13,W32 %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize64,+real-true16 -show-encoding %s | FileCheck --check-prefixes=GFX13,W64,W64-ASM %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize64,+real-true16 -show-encoding %s | %extract-encodings | llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize64,+real-true16 -disassemble -show-encoding | FileCheck --check-prefixes=GFX13,W64,W64-DIS %s
+// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize64,+real-true16 -show-encoding %s | FileCheck --check-prefixes=GFX13,W64 %s
+// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | %extract-encodings | llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize32,+real-true16 -disassemble -show-encoding | FileCheck --strict-whitespace --check-prefixes=GFX13,W32 %s
+// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize64,+real-true16 -show-encoding %s | %extract-encodings | llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize64,+real-true16 -disassemble -show-encoding | FileCheck --strict-whitespace --check-prefixes=GFX13,W64 %s
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize32,+real-true16 -filetype=null %s 2>&1 | FileCheck --check-prefixes=W32-ERR --implicit-check-not=error: %s
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1310 -mattr=+wavefrontsize64,+real-true16 -filetype=null %s 2>&1 | FileCheck --check-prefixes=W64-ERR --implicit-check-not=error: %s
+// INSTS=
+// v_add3_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_add_co_u32_e64_dpp <OPS-32-M64-32-32>
+// v_add_lshl_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_add_nc_i16_e64_dpp <OPS-16-16-16>
+// v_add_nc_i32_e64_dpp <OPS-32-32-32-XMOD-XMULDIV>
+// v_add_nc_u16_e64_dpp <OPS-16-16-16>
+// v_alignbit_b32_e64_dpp <OPS-32-32-32-16>
+// v_alignbyte_b32_e64_dpp <OPS-32-32-32-16>
+// v_and_b16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_and_or_b32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_ashr_pk_i8_i32 <OPS-16-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_ashrrev_i16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_bcnt_u32_b32_e64_dpp <OPS-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_bfe_i32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_bfe_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_bfi_b32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_bfm_b32_e64_dpp <OPS-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_bitop3_b16_e64_dpp <OPS-16-16-16-16-BITOP3-XMOD-XMULDIV-XCLAMP>
+// v_bitop3_b32_e64_dpp <OPS-32-32-32-32-BITOP3-XMOD-XMULDIV-XCLAMP>
+// v_cndmask_b16_e64_dpp <OPS-16-16-16-M64>
+// v_cubeid_f32_e64_dpp <OPS-32-32-32-32>
+// v_cubema_f32_e64_dpp <OPS-32-32-32-32>
+// v_cubesc_f32_e64_dpp <OPS-32-32-32-32>
+// v_cubetc_f32_e64_dpp <OPS-32-32-32-32>
+// v_cvt_pk_bf16_f32_e64_dpp <OPS-32-32-32>
+// v_cvt_pk_bf8_f32_e64_dpp <OPS-16-32-32>
+// v_cvt_pk_f16_f32_e64_dpp <OPS-32-32-32>
+// v_cvt_pk_fp8_f32_e64_dpp <OPS-16-32-32>
+// v_cvt_pk_i16_f32_e64_dpp <OPS-32-32-32-XMULDIV-XCLAMP>
+// v_cvt_pk_i16_i32_e64_dpp <OPS-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_cvt_pk_norm_i16_f16_e64_dpp <OPS-32-16-16>
+// v_cvt_pk_norm_i16_f32_e64_dpp <OPS-32-32-32-XMULDIV-XCLAMP>
+// v_cvt_pk_norm_u16_f16_e64_dpp <OPS-32-16-16>
+// v_cvt_pk_norm_u16_f32_e64_dpp <OPS-32-32-32-XMULDIV-XCLAMP>
+// v_cvt_pk_u16_f32_e64_dpp <OPS-32-32-32-XMULDIV-XCLAMP>
+// v_cvt_pk_u16_u32_e64_dpp <OPS-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_cvt_pk_u8_f32_e64_dpp <OPS-32-32-32-32-XMULDIV-XCLAMP>
+// v_cvt_sr_bf8_f16_e64_dpp <OPS-32-16-32-XABS-XNEG-BYTESEL-XMULDIV-XCLAMP>
+// v_cvt_sr_fp8_f16_e64_dpp <OPS-32-16-32-XABS-XNEG-BYTESEL-XMULDIV-XCLAMP>
+// v_cvt_sr_bf8_f32_e64_dpp <OPS-32-32-32-XABS-XNEG-BYTESEL-XMULDIV-XCLAMP>
+// v_cvt_sr_fp8_f32_e64_dpp <OPS-32-32-32-XABS-XNEG-BYTESEL-XMULDIV-XCLAMP>
+// v_cvt_sr_pk_bf16_f32_e64_dpp <OPS-32-32-32-32-XABS-XNEG>
+// v_cvt_sr_pk_f16_f32_e64_dpp <OPS-32-32-32-32-XABS-XNEG>
+// v_div_fixup_f16_e64_dpp <OPS-16-16-16-16-XMULDIV>
+// v_fma_f16_e64_dpp <OPS-16-16-16-16-XMULDIV>
+// v_fma_f32_e64_dpp <OPS-32-32-32-32>
+// v_ldexp_f32_e64_dpp <OPS-32-32-32>
+// v_lerp_u8_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_lshl_add_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_lshl_or_b32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_lshlrev_b16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_lshrrev_b16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_mad_i16_e64_dpp <OPS-16-16-16-16-XMOD-XMULDIV>
+// v_mad_i32_i16_e64_dpp <OPS-32-16-16-32>
+// v_mad_i32_i24_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV>
+// v_mad_u16_e64_dpp <OPS-16-16-16-16-XMOD-XMULDIV>
+// v_mad_u32_u16_e64_dpp <OPS-32-16-16-32>
+// v_mad_u32_u24_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV>
+// v_max3_num_f16_e64_dpp <OPS-16-16-16-16>
+// v_max3_num_f32_e64_dpp <OPS-32-32-32-32>
+// v_max3_i16_e64_dpp <OPS-16-16-16-16-XMOD-XMULDIV-XCLAMP>
+// v_max3_i32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_max3_u16_e64_dpp <OPS-16-16-16-16-XMOD-XMULDIV-XCLAMP>
+// v_max3_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_max_i16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_max_u16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_maxmin_num_f16_e64_dpp <OPS-16-16-16-16>
+// v_maxmin_num_f32_e64_dpp <OPS-32-32-32-32>
+// v_maxmin_i32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_maxmin_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_maximum_f16 <OPS-16-16-16>
+// v_maximum_f32 <OPS-32-32-32>
+// v_maximum3_f16 <OPS-16-16-16-16>
+// v_maximum3_f32 <OPS-32-32-32-32>
+// v_maximumminimum_f16 <OPS-16-16-16-16>
+// v_maximumminimum_f32 <OPS-32-32-32-32>
+// v_mbcnt_hi_u32_b32_e64_dpp <OPS-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_mbcnt_lo_u32_b32_e64_dpp <OPS-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_med3_num_f16_e64_dpp <OPS-16-16-16-16>
+// v_med3_num_f32_e64_dpp <OPS-32-32-32-32>
+// v_med3_i16_e64_dpp <OPS-16-16-16-16-XMOD-XMULDIV-XCLAMP>
+// v_med3_i32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_med3_u16_e64_dpp <OPS-16-16-16-16-XMOD-XMULDIV-XCLAMP>
+// v_med3_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_min3_num_f16_e64_dpp <OPS-16-16-16-16>
+// v_min3_num_f32_e64_dpp <OPS-32-32-32-32>
+// v_min3_i16_e64_dpp <OPS-16-16-16-16-XMOD-XMULDIV-XCLAMP>
+// v_min3_i32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_min3_u16_e64_dpp <OPS-16-16-16-16-XMOD-XMULDIV>
+// v_min3_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_min_i16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_min_u16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_minmax_num_f16_e64_dpp <OPS-16-16-16-16>
+// v_minmax_num_f32_e64_dpp <OPS-32-32-32-32>
+// v_minmax_i32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_minmax_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_minimum_f16 <OPS-16-16-16>
+// v_minimum_f32 <OPS-32-32-32>
+// v_minimum3_f16 <OPS-16-16-16-16>
+// v_minimum3_f32 <OPS-32-32-32-32>
+// v_minimummaximum_f16 <OPS-16-16-16-16>
+// v_minimummaximum_f32 <OPS-32-32-32-32>
+// v_msad_u8_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV>
+// v_mul_lo_u16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_mullit_f32_e64_dpp <OPS-32-32-32-32>
+// v_or3_b32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_or_b16_e64_dpp <OPS-16-16-16-XCLAMP>
+// v_pack_b32_f16_e64_dpp <OPS-32-16-16>
+// v_perm_b32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_sad_hi_u8_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV>
+// v_sad_u16_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV>
+// v_sad_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV>
+// v_sad_u8_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV>
+// v_sub_co_u32_e64_dpp <OPS-32-M64-32-32>
+// v_sub_nc_i16_e64_dpp <OPS-16-16-16>
+// v_sub_nc_i32_e64_dpp <OPS-32-32-32-XMOD-XMULDIV>
+// v_sub_nc_u16_e64_dpp <OPS-16-16-16>
+// v_subrev_co_u32_e64_dpp <OPS-32-M64-32-32>
+// v_xad_u32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_xor3_b32_e64_dpp <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v_xor_b16_e64_dpp <OPS-16-16-16-XCLAMP>
+//
+// <SREG-M64>=
+// s6
+// s105
+// s[12:13]
+// s[104:105]
+// vcc_lo
+// vcc_hi
+// vcc
+// ttmp15
+// ttmp[14:15]
+// null
+//
+// <SRC16-XMOD>=
+// -1
+// 0.5
+// exec_hi
+// exec_lo
+// m0
+// null
+// s105
+// s3
+// src_scc
+// ttmp15
+// v255.h
+// v255.l
+// v3.h
+// v3.l
+// vcc_hi
+// vcc_lo
+//
+// <SRC16-XIMM>=
+// -v7.l
+// |v7.l|
+// -|v7.l|
+//
+// <SRC16>=
+// <SRC16-XMOD>
+// -|0.5|
+//
+// <SRC32-XMOD>=
+// -1
+// 0.5
+// exec_hi
+// exec_lo
+// m0
+// null
+// s105
+// s3
+// src_scc
+// ttmp15
+// v255
+// v3
+// vcc_hi
+// vcc_lo
+//
+// <SRC32-XIMM>=
+// -v7
+// |v7|
+// -|v7|
+//
+// <SRC32>=
+// <SRC32-XMOD>
+// -|0.5|
+//
+// <BOUND-CTRL>=
+// bound_ctrl:0
+// bound_ctrl:1
+//
+// <DPP>=
+// quad_perm:[0,1,2,3]
+// quad_perm:[3,2,1,0]
+// row_half_mirror
+// row_mirror
+// row_ror:1
+// row_ror:15
+// row_share:0
+// row_share:15
+// row_shl:1
+// row_shl:15
+// row_shr:1
+// row_shr:15
+// row_xmask:0
+// row_xmask:15
+//
+// <FI>=
+// fi:0
+// fi:1
+//
+// <MULDIV>=
+// div:2
+// mul:2
+// mul:4
+//
+// <ROWBANK>=
+// row_mask:0x0 bank_mask:0x1
+// row_mask:0x3 bank_mask:0x0
+// row_mask:0xf bank_mask:0xf
+//
+// <BYTESEL>=
+// byte_sel:0
+// byte_sel:1
+// byte_sel:2
+// byte_sel:3
+//
+// <BITOP3>=
+// bitop3:0
+// bitop3:0xa1
+//
+// <OPS-16-16-16-XCLAMP>=
+// v5.l, v1.l, v2.l quad_perm:[3,2,1,0]
+// v255.l, v255.l, v255.l quad_perm:[3,2,1,0]
+// v5.l, v1.h, v2.l op_sel:[1,0,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.h op_sel:[0,1,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5.l, v1.l, v2.l <DPP>
+// v5.l, v1.l, v2.l quad_perm:[3,2,1,0] <FI>
+// v5.l, v1.l, v2.l quad_perm:[3,2,1,0] <ROWBANK>
+//
+// <OPS-16-16-16>=
+// <OPS-16-16-16-XCLAMP>
+// v5.l, v1.l, v2.l clamp quad_perm:[3,2,1,0]
+//
+// <OPS-16-16-16-16>=
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0]
+// v255.l, v255.l, v255.l, v255.l quad_perm:[3,2,1,0]
+// v5.l, <SRC16-XIMM>, v2.l, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, <SRC16-XIMM>, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, 2.0, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, s2, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, <SRC16> quad_perm:[3,2,1,0]
+// v5.l, v1.h, v2.l, v3.l op_sel:[1,0,0,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.h, v3.l op_sel:[0,1,0,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, v3.h op_sel:[0,0,1,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5.l, v1.l, v2.l, v3.l <DPP>
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <FI>
+// v5.l, v1.l, v2.l, v3.l <MULDIV> quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <ROWBANK>
+// v5.l, v1.l, v2.l, v3.l clamp quad_perm:[3,2,1,0]
+//
+// <OPS-16-16-16-16-XMOD-XMULDIV-XCLAMP>=
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0]
+// v255.l, v255.l, v255.l, v255.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, 10, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, s2, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, <SRC16-XMOD> quad_perm:[3,2,1,0]
+// v5.l, v1.h, v2.l, v3.l op_sel:[1,0,0,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.h, v3.l op_sel:[0,1,0,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, v3.h op_sel:[0,0,1,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5.l, v1.l, v2.l, v3.l <DPP>
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <FI>
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <ROWBANK>
+//
+// <OPS-16-16-16-16-XMOD-XMULDIV>=
+// <OPS-16-16-16-16-XMOD-XMULDIV-XCLAMP>
+// v5.l, v1.l, v2.l, v3.l clamp quad_perm:[3,2,1,0]
+//
+// <OPS-16-16-16-16-BITOP3-XMOD-XMULDIV-XCLAMP>=
+// <OPS-16-16-16-16-XMOD-XMULDIV-XCLAMP>
+// v5.l, v1.l, v2.l, v3.l <BITOP3> quad_perm:[3,2,1,0]
+//
+// <OPS-16-16-16-16-XMULDIV>=
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0]
+// v255.l, v255.l, v255.l, v255.l quad_perm:[3,2,1,0]
+// v5.l, <SRC16-XIMM>, v2.l, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, <SRC16-XIMM>, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, 2.0, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, s2, v3.l quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, <SRC16> quad_perm:[3,2,1,0]
+// v5.l, v1.h, v2.l, v3.l op_sel:[1,0,0,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.h, v3.l op_sel:[0,1,0,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, v3.h op_sel:[0,0,1,0] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5.l, v1.l, v2.l, v3.l <DPP>
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <FI>
+// v5.l, v1.l, v2.l, v3.l quad_perm:[3,2,1,0] <ROWBANK>
+// v5.l, v1.l, v2.l, v3.l clamp quad_perm:[3,2,1,0]
+//
+// <OPS-16-16-16-M64>=
+// v5.l, v1.l, v2.l, s3 quad_perm:[3,2,1,0]
+// v255.l, v255.l, v255.l, null quad_perm:[3,2,1,0]
+// v5.l, <SRC16-XIMM>, v2.l, s3 quad_perm:[3,2,1,0]
+// v5.l, v1.l, <SRC16-XIMM>, s3 quad_perm:[3,2,1,0]
+// v5.l, v1.l, 10, s3 quad_perm:[3,2,1,0]
+// v5.l, v1.l, 10, s[6:7] quad_perm:[3,2,1,0]
+// v5.l, v1.l, s2, s3 quad_perm:[3,2,1,0]
+// v5.l, v1.l, s2, s[6:7] quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, <SREG-M64> quad_perm:[3,2,1,0]
+// v5.l, v1.l, v2.l, s3 quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5.l, v1.l, v2.l, s3 <DPP>
+// v5.l, v1.l, v2.l, s3 quad_perm:[3,2,1,0] <FI>
+// v5.l, v1.l, v2.l, s3 quad_perm:[3,2,1,0] <ROWBANK>
+//
+// <OPS-16-32-32>=
+// v0.l, v1, v2 quad_perm:[0,1,2,3]
+// v255.l, v255, v255 quad_perm:[0,1,2,3]
+// v0.l, -v1, |v2| quad_perm:[0,1,2,3]
+// v0.l, v1, v2 quad_perm:[0,1,2,3] <FI>
+// v0.l, v1, v2 quad_perm:[0,1,2,3] <ROWBANK>
+//
+// <OPS-16-32-32-32-XMOD-XMULDIV-XCLAMP>=
+// v0.l, v1, v2, v3 quad_perm:[0,1,2,3]
+// v255.l, v255, v255, v255 quad_perm:[0,1,2,3]
+// v0.l, v1, v2, v3 quad_perm:[0,1,2,3]
+// v0.l, v1, v2, v3 quad_perm:[0,1,2,3]
+// v0.l, v1, v2, <SRC32-XMOD> quad_perm:[0,1,2,3]
+// v0.h, v1, v2, v3 op_sel:[0,0,0,1] quad_perm:[0,1,2,3]
+// v0.l, v1, v2, v3 quad_perm:[0,1,2,3] <BOUND-CTRL>
+// v0.l, v1, v2, v3 <DPP>
+// v0.l, v1, v2, v3 quad_perm:[0,1,2,3] <FI>
+// v0.l, v1, v2, v3 quad_perm:[0,1,2,3] <ROWBANK>
+//
+// <OPS-32-16-16>=
+// v5, v1.l, v2.l quad_perm:[3,2,1,0]
+// v255, v255.l, v255.l quad_perm:[3,2,1,0]
+// v5, <SRC16-XIMM>, v2.l quad_perm:[3,2,1,0]
+// v5, v1.l, <SRC16-XIMM> quad_perm:[3,2,1,0]
+// v5, v1.h, v2.l op_sel:[1,0,0] quad_perm:[3,2,1,0]
+// v5, v1.l, v2.h op_sel:[0,1,0] quad_perm:[3,2,1,0]
+// v5, v1.l, v2.l quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5, v1.l, v2.l <DPP>
+// v5, v1.l, v2.l quad_perm:[3,2,1,0] <FI>
+// v5, v1.l, v2.l quad_perm:[3,2,1,0] <ROWBANK>
+// v5, v1.l, v2.l clamp quad_perm:[3,2,1,0]
+//
+// <OPS-32-16-16-32>=
+// v5, v1.l, v2.l, v3 quad_perm:[3,2,1,0]
+// v255, v255.l, v255.l, v255 quad_perm:[3,2,1,0]
+// v5, v1.l, 10, v3 quad_perm:[3,2,1,0]
+// v5, v1.l, s2, v3 quad_perm:[3,2,1,0]
+// v5, v1.l, v2.l, <SRC32-XMOD> quad_perm:[3,2,1,0]
+// v5, v1.h, v2.l, v3 op_sel:[1,0,0,0] quad_perm:[3,2,1,0]
+// v5, v1.l, v2.h, v3 op_sel:[0,1,0,0] quad_perm:[3,2,1,0]
+// v5, v1.l, v2.l, v3 quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5, v1.l, v2.l, v3 <DPP>
+// v5, v1.l, v2.l, v3 quad_perm:[3,2,1,0] <FI>
+// v5, v1.l, v2.l, v3 quad_perm:[3,2,1,0] <ROWBANK>
+// v5, v1.l, v2.l, v3 clamp quad_perm:[3,2,1,0]
+//
+// <OPS-32-32-32>=
+// v5, v1, v2 quad_perm:[3,2,1,0]
+// v255, v255, v255 quad_perm:[3,2,1,0]
+// v5, <SRC32-XIMM>, v2 quad_perm:[3,2,1,0]
+// v5, v1, v2 quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5, v1, v2 <DPP>
+// v5, v1, v2 quad_perm:[3,2,1,0] <FI>
+// v5, v1, v2 <MULDIV> quad_perm:[3,2,1,0]
+// v5, v1, v2 quad_perm:[3,2,1,0] <ROWBANK>
+// v5, v1, v2 clamp quad_perm:[3,2,1,0]
+//
+// <OPS-32-32-32-16>=
+// v5, v1, v2, v3.l quad_perm:[3,2,1,0]
+// v255, v255, v255, v255.l quad_perm:[3,2,1,0]
+// v5, v1, v2, <SRC16-XMOD> quad_perm:[3,2,1,0]
+// v5, v1, 10, v3.l quad_perm:[3,2,1,0]
+// v5, v1, s2, v3.l quad_perm:[3,2,1,0]
+// v5, v1, v2, v3.h op_sel:[0,0,1,0] quad_perm:[3,2,1,0]
+// v5, v1, v2, v3.l quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5, v1, v2, v3.l <DPP>
+// v5, v1, v2, v3.l quad_perm:[3,2,1,0] <FI>
+// v5, v1, v2, v3.l quad_perm:[3,2,1,0] <ROWBANK>
+// v5, v1, v2, v3.l clamp quad_perm:[3,2,1,0]
+//
+// <OPS-32-32-32-32>=
+// v5, v1, v2, v3 quad_perm:[3,2,1,0]
+// v255, v255, v255, v255 quad_perm:[3,2,1,0]
+// v5, <SRC32-XIMM>, v2, v3 quad_perm:[3,2,1,0]
+// v5, v1, <SRC32-XIMM>, v3 quad_perm:[3,2,1,0]
+// v5, v1, 2.0, v3 quad_perm:[3,2,1,0]
+// v5, v1, s2, v3 quad_perm:[3,2,1,0]
+// v5, v1, v2, <SRC32> quad_perm:[3,2,1,0]
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5, v1, v2, v3 <DPP>
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <FI>
+// v5, v1, v2, v3 <MULDIV> quad_perm:[3,2,1,0]
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <ROWBANK>
+// v5, v1, v2, v3 clamp quad_perm:[3,2,1,0]
+//
+// <OPS-32-32-32-32-XABS-XNEG>=
+// v5, v1, v2, v3 quad_perm:[3,2,1,0]
+// v255, v255, v255, v255 quad_perm:[3,2,1,0]
+// v5, <SRC32-XIMM>, v2, v3 quad_perm:[3,2,1,0]
+// v5, v1, <SRC32-XIMM>, v3 quad_perm:[3,2,1,0]
+// v5, v1, 2.0, v3 quad_perm:[3,2,1,0]
+// v5, v1, s2, v3 quad_perm:[3,2,1,0]
+// v5, v1, v2, <SRC32-XMOD> quad_perm:[3,2,1,0]
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5, v1, v2, v3 <DPP>
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <FI>
+// v5, v1, v2, v3 <MULDIV> quad_perm:[3,2,1,0]
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <ROWBANK>
+// v5, v1, v2, v3 clamp quad_perm:[3,2,1,0]
+//
+// <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>=
+// v5, v1, v2, v3 quad_perm:[3,2,1,0]
+// v255, v255, v255, v255 quad_perm:[3,2,1,0]
+// v5, v1, <SRC32-XMOD>, v3 quad_perm:[3,2,1,0]
+// v5, v1, 10, v3 quad_perm:[3,2,1,0]
+// v5, v1, s2, v3 quad_perm:[3,2,1,0]
+// v5, v1, v2, <SRC32-XMOD> quad_perm:[3,2,1,0]
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <BOUND-CTRL>
+// v5, v1, v2, v3 <DPP>
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <FI>
+// v5, v1, v2, v3 quad_perm:[3,2,1,0] <ROWBANK>
+//
+// <OPS-32-32-32-32-XMOD-XMULDIV>=
+// <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v5, v1, v2, v3 clamp quad_perm:[3,2,1,0]
+//
+// <OPS-32-32-32-32-BITOP3-XMOD-XMULDIV-XCLAMP>=
+// <OPS-32-32-32-32-XMOD-XMULDIV-XCLAMP>
+// v5, v1, v...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/204849
More information about the llvm-commits
mailing list