Skip to content

Conversation

@rampitec
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

rampitec commented Jul 10, 2025

@rampitec rampitec requested review from Sisyph, arsenm and searlmc1 July 10, 2025 08:25
@rampitec rampitec marked this pull request as ready for review July 10, 2025 08:25
@llvmbot llvmbot added backend:AMDGPU llvm:mc Machine (object) code labels Jul 10, 2025
@llvmbot
Copy link
Member

llvmbot commented Jul 10, 2025

@llvm/pr-subscribers-mc

@llvm/pr-subscribers-backend-amdgpu

Author: Stanislav Mekhanoshin (rampitec)

Changes

Patch is 2.82 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/147918.diff

2 Files Affected:

  • (modified) llvm/test/MC/AMDGPU/gfx1250_asm_vopd.s (+4069-4068)
  • (modified) llvm/test/MC/AMDGPU/gfx1250_asm_vopd3.s (+4765-4764)
diff --git a/llvm/test/MC/AMDGPU/gfx1250_asm_vopd.s b/llvm/test/MC/AMDGPU/gfx1250_asm_vopd.s
index c4db1b9df3b42..9c4c57602ecd3 100644
--- a/llvm/test/MC/AMDGPU/gfx1250_asm_vopd.s
+++ b/llvm/test/MC/AMDGPU/gfx1250_asm_vopd.s
@@ -1,16275 +1,16276 @@
+// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
 // RUN: llvm-mc -triple=amdgcn -mcpu=gfx1250 -show-encoding %s | FileCheck --check-prefixes=GFX12 %s
 // RUN: llvm-mc -triple=amdgcn -mcpu=gfx1250 -show-encoding %s | FileCheck --check-prefixes=GFX12 %s
 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1250 -mattr=-wavefrontsize32,+wavefrontsize64 -show-encoding %s 2>&1 | FileCheck --check-prefixes=W64-ERR --implicit-check-not=error: %s
 
 v_dual_add_f32 v255, v4, v2 :: v_dual_add_f32 v6, v1, v3
 // GFX12: v_dual_add_f32 v255, v4, v2 :: v_dual_add_f32 v6, v1, v3 ; encoding: [0x04,0x05,0x08,0xc9,0x01,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v1, v2 :: v_dual_add_f32 v6, v255, v3
 // GFX12: v_dual_add_f32 v255, v1, v2 :: v_dual_add_f32 v6, v255, v3 ; encoding: [0x01,0x05,0x08,0xc9,0xff,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v255, v2 :: v_dual_add_f32 v6, v2, v3
 // GFX12: v_dual_add_f32 v255, v255, v2 :: v_dual_add_f32 v6, v2, v3 ; encoding: [0xff,0x05,0x08,0xc9,0x02,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v2, v2 :: v_dual_add_f32 v6, v3, v3
 // GFX12: v_dual_add_f32 v255, v2, v2 :: v_dual_add_f32 v6, v3, v3 ; encoding: [0x02,0x05,0x08,0xc9,0x03,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v3, v2 :: v_dual_add_f32 v6, v4, v3
 // GFX12: v_dual_add_f32 v255, v3, v2 :: v_dual_add_f32 v6, v4, v3 ; encoding: [0x03,0x05,0x08,0xc9,0x04,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, s105, v2 :: v_dual_add_f32 v6, s1, v3
 // GFX12: v_dual_add_f32 v255, s105, v2 :: v_dual_add_f32 v6, s1, v3 ; encoding: [0x69,0x04,0x08,0xc9,0x01,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, s1, v2 :: v_dual_add_f32 v6, s105, v3
 // GFX12: v_dual_add_f32 v255, s1, v2 :: v_dual_add_f32 v6, s105, v3 ; encoding: [0x01,0x04,0x08,0xc9,0x69,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, ttmp15, v2 :: v_dual_add_f32 v6, vcc_lo, v3
 // GFX12: v_dual_add_f32 v255, ttmp15, v2 :: v_dual_add_f32 v6, vcc_lo, v3 ; encoding: [0x7b,0x04,0x08,0xc9,0x6a,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, exec_hi, v2 :: v_dual_add_f32 v6, vcc_hi, v3
 // GFX12: v_dual_add_f32 v255, exec_hi, v2 :: v_dual_add_f32 v6, vcc_hi, v3 ; encoding: [0x7f,0x04,0x08,0xc9,0x6b,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, exec_lo, v2 :: v_dual_add_f32 v6, ttmp15, v3
 // GFX12: v_dual_add_f32 v255, exec_lo, v2 :: v_dual_add_f32 v6, ttmp15, v3 ; encoding: [0x7e,0x04,0x08,0xc9,0x7b,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, m0, v2 :: v_dual_add_f32 v6, m0, v3
 // GFX12: v_dual_add_f32 v255, m0, v2 :: v_dual_add_f32 v6, m0, v3 ; encoding: [0x7d,0x04,0x08,0xc9,0x7d,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, vcc_hi, v2 :: v_dual_add_f32 v6, exec_lo, v3
 // GFX12: v_dual_add_f32 v255, vcc_hi, v2 :: v_dual_add_f32 v6, exec_lo, v3 ; encoding: [0x6b,0x04,0x08,0xc9,0x7e,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, vcc_lo, v2 :: v_dual_add_f32 v6, exec_hi, v3
 // GFX12: v_dual_add_f32 v255, vcc_lo, v2 :: v_dual_add_f32 v6, exec_hi, v3 ; encoding: [0x6a,0x04,0x08,0xc9,0x7f,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, 0xaf123456, v2 :: v_dual_add_f32 v6, null, v3
 // GFX12: v_dual_add_f32 v255, 0xaf123456, v2 :: v_dual_add_f32 v6, null, v3 ; encoding: [0xff,0x04,0x08,0xc9,0x7c,0x06,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, src_scc, v2 :: v_dual_add_f32 v6, -1, v3
 // GFX12: v_dual_add_f32 v255, src_scc, v2 :: v_dual_add_f32 v6, -1, v3 ; encoding: [0xfd,0x04,0x08,0xc9,0xc1,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, 0.5, v3 :: v_dual_add_f32 v6, 0.5, v2
 // GFX12: v_dual_add_f32 v255, 0.5, v3 :: v_dual_add_f32 v6, 0.5, v2 ; encoding: [0xf0,0x06,0x08,0xc9,0xf0,0x04,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, -1, v4 :: v_dual_add_f32 v6, src_scc, v5
 // GFX12: v_dual_add_f32 v255, -1, v4 :: v_dual_add_f32 v6, src_scc, v5 ; encoding: [0xc1,0x08,0x08,0xc9,0xfd,0x0a,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v6, null, v5 :: v_dual_add_f32 v255, 0xaf123456, v4
 // GFX12: v_dual_add_f32 v6, null, v5 :: v_dual_add_f32 v255, 0xaf123456, v4 ; encoding: [0x7c,0x0a,0x08,0xc9,0xff,0x08,0xfe,0x06,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v4, v2 :: v_dual_add_nc_u32 v6, v1, v3
 // GFX12: v_dual_add_f32 v255, v4, v2 :: v_dual_add_nc_u32 v6, v1, v3 ; encoding: [0x04,0x05,0x20,0xc9,0x01,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v1, v2 :: v_dual_add_nc_u32 v6, v255, v3
 // GFX12: v_dual_add_f32 v255, v1, v2 :: v_dual_add_nc_u32 v6, v255, v3 ; encoding: [0x01,0x05,0x20,0xc9,0xff,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v255, v2 :: v_dual_add_nc_u32 v6, v2, v3
 // GFX12: v_dual_add_f32 v255, v255, v2 :: v_dual_add_nc_u32 v6, v2, v3 ; encoding: [0xff,0x05,0x20,0xc9,0x02,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v2, v2 :: v_dual_add_nc_u32 v6, v3, v3
 // GFX12: v_dual_add_f32 v255, v2, v2 :: v_dual_add_nc_u32 v6, v3, v3 ; encoding: [0x02,0x05,0x20,0xc9,0x03,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v3, v2 :: v_dual_add_nc_u32 v6, v4, v3
 // GFX12: v_dual_add_f32 v255, v3, v2 :: v_dual_add_nc_u32 v6, v4, v3 ; encoding: [0x03,0x05,0x20,0xc9,0x04,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, s105, v2 :: v_dual_add_nc_u32 v6, s1, v3
 // GFX12: v_dual_add_f32 v255, s105, v2 :: v_dual_add_nc_u32 v6, s1, v3 ; encoding: [0x69,0x04,0x20,0xc9,0x01,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, s1, v2 :: v_dual_add_nc_u32 v6, s105, v3
 // GFX12: v_dual_add_f32 v255, s1, v2 :: v_dual_add_nc_u32 v6, s105, v3 ; encoding: [0x01,0x04,0x20,0xc9,0x69,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, ttmp15, v2 :: v_dual_add_nc_u32 v6, vcc_lo, v3
 // GFX12: v_dual_add_f32 v255, ttmp15, v2 :: v_dual_add_nc_u32 v6, vcc_lo, v3 ; encoding: [0x7b,0x04,0x20,0xc9,0x6a,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, exec_hi, v2 :: v_dual_add_nc_u32 v6, vcc_hi, v3
 // GFX12: v_dual_add_f32 v255, exec_hi, v2 :: v_dual_add_nc_u32 v6, vcc_hi, v3 ; encoding: [0x7f,0x04,0x20,0xc9,0x6b,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, exec_lo, v2 :: v_dual_add_nc_u32 v6, ttmp15, v3
 // GFX12: v_dual_add_f32 v255, exec_lo, v2 :: v_dual_add_nc_u32 v6, ttmp15, v3 ; encoding: [0x7e,0x04,0x20,0xc9,0x7b,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, m0, v2 :: v_dual_add_nc_u32 v6, m0, v3
 // GFX12: v_dual_add_f32 v255, m0, v2 :: v_dual_add_nc_u32 v6, m0, v3 ; encoding: [0x7d,0x04,0x20,0xc9,0x7d,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, vcc_hi, v2 :: v_dual_add_nc_u32 v6, exec_lo, v3
 // GFX12: v_dual_add_f32 v255, vcc_hi, v2 :: v_dual_add_nc_u32 v6, exec_lo, v3 ; encoding: [0x6b,0x04,0x20,0xc9,0x7e,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, vcc_lo, v2 :: v_dual_add_nc_u32 v6, exec_hi, v3
 // GFX12: v_dual_add_f32 v255, vcc_lo, v2 :: v_dual_add_nc_u32 v6, exec_hi, v3 ; encoding: [0x6a,0x04,0x20,0xc9,0x7f,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, 0xaf123456, v2 :: v_dual_add_nc_u32 v6, null, v3
 // GFX12: v_dual_add_f32 v255, 0xaf123456, v2 :: v_dual_add_nc_u32 v6, null, v3 ; encoding: [0xff,0x04,0x20,0xc9,0x7c,0x06,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, src_scc, v2 :: v_dual_add_nc_u32 v6, -1, v3
 // GFX12: v_dual_add_f32 v255, src_scc, v2 :: v_dual_add_nc_u32 v6, -1, v3 ; encoding: [0xfd,0x04,0x20,0xc9,0xc1,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, 0.5, v3 :: v_dual_add_nc_u32 v6, 0.5, v2
 // GFX12: v_dual_add_f32 v255, 0.5, v3 :: v_dual_add_nc_u32 v6, 0.5, v2 ; encoding: [0xf0,0x06,0x20,0xc9,0xf0,0x04,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, -1, v4 :: v_dual_add_nc_u32 v6, src_scc, v5
 // GFX12: v_dual_add_f32 v255, -1, v4 :: v_dual_add_nc_u32 v6, src_scc, v5 ; encoding: [0xc1,0x08,0x20,0xc9,0xfd,0x0a,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v6, null, v5 :: v_dual_add_nc_u32 v255, 0xaf123456, v4
 // GFX12: v_dual_add_f32 v6, null, v5 :: v_dual_add_nc_u32 v255, 0xaf123456, v4 ; encoding: [0x7c,0x0a,0x20,0xc9,0xff,0x08,0xfe,0x06,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v4, v2 :: v_dual_cndmask_b32 v6, v1, v3
 // GFX12: v_dual_add_f32 v255, v4, v2 :: v_dual_cndmask_b32 v6, v1, v3 ; encoding: [0x04,0x05,0x12,0xc9,0x01,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v1, v2 :: v_dual_cndmask_b32 v6, v255, v3
 // GFX12: v_dual_add_f32 v255, v1, v2 :: v_dual_cndmask_b32 v6, v255, v3 ; encoding: [0x01,0x05,0x12,0xc9,0xff,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v255, v2 :: v_dual_cndmask_b32 v6, v2, v3
 // GFX12: v_dual_add_f32 v255, v255, v2 :: v_dual_cndmask_b32 v6, v2, v3 ; encoding: [0xff,0x05,0x12,0xc9,0x02,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v2, v2 :: v_dual_cndmask_b32 v6, v3, v3
 // GFX12: v_dual_add_f32 v255, v2, v2 :: v_dual_cndmask_b32 v6, v3, v3 ; encoding: [0x02,0x05,0x12,0xc9,0x03,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v3, v2 :: v_dual_cndmask_b32 v6, v4, v3
 // GFX12: v_dual_add_f32 v255, v3, v2 :: v_dual_cndmask_b32 v6, v4, v3 ; encoding: [0x03,0x05,0x12,0xc9,0x04,0x07,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, s105, v2 :: v_dual_cndmask_b32 v6, s105, v3
 // GFX12: v_dual_add_f32 v255, s105, v2 :: v_dual_cndmask_b32 v6, s105, v3 ; encoding: [0x69,0x04,0x12,0xc9,0x69,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, s1, v2 :: v_dual_cndmask_b32 v6, s1, v3
 // GFX12: v_dual_add_f32 v255, s1, v2 :: v_dual_cndmask_b32 v6, s1, v3 ; encoding: [0x01,0x04,0x12,0xc9,0x01,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, ttmp15, v2 :: v_dual_cndmask_b32 v6, ttmp15, v3
 // GFX12: v_dual_add_f32 v255, ttmp15, v2 :: v_dual_cndmask_b32 v6, ttmp15, v3 ; encoding: [0x7b,0x04,0x12,0xc9,0x7b,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, exec_hi, v2 :: v_dual_cndmask_b32 v6, exec_hi, v3
 // GFX12: v_dual_add_f32 v255, exec_hi, v2 :: v_dual_cndmask_b32 v6, exec_hi, v3 ; encoding: [0x7f,0x04,0x12,0xc9,0x7f,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, exec_lo, v2 :: v_dual_cndmask_b32 v6, exec_lo, v3
 // GFX12: v_dual_add_f32 v255, exec_lo, v2 :: v_dual_cndmask_b32 v6, exec_lo, v3 ; encoding: [0x7e,0x04,0x12,0xc9,0x7e,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, m0, v2 :: v_dual_cndmask_b32 v6, m0, v3
 // GFX12: v_dual_add_f32 v255, m0, v2 :: v_dual_cndmask_b32 v6, m0, v3 ; encoding: [0x7d,0x04,0x12,0xc9,0x7d,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, vcc_hi, v2 :: v_dual_cndmask_b32 v6, vcc_hi, v3
 // GFX12: v_dual_add_f32 v255, vcc_hi, v2 :: v_dual_cndmask_b32 v6, vcc_hi, v3 ; encoding: [0x6b,0x04,0x12,0xc9,0x6b,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, vcc_lo, v2 :: v_dual_cndmask_b32 v6, vcc_lo, v3
 // GFX12: v_dual_add_f32 v255, vcc_lo, v2 :: v_dual_cndmask_b32 v6, vcc_lo, v3 ; encoding: [0x6a,0x04,0x12,0xc9,0x6a,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, 0xaf123456, v2 :: v_dual_cndmask_b32 v6, null, v3
 // GFX12: v_dual_add_f32 v255, 0xaf123456, v2 :: v_dual_cndmask_b32 v6, null, v3 ; encoding: [0xff,0x04,0x12,0xc9,0x7c,0x06,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, src_scc, v2 :: v_dual_cndmask_b32 v6, -1, v3
 // GFX12: v_dual_add_f32 v255, src_scc, v2 :: v_dual_cndmask_b32 v6, -1, v3 ; encoding: [0xfd,0x04,0x12,0xc9,0xc1,0x06,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, 0.5, v3 :: v_dual_cndmask_b32 v6, 0.5, v2
 // GFX12: v_dual_add_f32 v255, 0.5, v3 :: v_dual_cndmask_b32 v6, 0.5, v2 ; encoding: [0xf0,0x06,0x12,0xc9,0xf0,0x04,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, -1, v4 :: v_dual_cndmask_b32 v6, src_scc, v5
 // GFX12: v_dual_add_f32 v255, -1, v4 :: v_dual_cndmask_b32 v6, src_scc, v5 ; encoding: [0xc1,0x08,0x12,0xc9,0xfd,0x0a,0x06,0xff]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v6, null, v5 :: v_dual_cndmask_b32 v255, 0xaf123456, v4
 // GFX12: v_dual_add_f32 v6, null, v5 :: v_dual_cndmask_b32 v255, 0xaf123456, v4 ; encoding: [0x7c,0x0a,0x12,0xc9,0xff,0x08,0xfe,0x06,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v4, v2 :: v_dual_fmaak_f32 v6, v1, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, v4, v2 :: v_dual_fmaak_f32 v6, v1, v3, 0xaf123456 ; encoding: [0x04,0x05,0x02,0xc9,0x01,0x07,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v1, v2 :: v_dual_fmaak_f32 v6, v255, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, v1, v2 :: v_dual_fmaak_f32 v6, v255, v3, 0xaf123456 ; encoding: [0x01,0x05,0x02,0xc9,0xff,0x07,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v255, v2 :: v_dual_fmaak_f32 v6, v2, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, v255, v2 :: v_dual_fmaak_f32 v6, v2, v3, 0xaf123456 ; encoding: [0xff,0x05,0x02,0xc9,0x02,0x07,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v2, v2 :: v_dual_fmaak_f32 v6, v3, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, v2, v2 :: v_dual_fmaak_f32 v6, v3, v3, 0xaf123456 ; encoding: [0x02,0x05,0x02,0xc9,0x03,0x07,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, v3, v2 :: v_dual_fmaak_f32 v6, v4, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, v3, v2 :: v_dual_fmaak_f32 v6, v4, v3, 0xaf123456 ; encoding: [0x03,0x05,0x02,0xc9,0x04,0x07,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, s105, v2 :: v_dual_fmaak_f32 v6, s105, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, s105, v2 :: v_dual_fmaak_f32 v6, s105, v3, 0xaf123456 ; encoding: [0x69,0x04,0x02,0xc9,0x69,0x06,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, s1, v2 :: v_dual_fmaak_f32 v6, s1, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, s1, v2 :: v_dual_fmaak_f32 v6, s1, v3, 0xaf123456 ; encoding: [0x01,0x04,0x02,0xc9,0x01,0x06,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, ttmp15, v2 :: v_dual_fmaak_f32 v6, ttmp15, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, ttmp15, v2 :: v_dual_fmaak_f32 v6, ttmp15, v3, 0xaf123456 ; encoding: [0x7b,0x04,0x02,0xc9,0x7b,0x06,0x06,0xff,0x56,0x34,0x12,0xaf]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32
 
 v_dual_add_f32 v255, exec_hi, v2 :: v_dual_fmaak_f32 v6, exec_hi, v3, 0xaf123456
 // GFX12: v_dual_add_f32 v255, exec_hi, v2 :: v_dual_fmaak_f32 v6, exec_hi, v...
[truncated]

@rampitec
Copy link
Collaborator Author

This is again unreviewable on github and I cannot help it.

@rampitec
Copy link
Collaborator Author

I know github does not help. This is the example change:

 v_dual_add_f32 v255, s105, v2 :: v_dual_add_f32 v7, s1, v3
 // GFX1250: v_dual_add_f32 v255, s105, v2 :: v_dual_add_f32 v7, s1, v3 ; encoding: [0x69,0x40,0x10,0xcf,0x01,0x00,0x02,0x00,0xff,0x03,0x00,0x07]
-// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error
+// W64-ERR: :[[@LINE-2]]:1: error: instruction requires wavesize=32

@rampitec rampitec force-pushed the users/rampitec/07-10-_amdgpu_autogenerate_gfx1250_vopd_tests._nfc branch from aa7123c to 7756b50 Compare July 10, 2025 20:03
@rampitec rampitec force-pushed the users/rampitec/07-09-_amdgpu_gfx1250_vopd_mc_tests._nfc branch from 988a31a to dd87cea Compare July 10, 2025 20:03
@rampitec rampitec force-pushed the users/rampitec/07-09-_amdgpu_gfx1250_vopd_mc_tests._nfc branch from dd87cea to 69a56d2 Compare July 10, 2025 23:19
@rampitec rampitec force-pushed the users/rampitec/07-10-_amdgpu_autogenerate_gfx1250_vopd_tests._nfc branch from 7756b50 to a55daca Compare July 10, 2025 23:19
Base automatically changed from users/rampitec/07-09-_amdgpu_gfx1250_vopd_mc_tests._nfc to main July 11, 2025 00:25
@rampitec rampitec force-pushed the users/rampitec/07-10-_amdgpu_autogenerate_gfx1250_vopd_tests._nfc branch from a55daca to 376a9f7 Compare July 11, 2025 00:27
@rampitec rampitec merged commit bfd6bb1 into main Jul 11, 2025
9 checks passed
@rampitec rampitec deleted the users/rampitec/07-10-_amdgpu_autogenerate_gfx1250_vopd_tests._nfc branch July 11, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend:AMDGPU llvm:mc Machine (object) code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants