-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[NFC][AMDGPU] Auto generate check lines for some assembler tests #130797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NFC][AMDGPU] Auto generate check lines for some assembler tests #130797
Conversation
@llvm/pr-subscribers-mc @llvm/pr-subscribers-backend-amdgpu Author: Shilei Tian (shiltian) ChangesPatch is 679.21 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/130797.diff 3 Files Affected:
diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_sop1.s b/llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
index 51fd7ded8fda7..55322878de85b 100644
--- a/llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
+++ b/llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
@@ -1,4270 +1,4271 @@
+// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
// RUN: llvm-mc -triple=amdgcn -show-encoding -mcpu=gfx1200 %s | FileCheck --check-prefix=GFX12 %s
s_alloc_vgpr 0x1235
-// GFX12: encoding: [0xff,0x53,0x80,0xbe,0x35,0x12,0x00,0x00]
+// GFX12: s_alloc_vgpr 0x1235 ; encoding: [0xff,0x53,0x80,0xbe,0x35,0x12,0x00,0x00]
s_alloc_vgpr 18
-// GFX12: encoding: [0x92,0x53,0x80,0xbe]
+// GFX12: s_alloc_vgpr 18 ; encoding: [0x92,0x53,0x80,0xbe]
s_alloc_vgpr s35
-// GFX12: encoding: [0x23,0x53,0x80,0xbe]
+// GFX12: s_alloc_vgpr s35 ; encoding: [0x23,0x53,0x80,0xbe]
s_alloc_vgpr m0
-// GFX12: encoding: [0x7d,0x53,0x80,0xbe]
+// GFX12: s_alloc_vgpr m0 ; encoding: [0x7d,0x53,0x80,0xbe]
s_alloc_vgpr scc
-// GFX12: encoding: [0xfd,0x53,0x80,0xbe]
+// GFX12: s_alloc_vgpr src_scc ; encoding: [0xfd,0x53,0x80,0xbe]
s_sleep_var 0x1234
-// GFX12: encoding: [0xff,0x58,0x80,0xbe,0x34,0x12,0x00,0x00]
+// GFX12: s_sleep_var 0x1234 ; encoding: [0xff,0x58,0x80,0xbe,0x34,0x12,0x00,0x00]
s_sleep_var s1
-// GFX12: encoding: [0x01,0x58,0x80,0xbe]
+// GFX12: s_sleep_var s1 ; encoding: [0x01,0x58,0x80,0xbe]
s_cvt_f32_i32 s5, s1
-// GFX12: encoding: [0x01,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, s1 ; encoding: [0x01,0x64,0x85,0xbe]
s_cvt_f32_i32 s105, s1
-// GFX12: encoding: [0x01,0x64,0xe9,0xbe]
+// GFX12: s_cvt_f32_i32 s105, s1 ; encoding: [0x01,0x64,0xe9,0xbe]
s_cvt_f32_i32 s5, s105
-// GFX12: encoding: [0x69,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, s105 ; encoding: [0x69,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, s103
-// GFX12: encoding: [0x67,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, s103 ; encoding: [0x67,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, vcc_lo
-// GFX12: encoding: [0x6a,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, vcc_lo ; encoding: [0x6a,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, vcc_hi
-// GFX12: encoding: [0x6b,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, vcc_hi ; encoding: [0x6b,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, ttmp11
-// GFX12: encoding: [0x77,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, ttmp11 ; encoding: [0x77,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, m0
-// GFX12: encoding: [0x7d,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, m0 ; encoding: [0x7d,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, exec_lo
-// GFX12: encoding: [0x7e,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, exec_lo ; encoding: [0x7e,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, exec_hi
-// GFX12: encoding: [0x7f,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, exec_hi ; encoding: [0x7f,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, 0
-// GFX12: encoding: [0x80,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, 0 ; encoding: [0x80,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, -1
-// GFX12: encoding: [0xc1,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, -1 ; encoding: [0xc1,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, 0.5
-// GFX12: encoding: [0xf0,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, 0.5 ; encoding: [0xf0,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, -4.0
-// GFX12: encoding: [0xf7,0x64,0x85,0xbe]
+// GFX12: s_cvt_f32_i32 s5, -4.0 ; encoding: [0xf7,0x64,0x85,0xbe]
s_cvt_f32_i32 s5, 0xaf123456
-// GFX12: encoding: [0xff,0x64,0x85,0xbe,0x56,0x34,0x12,0xaf]
+// GFX12: s_cvt_f32_i32 s5, 0xaf123456 ; encoding: [0xff,0x64,0x85,0xbe,0x56,0x34,0x12,0xaf]
s_cvt_f32_i32 s5, 0x3f717273
-// GFX12: encoding: [0xff,0x64,0x85,0xbe,0x73,0x72,0x71,0x3f]
+// GFX12: s_cvt_f32_i32 s5, 0x3f717273 ; encoding: [0xff,0x64,0x85,0xbe,0x73,0x72,0x71,0x3f]
s_cvt_f32_u32 s5, s1
-// GFX12: encoding: [0x01,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, s1 ; encoding: [0x01,0x65,0x85,0xbe]
s_cvt_f32_u32 s105, s1
-// GFX12: encoding: [0x01,0x65,0xe9,0xbe]
+// GFX12: s_cvt_f32_u32 s105, s1 ; encoding: [0x01,0x65,0xe9,0xbe]
s_cvt_f32_u32 s5, s105
-// GFX12: encoding: [0x69,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, s105 ; encoding: [0x69,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, s103
-// GFX12: encoding: [0x67,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, s103 ; encoding: [0x67,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, vcc_lo
-// GFX12: encoding: [0x6a,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, vcc_lo ; encoding: [0x6a,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, vcc_hi
-// GFX12: encoding: [0x6b,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, vcc_hi ; encoding: [0x6b,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, ttmp11
-// GFX12: encoding: [0x77,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, ttmp11 ; encoding: [0x77,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, m0
-// GFX12: encoding: [0x7d,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, m0 ; encoding: [0x7d,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, exec_lo
-// GFX12: encoding: [0x7e,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, exec_lo ; encoding: [0x7e,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, exec_hi
-// GFX12: encoding: [0x7f,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, exec_hi ; encoding: [0x7f,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, 0
-// GFX12: encoding: [0x80,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, 0 ; encoding: [0x80,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, -1
-// GFX12: encoding: [0xc1,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, -1 ; encoding: [0xc1,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, 0.5
-// GFX12: encoding: [0xf0,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, 0.5 ; encoding: [0xf0,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, -4.0
-// GFX12: encoding: [0xf7,0x65,0x85,0xbe]
+// GFX12: s_cvt_f32_u32 s5, -4.0 ; encoding: [0xf7,0x65,0x85,0xbe]
s_cvt_f32_u32 s5, 0xaf123456
-// GFX12: encoding: [0xff,0x65,0x85,0xbe,0x56,0x34,0x12,0xaf]
+// GFX12: s_cvt_f32_u32 s5, 0xaf123456 ; encoding: [0xff,0x65,0x85,0xbe,0x56,0x34,0x12,0xaf]
s_cvt_f32_u32 s5, 0x3f717273
-// GFX12: encoding: [0xff,0x65,0x85,0xbe,0x73,0x72,0x71,0x3f]
+// GFX12: s_cvt_f32_u32 s5, 0x3f717273 ; encoding: [0xff,0x65,0x85,0xbe,0x73,0x72,0x71,0x3f]
s_cvt_u32_f32 s5, s1
-// GFX12: encoding: [0x01,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, s1 ; encoding: [0x01,0x67,0x85,0xbe]
s_cvt_u32_f32 s105, s1
-// GFX12: encoding: [0x01,0x67,0xe9,0xbe]
+// GFX12: s_cvt_u32_f32 s105, s1 ; encoding: [0x01,0x67,0xe9,0xbe]
s_cvt_u32_f32 s5, s105
-// GFX12: encoding: [0x69,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, s105 ; encoding: [0x69,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, s103
-// GFX12: encoding: [0x67,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, s103 ; encoding: [0x67,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, vcc_lo
-// GFX12: encoding: [0x6a,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, vcc_lo ; encoding: [0x6a,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, vcc_hi
-// GFX12: encoding: [0x6b,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, vcc_hi ; encoding: [0x6b,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, ttmp11
-// GFX12: encoding: [0x77,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, ttmp11 ; encoding: [0x77,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, m0
-// GFX12: encoding: [0x7d,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, m0 ; encoding: [0x7d,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, exec_lo
-// GFX12: encoding: [0x7e,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, exec_lo ; encoding: [0x7e,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, exec_hi
-// GFX12: encoding: [0x7f,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, exec_hi ; encoding: [0x7f,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, 0
-// GFX12: encoding: [0x80,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, 0 ; encoding: [0x80,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, -1
-// GFX12: encoding: [0xc1,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, -1 ; encoding: [0xc1,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, 0.5
-// GFX12: encoding: [0xf0,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, 0.5 ; encoding: [0xf0,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, -4.0
-// GFX12: encoding: [0xf7,0x67,0x85,0xbe]
+// GFX12: s_cvt_u32_f32 s5, -4.0 ; encoding: [0xf7,0x67,0x85,0xbe]
s_cvt_u32_f32 s5, 0xaf123456
-// GFX12: encoding: [0xff,0x67,0x85,0xbe,0x56,0x34,0x12,0xaf]
+// GFX12: s_cvt_u32_f32 s5, 0xaf123456 ; encoding: [0xff,0x67,0x85,0xbe,0x56,0x34,0x12,0xaf]
s_cvt_u32_f32 s5, 0x3f717273
-// GFX12: encoding: [0xff,0x67,0x85,0xbe,0x73,0x72,0x71,0x3f]
+// GFX12: s_cvt_u32_f32 s5, 0x3f717273 ; encoding: [0xff,0x67,0x85,0xbe,0x73,0x72,0x71,0x3f]
s_cvt_i32_f32 s5, s1
-// GFX12: encoding: [0x01,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, s1 ; encoding: [0x01,0x66,0x85,0xbe]
s_cvt_i32_f32 s105, s1
-// GFX12: encoding: [0x01,0x66,0xe9,0xbe]
+// GFX12: s_cvt_i32_f32 s105, s1 ; encoding: [0x01,0x66,0xe9,0xbe]
s_cvt_i32_f32 s5, s105
-// GFX12: encoding: [0x69,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, s105 ; encoding: [0x69,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, s103
-// GFX12: encoding: [0x67,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, s103 ; encoding: [0x67,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, vcc_lo
-// GFX12: encoding: [0x6a,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, vcc_lo ; encoding: [0x6a,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, vcc_hi
-// GFX12: encoding: [0x6b,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, vcc_hi ; encoding: [0x6b,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, ttmp11
-// GFX12: encoding: [0x77,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, ttmp11 ; encoding: [0x77,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, m0
-// GFX12: encoding: [0x7d,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, m0 ; encoding: [0x7d,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, exec_lo
-// GFX12: encoding: [0x7e,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, exec_lo ; encoding: [0x7e,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, exec_hi
-// GFX12: encoding: [0x7f,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, exec_hi ; encoding: [0x7f,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, 0
-// GFX12: encoding: [0x80,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, 0 ; encoding: [0x80,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, -1
-// GFX12: encoding: [0xc1,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, -1 ; encoding: [0xc1,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, 0.5
-// GFX12: encoding: [0xf0,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, 0.5 ; encoding: [0xf0,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, -4.0
-// GFX12: encoding: [0xf7,0x66,0x85,0xbe]
+// GFX12: s_cvt_i32_f32 s5, -4.0 ; encoding: [0xf7,0x66,0x85,0xbe]
s_cvt_i32_f32 s5, 0xaf123456
-// GFX12: encoding: [0xff,0x66,0x85,0xbe,0x56,0x34,0x12,0xaf]
+// GFX12: s_cvt_i32_f32 s5, 0xaf123456 ; encoding: [0xff,0x66,0x85,0xbe,0x56,0x34,0x12,0xaf]
s_cvt_i32_f32 s5, 0x3f717273
-// GFX12: encoding: [0xff,0x66,0x85,0xbe,0x73,0x72,0x71,0x3f]
+// GFX12: s_cvt_i32_f32 s5, 0x3f717273 ; encoding: [0xff,0x66,0x85,0xbe,0x73,0x72,0x71,0x3f]
s_cvt_f16_f32 s5, s1
-// GFX12: encoding: [0x01,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, s1 ; encoding: [0x01,0x68,0x85,0xbe]
s_cvt_f16_f32 s105, s1
-// GFX12: encoding: [0x01,0x68,0xe9,0xbe]
+// GFX12: s_cvt_f16_f32 s105, s1 ; encoding: [0x01,0x68,0xe9,0xbe]
s_cvt_f16_f32 s5, s105
-// GFX12: encoding: [0x69,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, s105 ; encoding: [0x69,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, s103
-// GFX12: encoding: [0x67,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, s103 ; encoding: [0x67,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, vcc_lo
-// GFX12: encoding: [0x6a,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, vcc_lo ; encoding: [0x6a,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, vcc_hi
-// GFX12: encoding: [0x6b,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, vcc_hi ; encoding: [0x6b,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, ttmp11
-// GFX12: encoding: [0x77,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, ttmp11 ; encoding: [0x77,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, m0
-// GFX12: encoding: [0x7d,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, m0 ; encoding: [0x7d,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, exec_lo
-// GFX12: encoding: [0x7e,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, exec_lo ; encoding: [0x7e,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, exec_hi
-// GFX12: encoding: [0x7f,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, exec_hi ; encoding: [0x7f,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, 0
-// GFX12: encoding: [0x80,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, 0 ; encoding: [0x80,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, -1
-// GFX12: encoding: [0xc1,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, -1 ; encoding: [0xc1,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, 0.5
-// GFX12: encoding: [0xf0,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, 0.5 ; encoding: [0xf0,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, -4.0
-// GFX12: encoding: [0xf7,0x68,0x85,0xbe]
+// GFX12: s_cvt_f16_f32 s5, -4.0 ; encoding: [0xf7,0x68,0x85,0xbe]
s_cvt_f16_f32 s5, 0xaf123456
-// GFX12: encoding: [0xff,0x68,0x85,0xbe,0x56,0x34,0x12,0xaf]
+// GFX12: s_cvt_f16_f32 s5, 0xaf123456 ; encoding: [0xff,0x68,0x85,0xbe,0x56,0x34,0x12,0xaf]
s_cvt_f16_f32 s5, 0x3f717273
-// GFX12: encoding: [0xff,0x68,0x85,0xbe,0x73,0x72,0x71,0x3f]
+// GFX12: s_cvt_f16_f32 s5, 0x3f717273 ; encoding: [0xff,0x68,0x85,0xbe,0x73,0x72,0x71,0x3f]
s_cvt_f32_f16 s5, s1
-// GFX12: encoding: [0x01,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, s1 ; encoding: [0x01,0x69,0x85,0xbe]
s_cvt_f32_f16 s105, s1
-// GFX12: encoding: [0x01,0x69,0xe9,0xbe]
+// GFX12: s_cvt_f32_f16 s105, s1 ; encoding: [0x01,0x69,0xe9,0xbe]
s_cvt_f32_f16 s5, s105
-// GFX12: encoding: [0x69,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, s105 ; encoding: [0x69,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, s103
-// GFX12: encoding: [0x67,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, s103 ; encoding: [0x67,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, vcc_lo
-// GFX12: encoding: [0x6a,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, vcc_lo ; encoding: [0x6a,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, vcc_hi
-// GFX12: encoding: [0x6b,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, vcc_hi ; encoding: [0x6b,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, ttmp11
-// GFX12: encoding: [0x77,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, ttmp11 ; encoding: [0x77,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, m0
-// GFX12: encoding: [0x7d,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, m0 ; encoding: [0x7d,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, exec_lo
-// GFX12: encoding: [0x7e,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, exec_lo ; encoding: [0x7e,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, exec_hi
-// GFX12: encoding: [0x7f,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, exec_hi ; encoding: [0x7f,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, 0
-// GFX12: encoding: [0x80,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, 0 ; encoding: [0x80,0x69,0x85,0xbe]
s_cvt_f32_f16 s5, -1
-// GFX12: encoding: [0xc1,0x69,0x85,0xbe]
+// GFX12: s_cvt_f32_f16 s5, -1 ; encoding: [0xc1,0x69,0x85,0xbe]
s_cvt_hi_f32_f16 s5, s1
-// GFX12: encoding: [0x01,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, s1 ; encoding: [0x01,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s105, s1
-// GFX12: encoding: [0x01,0x6a,0xe9,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s105, s1 ; encoding: [0x01,0x6a,0xe9,0xbe]
s_cvt_hi_f32_f16 s5, s105
-// GFX12: encoding: [0x69,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, s105 ; encoding: [0x69,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, s103
-// GFX12: encoding: [0x67,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, s103 ; encoding: [0x67,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, vcc_lo
-// GFX12: encoding: [0x6a,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, vcc_lo ; encoding: [0x6a,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, vcc_hi
-// GFX12: encoding: [0x6b,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, vcc_hi ; encoding: [0x6b,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, ttmp11
-// GFX12: encoding: [0x77,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, ttmp11 ; encoding: [0x77,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, m0
-// GFX12: encoding: [0x7d,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, m0 ; encoding: [0x7d,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, exec_lo
-// GFX12: encoding: [0x7e,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, exec_lo ; encoding: [0x7e,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, exec_hi
-// GFX12: encoding: [0x7f,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, exec_hi ; encoding: [0x7f,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, 0
-// GFX12: encoding: [0x80,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, 0 ; encoding: [0x80,0x6a,0x85,0xbe]
s_cvt_hi_f32_f16 s5, -1
-// GFX12: encoding: [0xc1,0x6a,0x85,0xbe]
+// GFX12: s_cvt_hi_f32_f16 s5, -1 ; encoding: [0xc1,0x6a,0x85,0xbe]
s_trunc_f32 s5, s1
-// GFX12: encoding: [0x01,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, s1 ; encoding: [0x01,0x62,0x85,0xbe]
s_trunc_f32 s105, s1
-// GFX12: encoding: [0x01,0x62,0xe9,0xbe]
+// GFX12: s_trunc_f32 s105, s1 ; encoding: [0x01,0x62,0xe9,0xbe]
s_trunc_f32 s5, s105
-// GFX12: encoding: [0x69,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, s105 ; encoding: [0x69,0x62,0x85,0xbe]
s_trunc_f32 s5, s103
-// GFX12: encoding: [0x67,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, s103 ; encoding: [0x67,0x62,0x85,0xbe]
s_trunc_f32 s5, vcc_lo
-// GFX12: encoding: [0x6a,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, vcc_lo ; encoding: [0x6a,0x62,0x85,0xbe]
s_trunc_f32 s5, vcc_hi
-// GFX12: encoding: [0x6b,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, vcc_hi ; encoding: [0x6b,0x62,0x85,0xbe]
s_trunc_f32 s5, ttmp11
-// GFX12: encoding: [0x77,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, ttmp11 ; encoding: [0x77,0x62,0x85,0xbe]
s_trunc_f32 s5, m0
-// GFX12: encoding: [0x7d,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, m0 ; encoding: [0x7d,0x62,0x85,0xbe]
s_trunc_f32 s5, exec_lo
-// GFX12: encoding: [0x7e,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, exec_lo ; encoding: [0x7e,0x62,0x85,0xbe]
s_trunc_f32 s5, exec_hi
-// GFX12: encoding: [0x7f,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, exec_hi ; encoding: [0x7f,0x62,0x85,0xbe]
s_trunc_f32 s5, 0
-// GFX12: encoding: [0x80,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, 0 ; encoding: [0x80,0x62,0x85,0xbe]
s_trunc_f32 s5, -1
-// GFX12: encoding: [0xc1,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, -1 ; encoding: [0xc1,0x62,0x85,0xbe]
s_trunc_f32 s5, 0.5
-// GFX12: encoding: [0xf0,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, 0.5 ; encoding: [0xf0,0x62,0x85,0xbe]
s_trunc_f32 s5, -4.0
-// GFX12: encoding: [0xf7,0x62,0x85,0xbe]
+// GFX12: s_trunc_f32 s5, -4.0 ; encoding: [0xf7,0x62,0x85,0xbe]
s_trunc_f32 s5, 0xaf123456
-// GFX12: encoding: [0xff,0x62,0x85,0xbe,0x56,0x34,0x12,0xaf]
+// GFX12: s_trunc_f32 s5, 0xaf123456 ; encoding: [0xff,0x62,0x85,0xbe,0x56,0x34,0x12,0xaf]
s_trunc_f32 s5, 0x3f717273
-// GFX12: encoding: [0xff,0x62,0x85,...
[truncated]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I'd be in favour of doing this for all AMDGPU asm/dis tests.
Me too. Using the auto-generation script AND putting the assembler and disassembler tests in the same file like we have in test/MC/AMDGPU/gfx12_asm_vop1.s would be even better, but it would be a more manual process. |
We could ask anyone touching those code to do an update. FWIW, we don't even have auto generated check lines for all IR tests, though I tried my best to ask folks to do so in the code review. |
No description provided.