Skip to content

[NFC][AMDGPU] Auto generate check lines for some disassembler tests #130799

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

Merged

Conversation

shiltian
Copy link
Contributor

No description provided.

@llvmbot llvmbot added backend:AMDGPU mc Machine (object) code labels Mar 11, 2025
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@llvmbot
Copy link
Member

llvmbot commented Mar 11, 2025

@llvm/pr-subscribers-mc

@llvm/pr-subscribers-backend-amdgpu

Author: Shilei Tian (shiltian)

Changes

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

3 Files Affected:

  • (modified) llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt (+1234-1233)
  • (modified) llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop2.txt (+2053-2052)
  • (modified) llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sopc.txt (+721-720)
diff --git a/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt b/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt
index 7100e09b88da7..31f61e48126c1 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt
+++ b/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt
@@ -1,3700 +1,3701 @@
+# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
 # RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX12 %s
 
-# GFX12: s_alloc_vgpr 0x1235                          ; encoding: [0xff,0x53,0x80,0xbe,0x35,0x12,0x00,0x00]
 0xff,0x53,0x80,0xbe,0x35,0x12,0x00,0x00
+# GFX12: s_alloc_vgpr 0x1235                     ; encoding: [0xff,0x53,0x80,0xbe,0x35,0x12,0x00,0x00]
 
-# GFX12: s_alloc_vgpr 18                              ; encoding: [0x92,0x53,0x80,0xbe]
 0x92,0x53,0x80,0xbe
+# GFX12: s_alloc_vgpr 18                         ; encoding: [0x92,0x53,0x80,0xbe]
 
-# GFX12: s_alloc_vgpr s35                             ; encoding: [0x23,0x53,0x80,0xbe]
 0x23,0x53,0x80,0xbe
+# GFX12: s_alloc_vgpr s35                        ; encoding: [0x23,0x53,0x80,0xbe]
 
-# GFX12: s_sleep_var 0x1234                   ; encoding: [0xff,0x58,0x80,0xbe,0x34,0x12,0x00,0x00]
 0xff,0x58,0x80,0xbe,0x34,0x12,0x00,0x00
+# GFX12: s_sleep_var 0x1234                      ; encoding: [0xff,0x58,0x80,0xbe,0x34,0x12,0x00,0x00]
 
-# GFX12: s_sleep_var s1                       ; encoding: [0x01,0x58,0x80,0xbe]
 0x01,0x58,0x80,0xbe
+# GFX12: s_sleep_var s1                          ; encoding: [0x01,0x58,0x80,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, s1                    ; encoding: [0x01,0x64,0x85,0xbe]
 0x01,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, s1                    ; encoding: [0x01,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s105, s1                  ; encoding: [0x01,0x64,0xe9,0xbe]
 0x01,0x64,0xe9,0xbe
+# GFX12: s_cvt_f32_i32 s105, s1                  ; encoding: [0x01,0x64,0xe9,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, s105                  ; encoding: [0x69,0x64,0x85,0xbe]
 0x69,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, s105                  ; encoding: [0x69,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, s103                  ; encoding: [0x67,0x64,0x85,0xbe]
 0x67,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, s103                  ; encoding: [0x67,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, vcc_lo                ; encoding: [0x6a,0x64,0x85,0xbe]
 0x6a,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, vcc_lo                ; encoding: [0x6a,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, vcc_hi                ; encoding: [0x6b,0x64,0x85,0xbe]
 0x6b,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, vcc_hi                ; encoding: [0x6b,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, ttmp11                ; encoding: [0x77,0x64,0x85,0xbe]
 0x77,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, ttmp11                ; encoding: [0x77,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, m0                    ; encoding: [0x7d,0x64,0x85,0xbe]
 0x7d,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, m0                    ; encoding: [0x7d,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, exec_lo               ; encoding: [0x7e,0x64,0x85,0xbe]
 0x7e,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, exec_lo               ; encoding: [0x7e,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, exec_hi               ; encoding: [0x7f,0x64,0x85,0xbe]
 0x7f,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, exec_hi               ; encoding: [0x7f,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, 0                     ; encoding: [0x80,0x64,0x85,0xbe]
 0x80,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, 0                     ; encoding: [0x80,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, -1                    ; encoding: [0xc1,0x64,0x85,0xbe]
 0xc1,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, -1                    ; encoding: [0xc1,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, 0.5                   ; encoding: [0xf0,0x64,0x85,0xbe]
 0xf0,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, 0.5                   ; encoding: [0xf0,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, -4.0                  ; encoding: [0xf7,0x64,0x85,0xbe]
 0xf7,0x64,0x85,0xbe
+# GFX12: s_cvt_f32_i32 s5, -4.0                  ; encoding: [0xf7,0x64,0x85,0xbe]
 
-# GFX12: s_cvt_f32_i32 s5, 0xaf123456            ; encoding: [0xff,0x64,0x85,0xbe,0x56,0x34,0x12,0xaf]
 0xff,0x64,0x85,0xbe,0x56,0x34,0x12,0xaf
+# GFX12: s_cvt_f32_i32 s5, 0xaf123456            ; encoding: [0xff,0x64,0x85,0xbe,0x56,0x34,0x12,0xaf]
 
-# GFX12: s_cvt_f32_i32 s5, 0x3f717273            ; encoding: [0xff,0x64,0x85,0xbe,0x73,0x72,0x71,0x3f]
 0xff,0x64,0x85,0xbe,0x73,0x72,0x71,0x3f
+# GFX12: s_cvt_f32_i32 s5, 0x3f717273            ; encoding: [0xff,0x64,0x85,0xbe,0x73,0x72,0x71,0x3f]
 
-# GFX12: s_cvt_f32_u32 s5, s1                    ; encoding: [0x01,0x65,0x85,0xbe]
 0x01,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, s1                    ; encoding: [0x01,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s105, s1                  ; encoding: [0x01,0x65,0xe9,0xbe]
 0x01,0x65,0xe9,0xbe
+# GFX12: s_cvt_f32_u32 s105, s1                  ; encoding: [0x01,0x65,0xe9,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, s105                  ; encoding: [0x69,0x65,0x85,0xbe]
 0x69,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, s105                  ; encoding: [0x69,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, s103                  ; encoding: [0x67,0x65,0x85,0xbe]
 0x67,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, s103                  ; encoding: [0x67,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, vcc_lo                ; encoding: [0x6a,0x65,0x85,0xbe]
 0x6a,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, vcc_lo                ; encoding: [0x6a,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, vcc_hi                ; encoding: [0x6b,0x65,0x85,0xbe]
 0x6b,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, vcc_hi                ; encoding: [0x6b,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, ttmp11                ; encoding: [0x77,0x65,0x85,0xbe]
 0x77,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, ttmp11                ; encoding: [0x77,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, m0                    ; encoding: [0x7d,0x65,0x85,0xbe]
 0x7d,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, m0                    ; encoding: [0x7d,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, exec_lo               ; encoding: [0x7e,0x65,0x85,0xbe]
 0x7e,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, exec_lo               ; encoding: [0x7e,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, exec_hi               ; encoding: [0x7f,0x65,0x85,0xbe]
 0x7f,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, exec_hi               ; encoding: [0x7f,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, 0                     ; encoding: [0x80,0x65,0x85,0xbe]
 0x80,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, 0                     ; encoding: [0x80,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, -1                    ; encoding: [0xc1,0x65,0x85,0xbe]
 0xc1,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, -1                    ; encoding: [0xc1,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, 0.5                   ; encoding: [0xf0,0x65,0x85,0xbe]
 0xf0,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, 0.5                   ; encoding: [0xf0,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, -4.0                  ; encoding: [0xf7,0x65,0x85,0xbe]
 0xf7,0x65,0x85,0xbe
+# GFX12: s_cvt_f32_u32 s5, -4.0                  ; encoding: [0xf7,0x65,0x85,0xbe]
 
-# GFX12: s_cvt_f32_u32 s5, 0xaf123456            ; encoding: [0xff,0x65,0x85,0xbe,0x56,0x34,0x12,0xaf]
 0xff,0x65,0x85,0xbe,0x56,0x34,0x12,0xaf
+# GFX12: s_cvt_f32_u32 s5, 0xaf123456            ; encoding: [0xff,0x65,0x85,0xbe,0x56,0x34,0x12,0xaf]
 
-# GFX12: s_cvt_f32_u32 s5, 0x3f717273            ; encoding: [0xff,0x65,0x85,0xbe,0x73,0x72,0x71,0x3f]
 0xff,0x65,0x85,0xbe,0x73,0x72,0x71,0x3f
+# GFX12: s_cvt_f32_u32 s5, 0x3f717273            ; encoding: [0xff,0x65,0x85,0xbe,0x73,0x72,0x71,0x3f]
 
-# GFX12: s_cvt_u32_f32 s5, s1                    ; encoding: [0x01,0x67,0x85,0xbe]
 0x01,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, s1                    ; encoding: [0x01,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s105, s1                  ; encoding: [0x01,0x67,0xe9,0xbe]
 0x01,0x67,0xe9,0xbe
+# GFX12: s_cvt_u32_f32 s105, s1                  ; encoding: [0x01,0x67,0xe9,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, s105                  ; encoding: [0x69,0x67,0x85,0xbe]
 0x69,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, s105                  ; encoding: [0x69,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, s103                  ; encoding: [0x67,0x67,0x85,0xbe]
 0x67,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, s103                  ; encoding: [0x67,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, vcc_lo                ; encoding: [0x6a,0x67,0x85,0xbe]
 0x6a,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, vcc_lo                ; encoding: [0x6a,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, vcc_hi                ; encoding: [0x6b,0x67,0x85,0xbe]
 0x6b,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, vcc_hi                ; encoding: [0x6b,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, ttmp11                ; encoding: [0x77,0x67,0x85,0xbe]
 0x77,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, ttmp11                ; encoding: [0x77,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, m0                    ; encoding: [0x7d,0x67,0x85,0xbe]
 0x7d,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, m0                    ; encoding: [0x7d,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, exec_lo               ; encoding: [0x7e,0x67,0x85,0xbe]
 0x7e,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, exec_lo               ; encoding: [0x7e,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, exec_hi               ; encoding: [0x7f,0x67,0x85,0xbe]
 0x7f,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, exec_hi               ; encoding: [0x7f,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, 0                     ; encoding: [0x80,0x67,0x85,0xbe]
 0x80,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, 0                     ; encoding: [0x80,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, -1                    ; encoding: [0xc1,0x67,0x85,0xbe]
 0xc1,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, -1                    ; encoding: [0xc1,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, 0.5                   ; encoding: [0xf0,0x67,0x85,0xbe]
 0xf0,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, 0.5                   ; encoding: [0xf0,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, -4.0                  ; encoding: [0xf7,0x67,0x85,0xbe]
 0xf7,0x67,0x85,0xbe
+# GFX12: s_cvt_u32_f32 s5, -4.0                  ; encoding: [0xf7,0x67,0x85,0xbe]
 
-# GFX12: s_cvt_u32_f32 s5, 0xaf123456            ; encoding: [0xff,0x67,0x85,0xbe,0x56,0x34,0x12,0xaf]
 0xff,0x67,0x85,0xbe,0x56,0x34,0x12,0xaf
+# GFX12: s_cvt_u32_f32 s5, 0xaf123456            ; encoding: [0xff,0x67,0x85,0xbe,0x56,0x34,0x12,0xaf]
 
-# GFX12: s_cvt_u32_f32 s5, 0x3f717273            ; encoding: [0xff,0x67,0x85,0xbe,0x73,0x72,0x71,0x3f]
 0xff,0x67,0x85,0xbe,0x73,0x72,0x71,0x3f
+# GFX12: s_cvt_u32_f32 s5, 0x3f717273            ; encoding: [0xff,0x67,0x85,0xbe,0x73,0x72,0x71,0x3f]
 
-# GFX12: s_cvt_i32_f32 s5, s1                    ; encoding: [0x01,0x66,0x85,0xbe]
 0x01,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, s1                    ; encoding: [0x01,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s105, s1                  ; encoding: [0x01,0x66,0xe9,0xbe]
 0x01,0x66,0xe9,0xbe
+# GFX12: s_cvt_i32_f32 s105, s1                  ; encoding: [0x01,0x66,0xe9,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, s105                  ; encoding: [0x69,0x66,0x85,0xbe]
 0x69,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, s105                  ; encoding: [0x69,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, s103                  ; encoding: [0x67,0x66,0x85,0xbe]
 0x67,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, s103                  ; encoding: [0x67,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, vcc_lo                ; encoding: [0x6a,0x66,0x85,0xbe]
 0x6a,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, vcc_lo                ; encoding: [0x6a,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, vcc_hi                ; encoding: [0x6b,0x66,0x85,0xbe]
 0x6b,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, vcc_hi                ; encoding: [0x6b,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, ttmp11                ; encoding: [0x77,0x66,0x85,0xbe]
 0x77,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, ttmp11                ; encoding: [0x77,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, m0                    ; encoding: [0x7d,0x66,0x85,0xbe]
 0x7d,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, m0                    ; encoding: [0x7d,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, exec_lo               ; encoding: [0x7e,0x66,0x85,0xbe]
 0x7e,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, exec_lo               ; encoding: [0x7e,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, exec_hi               ; encoding: [0x7f,0x66,0x85,0xbe]
 0x7f,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, exec_hi               ; encoding: [0x7f,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, 0                     ; encoding: [0x80,0x66,0x85,0xbe]
 0x80,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, 0                     ; encoding: [0x80,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, -1                    ; encoding: [0xc1,0x66,0x85,0xbe]
 0xc1,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, -1                    ; encoding: [0xc1,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, 0.5                   ; encoding: [0xf0,0x66,0x85,0xbe]
 0xf0,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, 0.5                   ; encoding: [0xf0,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, -4.0                  ; encoding: [0xf7,0x66,0x85,0xbe]
 0xf7,0x66,0x85,0xbe
+# GFX12: s_cvt_i32_f32 s5, -4.0                  ; encoding: [0xf7,0x66,0x85,0xbe]
 
-# GFX12: s_cvt_i32_f32 s5, 0xaf123456            ; encoding: [0xff,0x66,0x85,0xbe,0x56,0x34,0x12,0xaf]
 0xff,0x66,0x85,0xbe,0x56,0x34,0x12,0xaf
+# GFX12: s_cvt_i32_f32 s5, 0xaf123456            ; encoding: [0xff,0x66,0x85,0xbe,0x56,0x34,0x12,0xaf]
 
-# GFX12: s_cvt_i32_f32 s5, 0x3f717273            ; encoding: [0xff,0x66,0x85,0xbe,0x73,0x72,0x71,0x3f]
 0xff,0x66,0x85,0xbe,0x73,0x72,0x71,0x3f
+# GFX12: s_cvt_i32_f32 s5, 0x3f717273            ; encoding: [0xff,0x66,0x85,0xbe,0x73,0x72,0x71,0x3f]
 
-# GFX12: s_cvt_f16_f32 s5, s1                    ; encoding: [0x01,0x68,0x85,0xbe]
 0x01,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, s1                    ; encoding: [0x01,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s105, s1                  ; encoding: [0x01,0x68,0xe9,0xbe]
 0x01,0x68,0xe9,0xbe
+# GFX12: s_cvt_f16_f32 s105, s1                  ; encoding: [0x01,0x68,0xe9,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, s105                  ; encoding: [0x69,0x68,0x85,0xbe]
 0x69,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, s105                  ; encoding: [0x69,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, s103                  ; encoding: [0x67,0x68,0x85,0xbe]
 0x67,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, s103                  ; encoding: [0x67,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, vcc_lo                ; encoding: [0x6a,0x68,0x85,0xbe]
 0x6a,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, vcc_lo                ; encoding: [0x6a,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, vcc_hi                ; encoding: [0x6b,0x68,0x85,0xbe]
 0x6b,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, vcc_hi                ; encoding: [0x6b,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, ttmp11                ; encoding: [0x77,0x68,0x85,0xbe]
 0x77,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, ttmp11                ; encoding: [0x77,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, m0                    ; encoding: [0x7d,0x68,0x85,0xbe]
 0x7d,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, m0                    ; encoding: [0x7d,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, exec_lo               ; encoding: [0x7e,0x68,0x85,0xbe]
 0x7e,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, exec_lo               ; encoding: [0x7e,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, exec_hi               ; encoding: [0x7f,0x68,0x85,0xbe]
 0x7f,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, exec_hi               ; encoding: [0x7f,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, 0                     ; encoding: [0x80,0x68,0x85,0xbe]
 0x80,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, 0                     ; encoding: [0x80,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, -1                    ; encoding: [0xc1,0x68,0x85,0xbe]
 0xc1,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, -1                    ; encoding: [0xc1,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, 0.5                   ; encoding: [0xf0,0x68,0x85,0xbe]
 0xf0,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, 0.5                   ; encoding: [0xf0,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, -4.0                  ; encoding: [0xf7,0x68,0x85,0xbe]
 0xf7,0x68,0x85,0xbe
+# GFX12: s_cvt_f16_f32 s5, -4.0                  ; encoding: [0xf7,0x68,0x85,0xbe]
 
-# GFX12: s_cvt_f16_f32 s5, 0xaf123456            ; encoding: [0xff,0x68,0x85,0xbe,0x56,0x34,0x12,0xaf]
 0xff,0x68,0x85,0xbe,0x56,0x34,0x12,0xaf
+# GFX12: s_cvt_f16_f32 s5, 0xaf123456            ; encoding: [0xff,0x68,0x85,0xbe,0x56,0x34,0x12,0xaf]
 
-# GFX12: s_cvt_f16_f32 s5, 0x3f717273            ; encoding: [0xff,0x68,0x85,0xbe,0x73,0x72,0x71,0x3f]
 0xff,0x68,0x85,0xbe,0x73,0x72,0x71,0x3f
+# GFX12: s_cvt_f16_f32 s5, 0x3f717273            ; encoding: [0xff,0x68,0x85,0xbe,0x73,0x72,0x71,0x3f]
 
-# GFX12: s_cvt_f32_f16 s5, s1                    ; encoding: [0x01,0x69,0x85,0xbe]
 0x01,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, s1                    ; encoding: [0x01,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s105, s1                  ; encoding: [0x01,0x69,0xe9,0xbe]
 0x01,0x69,0xe9,0xbe
+# GFX12: s_cvt_f32_f16 s105, s1                  ; encoding: [0x01,0x69,0xe9,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, s105                  ; encoding: [0x69,0x69,0x85,0xbe]
 0x69,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, s105                  ; encoding: [0x69,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, s103                  ; encoding: [0x67,0x69,0x85,0xbe]
 0x67,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, s103                  ; encoding: [0x67,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, vcc_lo                ; encoding: [0x6a,0x69,0x85,0xbe]
 0x6a,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, vcc_lo                ; encoding: [0x6a,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, vcc_hi                ; encoding: [0x6b,0x69,0x85,0xbe]
 0x6b,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, vcc_hi                ; encoding: [0x6b,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, ttmp11                ; encoding: [0x77,0x69,0x85,0xbe]
 0x77,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, ttmp11                ; encoding: [0x77,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, m0                    ; encoding: [0x7d,0x69,0x85,0xbe]
 0x7d,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, m0                    ; encoding: [0x7d,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, exec_lo               ; encoding: [0x7e,0x69,0x85,0xbe]
 0x7e,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, exec_lo               ; encoding: [0x7e,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, exec_hi               ; encoding: [0x7f,0x69,0x85,0xbe]
 0x7f,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, exec_hi               ; encoding: [0x7f,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, 0                     ; encoding: [0x80,0x69,0x85,0xbe]
 0x80,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, 0                     ; encoding: [0x80,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_f32_f16 s5, -1                    ; encoding: [0xc1,0x69,0x85,0xbe]
 0xc1,0x69,0x85,0xbe
+# GFX12: s_cvt_f32_f16 s5, -1                    ; encoding: [0xc1,0x69,0x85,0xbe]
 
-# GFX12: s_cvt_hi_f32_f16 s5, s1                 ; encoding: [0x01,0x6a,0x85,0xbe]
 0x01,0x6a,0x85,0xbe
+# GFX12: s_cvt_hi_f32_f16 s5, s1                 ; encoding: [0x01,0x6a,0x85,0xbe]
 
-# GFX12: s_cvt_hi_f32_f16 s105, s1               ; encoding: [0x01,0x6a,0xe9,0xbe]
 0x01,0x6a,0xe9,0xbe
+# GFX12: s_cvt_hi_f32_f16 s105, s1               ; encoding: [0x01,0x6a,0xe9,0xbe]
 
-# GFX12: s_cvt_hi_f32_f16 s5, s105               ; encoding: [0x69,0x6a,0x85,0xbe]
 0x69,0x6a,0x85,0xbe
+# GFX12: s_cvt_hi_f32_f16 s5, s105               ; encoding: [0x69,0x6a,0x85,0xbe]
 
-# GFX12: s_cvt_hi_f32_f16 s5, s103               ; encoding: [0x67,0x6a,0x85,0xbe]
 0x67,0x6a,0x85,0xbe
+# GFX12: s_cvt_hi_f32_f16...
[truncated]

@shiltian shiltian merged commit c337e2d into main Mar 11, 2025
12 of 13 checks passed
@shiltian shiltian deleted the users/shiltian/autogen-check-lines-for-some-disassembler-tests branch March 11, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:AMDGPU mc Machine (object) code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants