-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[AMDGPU][True16][MC]update vop3 dasm test with latest script #118686
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
[AMDGPU][True16][MC]update vop3 dasm test with latest script #118686
Conversation
@llvm/pr-subscribers-mc Author: Brox Chen (broxigarchen) ChangesThis is a NFC. Update dasm test for VOP3 using latest update script Patch is 3.40 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/118686.diff 6 Files Affected:
diff --git a/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt b/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
index 365caa5f9b6d09..c580c19e1bcd8f 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
+++ b/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
@@ -1,6582 +1,6587 @@
-; NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
+# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W32,W32-REAL16 %s
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W32,W32-FAKE16 %s
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64,+real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W64,W64-REAL16 %s
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64,-real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W64,W64-FAKE16 %s
-# GFX11: v_add3_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x55,0xd6,0x01,0x05,0x0e,0x00]
0x05,0x00,0x55,0xd6,0x01,0x05,0x0e,0x00
+# GFX11: v_add3_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x55,0xd6,0x01,0x05,0x0e,0x00]
-# GFX11: v_add3_u32 v5, v255, s2, s105 ; encoding: [0x05,0x00,0x55,0xd6,0xff,0x05,0xa4,0x01]
0x05,0x00,0x55,0xd6,0xff,0x05,0xa4,0x01
+# GFX11: v_add3_u32 v5, v255, s2, s105 ; encoding: [0x05,0x00,0x55,0xd6,0xff,0x05,0xa4,0x01]
-# GFX11: v_add3_u32 v5, s1, v255, exec_hi ; encoding: [0x05,0x00,0x55,0xd6,0x01,0xfe,0xff,0x01]
0x05,0x00,0x55,0xd6,0x01,0xfe,0xff,0x01
+# GFX11: v_add3_u32 v5, s1, v255, exec_hi ; encoding: [0x05,0x00,0x55,0xd6,0x01,0xfe,0xff,0x01]
-# GFX11: v_add3_u32 v5, s105, s105, exec_lo ; encoding: [0x05,0x00,0x55,0xd6,0x69,0xd2,0xf8,0x01]
0x05,0x00,0x55,0xd6,0x69,0xd2,0xf8,0x01
+# GFX11: v_add3_u32 v5, s105, s105, exec_lo ; encoding: [0x05,0x00,0x55,0xd6,0x69,0xd2,0xf8,0x01]
-# GFX11: v_add3_u32 v5, vcc_lo, ttmp15, v3 ; encoding: [0x05,0x00,0x55,0xd6,0x6a,0xf6,0x0c,0x04]
0x05,0x00,0x55,0xd6,0x6a,0xf6,0x0c,0x04
+# GFX11: v_add3_u32 v5, vcc_lo, ttmp15, v3 ; encoding: [0x05,0x00,0x55,0xd6,0x6a,0xf6,0x0c,0x04]
-# GFX11: v_add3_u32 v5, vcc_hi, 0xaf123456, v255 ; encoding: [0x05,0x00,0x55,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf]
0x05,0x00,0x55,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf
+# GFX11: v_add3_u32 v5, vcc_hi, 0xaf123456, v255 ; encoding: [0x05,0x00,0x55,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf]
-# GFX11: v_add3_u32 v5, ttmp15, src_scc, ttmp15 ; encoding: [0x05,0x00,0x55,0xd6,0x7b,0xfa,0xed,0x01]
0x05,0x00,0x55,0xd6,0x7b,0xfa,0xed,0x01
+# GFX11: v_add3_u32 v5, ttmp15, src_scc, ttmp15 ; encoding: [0x05,0x00,0x55,0xd6,0x7b,0xfa,0xed,0x01]
-# GFX11: v_add3_u32 v5, m0, 0.5, m0 ; encoding: [0x05,0x00,0x55,0xd6,0x7d,0xe0,0xf5,0x01]
0x05,0x00,0x55,0xd6,0x7d,0xe0,0xf5,0x01
+# GFX11: v_add3_u32 v5, m0, 0.5, m0 ; encoding: [0x05,0x00,0x55,0xd6,0x7d,0xe0,0xf5,0x01]
-# GFX11: v_add3_u32 v5, exec_lo, -1, vcc_hi ; encoding: [0x05,0x00,0x55,0xd6,0x7e,0x82,0xad,0x01]
0x05,0x00,0x55,0xd6,0x7e,0x82,0xad,0x01
+# GFX11: v_add3_u32 v5, exec_lo, -1, vcc_hi ; encoding: [0x05,0x00,0x55,0xd6,0x7e,0x82,0xad,0x01]
-# GFX11: v_add3_u32 v5, exec_hi, null, vcc_lo ; encoding: [0x05,0x00,0x55,0xd6,0x7f,0xf8,0xa8,0x01]
0x05,0x00,0x55,0xd6,0x7f,0xf8,0xa8,0x01
+# GFX11: v_add3_u32 v5, exec_hi, null, vcc_lo ; encoding: [0x05,0x00,0x55,0xd6,0x7f,0xf8,0xa8,0x01]
-# GFX11: v_add3_u32 v5, null, exec_lo, 0xaf123456 ; encoding: [0x05,0x00,0x55,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf]
0x05,0x00,0x55,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf
+# GFX11: v_add3_u32 v5, null, exec_lo, 0xaf123456 ; encoding: [0x05,0x00,0x55,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf]
-# GFX11: v_add3_u32 v5, -1, exec_hi, src_scc ; encoding: [0x05,0x00,0x55,0xd6,0xc1,0xfe,0xf4,0x03]
0x05,0x00,0x55,0xd6,0xc1,0xfe,0xf4,0x03
+# GFX11: v_add3_u32 v5, -1, exec_hi, src_scc ; encoding: [0x05,0x00,0x55,0xd6,0xc1,0xfe,0xf4,0x03]
-# GFX11: v_add3_u32 v5, 0.5, m0, 0.5 ; encoding: [0x05,0x00,0x55,0xd6,0xf0,0xfa,0xc0,0x03]
0x05,0x00,0x55,0xd6,0xf0,0xfa,0xc0,0x03
+# GFX11: v_add3_u32 v5, 0.5, m0, 0.5 ; encoding: [0x05,0x00,0x55,0xd6,0xf0,0xfa,0xc0,0x03]
-# GFX11: v_add3_u32 v5, src_scc, vcc_lo, -1 ; encoding: [0x05,0x00,0x55,0xd6,0xfd,0xd4,0x04,0x03]
0x05,0x00,0x55,0xd6,0xfd,0xd4,0x04,0x03
+# GFX11: v_add3_u32 v5, src_scc, vcc_lo, -1 ; encoding: [0x05,0x00,0x55,0xd6,0xfd,0xd4,0x04,0x03]
-# GFX11: v_add3_u32 v255, 0xaf123456, vcc_hi, null ; encoding: [0xff,0x00,0x55,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
0xff,0x00,0x55,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf
+# GFX11: v_add3_u32 v255, 0xaf123456, vcc_hi, null ; encoding: [0xff,0x00,0x55,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
-# W32: v_add_co_u32 v5, s12, v1, v2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00]
-# W64: v_add_co_u32 v5, s[12:13], v1, v2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00]
0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00
+# W32: v_add_co_u32 v5, s12, v1, v2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00]
+# W64: v_add_co_u32 v5, s[12:13], v1, v2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00]
-# W32: v_add_co_u32 v5, s12, v255, v255 ; encoding: [0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00]
-# W64: v_add_co_u32 v5, s[12:13], v255, v255 ; encoding: [0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00]
0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00
+# W32: v_add_co_u32 v5, s12, v255, v255 ; encoding: [0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00]
+# W64: v_add_co_u32 v5, s[12:13], v255, v255 ; encoding: [0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00]
-# W32: v_add_co_u32 v5, s12, s1, s2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], s1, s2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00
+# W32: v_add_co_u32 v5, s12, s1, s2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], s1, s2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00]
-# W32: v_add_co_u32 v5, s12, s105, s105 ; encoding: [0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], s105, s105 ; encoding: [0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00
+# W32: v_add_co_u32 v5, s12, s105, s105 ; encoding: [0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], s105, s105 ; encoding: [0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00]
-# W32: v_add_co_u32 v5, s12, vcc_lo, ttmp15 ; encoding: [0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], vcc_lo, ttmp15 ; encoding: [0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00
+# W32: v_add_co_u32 v5, s12, vcc_lo, ttmp15 ; encoding: [0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], vcc_lo, ttmp15 ; encoding: [0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00]
-# W32: v_add_co_u32 v5, s12, vcc_hi, 0xaf123456 ; encoding: [0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
-# W64: v_add_co_u32 v5, s[12:13], vcc_hi, 0xaf123456 ; encoding: [0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf
+# W32: v_add_co_u32 v5, s12, vcc_hi, 0xaf123456 ; encoding: [0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
+# W64: v_add_co_u32 v5, s[12:13], vcc_hi, 0xaf123456 ; encoding: [0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
-# W32: v_add_co_u32 v5, s12, ttmp15, src_scc ; encoding: [0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00]
-# W64: v_add_co_u32 v5, s[12:13], ttmp15, src_scc ; encoding: [0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00]
0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00
+# W32: v_add_co_u32 v5, s12, ttmp15, src_scc ; encoding: [0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00]
+# W64: v_add_co_u32 v5, s[12:13], ttmp15, src_scc ; encoding: [0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00]
-# W32: v_add_co_u32 v5, s12, m0, 0.5 ; encoding: [0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00]
-# W64: v_add_co_u32 v5, s[12:13], m0, 0.5 ; encoding: [0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00]
0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00
+# W32: v_add_co_u32 v5, s12, m0, 0.5 ; encoding: [0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00]
+# W64: v_add_co_u32 v5, s[12:13], m0, 0.5 ; encoding: [0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00]
-# W32: v_add_co_u32 v5, s12, exec_lo, -1 ; encoding: [0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00]
-# W64: v_add_co_u32 v5, s[12:13], exec_lo, -1 ; encoding: [0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00]
0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00
+# W32: v_add_co_u32 v5, s12, exec_lo, -1 ; encoding: [0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00]
+# W64: v_add_co_u32 v5, s[12:13], exec_lo, -1 ; encoding: [0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00]
-# W32: v_add_co_u32 v5, s12, exec_hi, null ; encoding: [0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], exec_hi, null ; encoding: [0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00
+# W32: v_add_co_u32 v5, s12, exec_hi, null ; encoding: [0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], exec_hi, null ; encoding: [0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00]
-# W32: v_add_co_u32 v5, s12, null, exec_lo ; encoding: [0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], null, exec_lo ; encoding: [0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00
+# W32: v_add_co_u32 v5, s12, null, exec_lo ; encoding: [0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], null, exec_lo ; encoding: [0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00]
-# W32: v_add_co_u32 v5, s104, -1, exec_hi ; encoding: [0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00]
-# W64: v_add_co_u32 v5, s[104:105], -1, exec_hi ; encoding: [0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00]
0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00
+# W32: v_add_co_u32 v5, s104, -1, exec_hi ; encoding: [0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00]
+# W64: v_add_co_u32 v5, s[104:105], -1, exec_hi ; encoding: [0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00]
-# W32: v_add_co_u32 v5, vcc_lo, 0.5, m0 ; encoding: [0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00]
-# W64: v_add_co_u32 v5, vcc, 0.5, m0 ; encoding: [0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00]
0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00
+# W32: v_add_co_u32 v5, vcc_lo, 0.5, m0 ; encoding: [0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00]
+# W64: v_add_co_u32 v5, vcc, 0.5, m0 ; encoding: [0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00]
-# W32: v_add_co_u32 v5, ttmp14, src_scc, vcc_lo ; encoding: [0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00]
-# W64: v_add_co_u32 v5, ttmp[14:15], src_scc, vcc_lo ; encoding: [0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00]
0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00
+# W32: v_add_co_u32 v5, ttmp14, src_scc, vcc_lo ; encoding: [0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00]
+# W64: v_add_co_u32 v5, ttmp[14:15], src_scc, vcc_lo ; encoding: [0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00]
-# GFX11: v_add_co_u32 v255, null, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0xfc,0x00,0xd7,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
0xff,0xfc,0x00,0xd7,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf
+# GFX11: v_add_co_u32 v255, null, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0xfc,0x00,0xd7,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_f64 v[5:6], v[1:2], v[2:3] ; encoding: [0x05,0x00,0x27,0xd7,0x01,0x05,0x02,0x00]
0x05,0x00,0x27,0xd7,0x01,0x05,0x02,0x00
+# GFX11: v_add_f64 v[5:6], v[1:2], v[2:3] ; encoding: [0x05,0x00,0x27,0xd7,0x01,0x05,0x02,0x00]
-# GFX11: v_add_f64 v[5:6], v[254:255], v[254:255] ; encoding: [0x05,0x00,0x27,0xd7,0xfe,0xfd,0x03,0x00]
0x05,0x00,0x27,0xd7,0xfe,0xfd,0x03,0x00
+# GFX11: v_add_f64 v[5:6], v[254:255], v[254:255] ; encoding: [0x05,0x00,0x27,0xd7,0xfe,0xfd,0x03,0x00]
-# GFX11: v_add_f64 v[5:6], s[2:3], s[4:5] ; encoding: [0x05,0x00,0x27,0xd7,0x02,0x08,0x00,0x00]
0x05,0x00,0x27,0xd7,0x02,0x08,0x00,0x00
+# GFX11: v_add_f64 v[5:6], s[2:3], s[4:5] ; encoding: [0x05,0x00,0x27,0xd7,0x02,0x08,0x00,0x00]
-# GFX11: v_add_f64 v[5:6], s[104:105], s[104:105] ; encoding: [0x05,0x00,0x27,0xd7,0x68,0xd0,0x00,0x00]
0x05,0x00,0x27,0xd7,0x68,0xd0,0x00,0x00
+# GFX11: v_add_f64 v[5:6], s[104:105], s[104:105] ; encoding: [0x05,0x00,0x27,0xd7,0x68,0xd0,0x00,0x00]
-# GFX11: v_add_f64 v[5:6], vcc, ttmp[14:15] ; encoding: [0x05,0x00,0x27,0xd7,0x6a,0xf4,0x00,0x00]
0x05,0x00,0x27,0xd7,0x6a,0xf4,0x00,0x00
+# GFX11: v_add_f64 v[5:6], vcc, ttmp[14:15] ; encoding: [0x05,0x00,0x27,0xd7,0x6a,0xf4,0x00,0x00]
-# GFX11: v_add_f64 v[5:6], ttmp[14:15], 0xaf123456 ; encoding: [0x05,0x00,0x27,0xd7,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
0x05,0x00,0x27,0xd7,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf
+# GFX11: v_add_f64 v[5:6], ttmp[14:15], 0xaf123456 ; encoding: [0x05,0x00,0x27,0xd7,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_f64 v[5:6], -|exec|, src_scc ; encoding: [0x05,0x01,0x27,0xd7,0x7e,0xfa,0x01,0x20]
0x05,0x01,0x27,0xd7,0x7e,0xfa,0x01,0x20
+# GFX11: v_add_f64 v[5:6], -|exec|, src_scc ; encoding: [0x05,0x01,0x27,0xd7,0x7e,0xfa,0x01,0x20]
-# GFX11: v_add_f64 v[5:6], null, 0.5 ; encoding: [0x05,0x00,0x27,0xd7,0x7c,0xe0,0x01,0x00]
0x05,0x00,0x27,0xd7,0x7c,0xe0,0x01,0x00
+# GFX11: v_add_f64 v[5:6], null, 0.5 ; encoding: [0x05,0x00,0x27,0xd7,0x7c,0xe0,0x01,0x00]
-# GFX11: v_add_f64 v[5:6], -1, -1 ; encoding: [0x05,0x00,0x27,0xd7,0xc1,0x82,0x01,0x00]
0x05,0x00,0x27,0xd7,0xc1,0x82,0x01,0x00
+# GFX11: v_add_f64 v[5:6], -1, -1 ; encoding: [0x05,0x00,0x27,0xd7,0xc1,0x82,0x01,0x00]
-# GFX11: v_add_f64 v[5:6], 0.5, null mul:2 ; encoding: [0x05,0x00,0x27,0xd7,0xf0,0xf8,0x00,0x08]
0x05,0x00,0x27,0xd7,0xf0,0xf8,0x00,0x08
+# GFX11: v_add_f64 v[5:6], 0.5, null mul:2 ; encoding: [0x05,0x00,0x27,0xd7,0xf0,0xf8,0x00,0x08]
-# GFX11: v_add_f64 v[5:6], -|src_scc|, -|exec| mul:4 ; encoding: [0x05,0x03,0x27,0xd7,0xfd,0xfc,0x00,0x70]
0x05,0x03,0x27,0xd7,0xfd,0xfc,0x00,0x70
+# GFX11: v_add_f64 v[5:6], -|src_scc|, -|exec| mul:4 ; encoding: [0x05,0x03,0x27,0xd7,0xfd,0xfc,0x00,0x70]
-# GFX11: v_add_f64 v[254:255], 0xaf123456, -|vcc| clamp div:2 ; encoding: [0xfe,0x82,0x27,0xd7,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf]
0xfe,0x82,0x27,0xd7,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf
+# GFX11: v_add_f64 v[254:255], 0xaf123456, -|vcc| clamp div:2 ; encoding: [0xfe,0x82,0x27,0xd7,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_lshl_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x47,0xd6,0x01,0x05,0x0e,0x00]
0x05,0x00,0x47,0xd6,0x01,0x05,0x0e,0x00
+# GFX11: v_add_lshl_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x47,0xd6,0x01,0x05,0x0e,0x00]
-# GFX11: v_add_lshl_u32 v5, v255, s2, s105 ; encoding: [0x05,0x00,0x47,0xd6,0xff,0x05,0xa4,0x01]
0x05,0x00,0x47,0xd6,0xff,0x05,0xa4,0x01
+# GFX11: v_add_lshl_u32 v5, v255, s2, s105 ; encoding: [0x05,0x00,0x47,0xd6,0xff,0x05,0xa4,0x01]
-# GFX11: v_add_lshl_u32 v5, s1, v255, exec_hi ; encoding: [0x05,0x00,0x47,0xd6,0x01,0xfe,0xff,0x01]
0x05,0x00,0x47,0xd6,0x01,0xfe,0xff,0x01
+# GFX11: v_add_lshl_u32 v5, s1, v255, exec_hi ; encoding: [0x05,0x00,0x47,0xd6,0x01,0xfe,0xff,0x01]
-# GFX11: v_add_lshl_u32 v5, s105, s105, exec_lo ; encoding: [0x05,0x00,0x47,0xd6,0x69,0xd2,0xf8,0x01]
0x05,0x00,0x47,0xd6,0x69,0xd2,0xf8,0x01
+# GFX11: v_add_lshl_u32 v5, s105, s105, exec_lo ; encoding: [0x05,0x00,0x47,0xd6,0x69,0xd2,0xf8,0x01]
-# GFX11: v_add_lshl_u32 v5, vcc_lo, ttmp15, v3 ; encoding: [0x05,0x00,0x47,0xd6,0x6a,0xf6,0x0c,0x04]
0x05,0x00,0x47,0xd6,0x6a,0xf6,0x0c,0x04
+# GFX11: v_add_lshl_u32 v5, vcc_lo, ttmp15, v3 ; encoding: [0x05,0x00,0x47,0xd6,0x6a,0xf6,0x0c,0x04]
-# GFX11: v_add_lshl_u32 v5, vcc_hi, 0xaf123456, v255 ; encoding: [0x05,0x00,0x47,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf]
0x05,0x00,0x47,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf
+# GFX11: v_add_lshl_u32 v5, vcc_hi, 0xaf123456, v255 ; encoding: [0x05,0x00,0x47,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_lshl_u32 v5, ttmp15, src_scc, ttmp15 ; encoding: [0x05,0x00,0x47,0xd6,0x7b,0xfa,0xed,0x01]
0x05,0x00,0x47,0xd6,0x7b,0xfa,0xed,0x01
+# GFX11: v_add_lshl_u32 v5, ttmp15, src_scc, ttmp15 ; encoding: [0x05,0x00,0x47,0xd6,0x7b,0xfa,0xed,0x01]
-# GFX11: v_add_lshl_u32 v5, m0, 0.5, m0 ; encoding: [0x05,0x00,0x47,0xd6,0x7d,0xe0,0xf5,0x01]
0x05,0x00,0x47,0xd6,0x7d,0xe0,0xf5,0x01
+# GFX11: v_add_lshl_u32 v5, m0, 0.5, m0 ; encoding: [0x05,0x00,0x47,0xd6,0x7d,0xe0,0xf5,0x01]
-# GFX11: v_add_lshl_u32 v5, exec_lo, -1, vcc_hi ; encoding: [0x05,0x00,0x47,0xd6,0x7e,0x82,0xad,0x01]
0x05,0x00,0x47,0xd6,0x7e,0x82,0xad,0x01
+# GFX11: v_add_lshl_u32 v5, exec_lo, -1, vcc_hi ; encoding: [0x05,0x00,0x47,0xd6,0x7e,0x82,0xad,0x01]
-# GFX11: v_add_lshl_u32 v5, exec_hi, null, vcc_lo ; encoding: [0x05,0x00,0x47,0xd6,0x7f,0xf8,0xa8,0x01]
0x05,0x00,0x47,0xd6,0x7f,0xf8,0xa8,0x01
+# GFX11: v_add_lshl_u32 v5, exec_hi, null, vcc_lo ; encoding: [0x05,0x00,0x47,0xd6,0x7f,0xf8,0xa8,0x01]
-# GFX11: v_add_lshl_u32 v5, null, exec_lo, 0xaf123456 ; encoding: [0x05,0x00,0x47,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf]
0x05,0x00,0x47,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf
+# GFX11: v_add_lshl_u32 v5, null, exec_lo, 0xaf123456 ; encoding: [0x05,0x00,0x47,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_lshl_u32 v5, -1, exec_hi, src_scc ; encoding: [0x05,0x00,0x47,0xd6,0xc1,0xfe,0xf4,0x03]
0x05,0x00,0x47,0xd6,0xc1,0xfe,0xf4,0x03
+# GFX11: v_add_lshl_u32 v5, -1, exec_hi, src_scc ; encoding: [0x05,0x00,0x47,0xd6,0xc1,0xfe,0xf4,0x03]
-# GFX11: v_add_lshl_u32 v5, 0.5, m0, 0.5 ; encoding: [0x05,0x00,0x47,0xd6,0xf0,0xfa,0xc0,0x03]
0x05,0x00,0x47,0xd6,0xf0,0xfa,0xc0,0x03
+# GFX11: v_add_lshl_u32 v5, 0.5, m0, 0.5 ; encoding: [0x05,0x00,0x47,0xd6,0xf0,0xfa,0xc0,0x03]
-# GFX11: v_add_lshl_u32 v5, src_scc, vcc_lo, -1 ; encoding: [0x05,0x00,0x47,0xd6,0xfd,0xd4,0x04,0x03]
0x05,0x00,0x47,0xd6,0xfd,0xd4,0x04,0x03
+# GFX11: v_add_lshl_u32 v5, src_scc, vcc_lo, -1 ; encoding: [0x05,0x00,0x47,0xd6,0xfd,0xd4,0x04,0x03]
-# GFX11: v_add_lshl_u32 v255, 0xaf123456, vcc_hi, null ; encoding: [0xff,0x00,0x47,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
0xff,0x00,0x47,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf
+# GFX11: v_add_lshl_u32 v255, 0xaf123456, vcc_hi, null ; encoding: [0xff,0x00,0x47,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
+0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00
# W32-REAL16: v_add_nc_i16 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
# W32-FAKE16: v_add_nc_i16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
# W64-REAL16: v_add_nc_i16 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
# W64-FAKE16: v_add_nc_i16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
-0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00
+0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00
# W32-REAL16: v_add_nc_i16 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
# W32-FAKE16: v_add_nc_i16 v5, v255, v255 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
# W64-REAL16: v_add_nc_i16 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
# W64-FAKE16: v_add_nc_i16 v5, v255, v255 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
-0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00
+0x05,0x00,0x0d,0xd7,0x01,0x04,0x00,0x00
# W32-REAL16: v_add_nc_i16 v5.l, s1, s2 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x04,0x00,0x00]
# W32-FAKE16: v_add_nc_i16 v5, s1, s2 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x04,0x00,0x00]
# W64-REAL16: v_add_nc_i16 v5.l, s1, s2 ; encoding:...
[truncated]
|
@llvm/pr-subscribers-backend-amdgpu Author: Brox Chen (broxigarchen) ChangesThis is a NFC. Update dasm test for VOP3 using latest update script Patch is 3.40 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/118686.diff 6 Files Affected:
diff --git a/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt b/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
index 365caa5f9b6d09..c580c19e1bcd8f 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
+++ b/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
@@ -1,6582 +1,6587 @@
-; NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
+# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W32,W32-REAL16 %s
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W32,W32-FAKE16 %s
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64,+real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W64,W64-REAL16 %s
# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64,-real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W64,W64-FAKE16 %s
-# GFX11: v_add3_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x55,0xd6,0x01,0x05,0x0e,0x00]
0x05,0x00,0x55,0xd6,0x01,0x05,0x0e,0x00
+# GFX11: v_add3_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x55,0xd6,0x01,0x05,0x0e,0x00]
-# GFX11: v_add3_u32 v5, v255, s2, s105 ; encoding: [0x05,0x00,0x55,0xd6,0xff,0x05,0xa4,0x01]
0x05,0x00,0x55,0xd6,0xff,0x05,0xa4,0x01
+# GFX11: v_add3_u32 v5, v255, s2, s105 ; encoding: [0x05,0x00,0x55,0xd6,0xff,0x05,0xa4,0x01]
-# GFX11: v_add3_u32 v5, s1, v255, exec_hi ; encoding: [0x05,0x00,0x55,0xd6,0x01,0xfe,0xff,0x01]
0x05,0x00,0x55,0xd6,0x01,0xfe,0xff,0x01
+# GFX11: v_add3_u32 v5, s1, v255, exec_hi ; encoding: [0x05,0x00,0x55,0xd6,0x01,0xfe,0xff,0x01]
-# GFX11: v_add3_u32 v5, s105, s105, exec_lo ; encoding: [0x05,0x00,0x55,0xd6,0x69,0xd2,0xf8,0x01]
0x05,0x00,0x55,0xd6,0x69,0xd2,0xf8,0x01
+# GFX11: v_add3_u32 v5, s105, s105, exec_lo ; encoding: [0x05,0x00,0x55,0xd6,0x69,0xd2,0xf8,0x01]
-# GFX11: v_add3_u32 v5, vcc_lo, ttmp15, v3 ; encoding: [0x05,0x00,0x55,0xd6,0x6a,0xf6,0x0c,0x04]
0x05,0x00,0x55,0xd6,0x6a,0xf6,0x0c,0x04
+# GFX11: v_add3_u32 v5, vcc_lo, ttmp15, v3 ; encoding: [0x05,0x00,0x55,0xd6,0x6a,0xf6,0x0c,0x04]
-# GFX11: v_add3_u32 v5, vcc_hi, 0xaf123456, v255 ; encoding: [0x05,0x00,0x55,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf]
0x05,0x00,0x55,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf
+# GFX11: v_add3_u32 v5, vcc_hi, 0xaf123456, v255 ; encoding: [0x05,0x00,0x55,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf]
-# GFX11: v_add3_u32 v5, ttmp15, src_scc, ttmp15 ; encoding: [0x05,0x00,0x55,0xd6,0x7b,0xfa,0xed,0x01]
0x05,0x00,0x55,0xd6,0x7b,0xfa,0xed,0x01
+# GFX11: v_add3_u32 v5, ttmp15, src_scc, ttmp15 ; encoding: [0x05,0x00,0x55,0xd6,0x7b,0xfa,0xed,0x01]
-# GFX11: v_add3_u32 v5, m0, 0.5, m0 ; encoding: [0x05,0x00,0x55,0xd6,0x7d,0xe0,0xf5,0x01]
0x05,0x00,0x55,0xd6,0x7d,0xe0,0xf5,0x01
+# GFX11: v_add3_u32 v5, m0, 0.5, m0 ; encoding: [0x05,0x00,0x55,0xd6,0x7d,0xe0,0xf5,0x01]
-# GFX11: v_add3_u32 v5, exec_lo, -1, vcc_hi ; encoding: [0x05,0x00,0x55,0xd6,0x7e,0x82,0xad,0x01]
0x05,0x00,0x55,0xd6,0x7e,0x82,0xad,0x01
+# GFX11: v_add3_u32 v5, exec_lo, -1, vcc_hi ; encoding: [0x05,0x00,0x55,0xd6,0x7e,0x82,0xad,0x01]
-# GFX11: v_add3_u32 v5, exec_hi, null, vcc_lo ; encoding: [0x05,0x00,0x55,0xd6,0x7f,0xf8,0xa8,0x01]
0x05,0x00,0x55,0xd6,0x7f,0xf8,0xa8,0x01
+# GFX11: v_add3_u32 v5, exec_hi, null, vcc_lo ; encoding: [0x05,0x00,0x55,0xd6,0x7f,0xf8,0xa8,0x01]
-# GFX11: v_add3_u32 v5, null, exec_lo, 0xaf123456 ; encoding: [0x05,0x00,0x55,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf]
0x05,0x00,0x55,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf
+# GFX11: v_add3_u32 v5, null, exec_lo, 0xaf123456 ; encoding: [0x05,0x00,0x55,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf]
-# GFX11: v_add3_u32 v5, -1, exec_hi, src_scc ; encoding: [0x05,0x00,0x55,0xd6,0xc1,0xfe,0xf4,0x03]
0x05,0x00,0x55,0xd6,0xc1,0xfe,0xf4,0x03
+# GFX11: v_add3_u32 v5, -1, exec_hi, src_scc ; encoding: [0x05,0x00,0x55,0xd6,0xc1,0xfe,0xf4,0x03]
-# GFX11: v_add3_u32 v5, 0.5, m0, 0.5 ; encoding: [0x05,0x00,0x55,0xd6,0xf0,0xfa,0xc0,0x03]
0x05,0x00,0x55,0xd6,0xf0,0xfa,0xc0,0x03
+# GFX11: v_add3_u32 v5, 0.5, m0, 0.5 ; encoding: [0x05,0x00,0x55,0xd6,0xf0,0xfa,0xc0,0x03]
-# GFX11: v_add3_u32 v5, src_scc, vcc_lo, -1 ; encoding: [0x05,0x00,0x55,0xd6,0xfd,0xd4,0x04,0x03]
0x05,0x00,0x55,0xd6,0xfd,0xd4,0x04,0x03
+# GFX11: v_add3_u32 v5, src_scc, vcc_lo, -1 ; encoding: [0x05,0x00,0x55,0xd6,0xfd,0xd4,0x04,0x03]
-# GFX11: v_add3_u32 v255, 0xaf123456, vcc_hi, null ; encoding: [0xff,0x00,0x55,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
0xff,0x00,0x55,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf
+# GFX11: v_add3_u32 v255, 0xaf123456, vcc_hi, null ; encoding: [0xff,0x00,0x55,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
-# W32: v_add_co_u32 v5, s12, v1, v2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00]
-# W64: v_add_co_u32 v5, s[12:13], v1, v2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00]
0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00
+# W32: v_add_co_u32 v5, s12, v1, v2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00]
+# W64: v_add_co_u32 v5, s[12:13], v1, v2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x05,0x02,0x00]
-# W32: v_add_co_u32 v5, s12, v255, v255 ; encoding: [0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00]
-# W64: v_add_co_u32 v5, s[12:13], v255, v255 ; encoding: [0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00]
0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00
+# W32: v_add_co_u32 v5, s12, v255, v255 ; encoding: [0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00]
+# W64: v_add_co_u32 v5, s[12:13], v255, v255 ; encoding: [0x05,0x0c,0x00,0xd7,0xff,0xff,0x03,0x00]
-# W32: v_add_co_u32 v5, s12, s1, s2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], s1, s2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00
+# W32: v_add_co_u32 v5, s12, s1, s2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], s1, s2 ; encoding: [0x05,0x0c,0x00,0xd7,0x01,0x04,0x00,0x00]
-# W32: v_add_co_u32 v5, s12, s105, s105 ; encoding: [0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], s105, s105 ; encoding: [0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00
+# W32: v_add_co_u32 v5, s12, s105, s105 ; encoding: [0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], s105, s105 ; encoding: [0x05,0x0c,0x00,0xd7,0x69,0xd2,0x00,0x00]
-# W32: v_add_co_u32 v5, s12, vcc_lo, ttmp15 ; encoding: [0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], vcc_lo, ttmp15 ; encoding: [0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00
+# W32: v_add_co_u32 v5, s12, vcc_lo, ttmp15 ; encoding: [0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], vcc_lo, ttmp15 ; encoding: [0x05,0x0c,0x00,0xd7,0x6a,0xf6,0x00,0x00]
-# W32: v_add_co_u32 v5, s12, vcc_hi, 0xaf123456 ; encoding: [0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
-# W64: v_add_co_u32 v5, s[12:13], vcc_hi, 0xaf123456 ; encoding: [0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf
+# W32: v_add_co_u32 v5, s12, vcc_hi, 0xaf123456 ; encoding: [0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
+# W64: v_add_co_u32 v5, s[12:13], vcc_hi, 0xaf123456 ; encoding: [0x05,0x0c,0x00,0xd7,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
-# W32: v_add_co_u32 v5, s12, ttmp15, src_scc ; encoding: [0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00]
-# W64: v_add_co_u32 v5, s[12:13], ttmp15, src_scc ; encoding: [0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00]
0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00
+# W32: v_add_co_u32 v5, s12, ttmp15, src_scc ; encoding: [0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00]
+# W64: v_add_co_u32 v5, s[12:13], ttmp15, src_scc ; encoding: [0x05,0x0c,0x00,0xd7,0x7b,0xfa,0x01,0x00]
-# W32: v_add_co_u32 v5, s12, m0, 0.5 ; encoding: [0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00]
-# W64: v_add_co_u32 v5, s[12:13], m0, 0.5 ; encoding: [0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00]
0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00
+# W32: v_add_co_u32 v5, s12, m0, 0.5 ; encoding: [0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00]
+# W64: v_add_co_u32 v5, s[12:13], m0, 0.5 ; encoding: [0x05,0x0c,0x00,0xd7,0x7d,0xe0,0x01,0x00]
-# W32: v_add_co_u32 v5, s12, exec_lo, -1 ; encoding: [0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00]
-# W64: v_add_co_u32 v5, s[12:13], exec_lo, -1 ; encoding: [0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00]
0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00
+# W32: v_add_co_u32 v5, s12, exec_lo, -1 ; encoding: [0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00]
+# W64: v_add_co_u32 v5, s[12:13], exec_lo, -1 ; encoding: [0x05,0x0c,0x00,0xd7,0x7e,0x82,0x01,0x00]
-# W32: v_add_co_u32 v5, s12, exec_hi, null ; encoding: [0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], exec_hi, null ; encoding: [0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00
+# W32: v_add_co_u32 v5, s12, exec_hi, null ; encoding: [0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], exec_hi, null ; encoding: [0x05,0x0c,0x00,0xd7,0x7f,0xf8,0x00,0x00]
-# W32: v_add_co_u32 v5, s12, null, exec_lo ; encoding: [0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00]
-# W64: v_add_co_u32 v5, s[12:13], null, exec_lo ; encoding: [0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00]
0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00
+# W32: v_add_co_u32 v5, s12, null, exec_lo ; encoding: [0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00]
+# W64: v_add_co_u32 v5, s[12:13], null, exec_lo ; encoding: [0x05,0x0c,0x00,0xd7,0x7c,0xfc,0x00,0x00]
-# W32: v_add_co_u32 v5, s104, -1, exec_hi ; encoding: [0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00]
-# W64: v_add_co_u32 v5, s[104:105], -1, exec_hi ; encoding: [0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00]
0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00
+# W32: v_add_co_u32 v5, s104, -1, exec_hi ; encoding: [0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00]
+# W64: v_add_co_u32 v5, s[104:105], -1, exec_hi ; encoding: [0x05,0x68,0x00,0xd7,0xc1,0xfe,0x00,0x00]
-# W32: v_add_co_u32 v5, vcc_lo, 0.5, m0 ; encoding: [0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00]
-# W64: v_add_co_u32 v5, vcc, 0.5, m0 ; encoding: [0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00]
0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00
+# W32: v_add_co_u32 v5, vcc_lo, 0.5, m0 ; encoding: [0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00]
+# W64: v_add_co_u32 v5, vcc, 0.5, m0 ; encoding: [0x05,0x6a,0x00,0xd7,0xf0,0xfa,0x00,0x00]
-# W32: v_add_co_u32 v5, ttmp14, src_scc, vcc_lo ; encoding: [0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00]
-# W64: v_add_co_u32 v5, ttmp[14:15], src_scc, vcc_lo ; encoding: [0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00]
0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00
+# W32: v_add_co_u32 v5, ttmp14, src_scc, vcc_lo ; encoding: [0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00]
+# W64: v_add_co_u32 v5, ttmp[14:15], src_scc, vcc_lo ; encoding: [0x05,0x7a,0x00,0xd7,0xfd,0xd4,0x00,0x00]
-# GFX11: v_add_co_u32 v255, null, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0xfc,0x00,0xd7,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
0xff,0xfc,0x00,0xd7,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf
+# GFX11: v_add_co_u32 v255, null, 0xaf123456, vcc_hi clamp ; encoding: [0xff,0xfc,0x00,0xd7,0xff,0xd6,0x00,0x00,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_f64 v[5:6], v[1:2], v[2:3] ; encoding: [0x05,0x00,0x27,0xd7,0x01,0x05,0x02,0x00]
0x05,0x00,0x27,0xd7,0x01,0x05,0x02,0x00
+# GFX11: v_add_f64 v[5:6], v[1:2], v[2:3] ; encoding: [0x05,0x00,0x27,0xd7,0x01,0x05,0x02,0x00]
-# GFX11: v_add_f64 v[5:6], v[254:255], v[254:255] ; encoding: [0x05,0x00,0x27,0xd7,0xfe,0xfd,0x03,0x00]
0x05,0x00,0x27,0xd7,0xfe,0xfd,0x03,0x00
+# GFX11: v_add_f64 v[5:6], v[254:255], v[254:255] ; encoding: [0x05,0x00,0x27,0xd7,0xfe,0xfd,0x03,0x00]
-# GFX11: v_add_f64 v[5:6], s[2:3], s[4:5] ; encoding: [0x05,0x00,0x27,0xd7,0x02,0x08,0x00,0x00]
0x05,0x00,0x27,0xd7,0x02,0x08,0x00,0x00
+# GFX11: v_add_f64 v[5:6], s[2:3], s[4:5] ; encoding: [0x05,0x00,0x27,0xd7,0x02,0x08,0x00,0x00]
-# GFX11: v_add_f64 v[5:6], s[104:105], s[104:105] ; encoding: [0x05,0x00,0x27,0xd7,0x68,0xd0,0x00,0x00]
0x05,0x00,0x27,0xd7,0x68,0xd0,0x00,0x00
+# GFX11: v_add_f64 v[5:6], s[104:105], s[104:105] ; encoding: [0x05,0x00,0x27,0xd7,0x68,0xd0,0x00,0x00]
-# GFX11: v_add_f64 v[5:6], vcc, ttmp[14:15] ; encoding: [0x05,0x00,0x27,0xd7,0x6a,0xf4,0x00,0x00]
0x05,0x00,0x27,0xd7,0x6a,0xf4,0x00,0x00
+# GFX11: v_add_f64 v[5:6], vcc, ttmp[14:15] ; encoding: [0x05,0x00,0x27,0xd7,0x6a,0xf4,0x00,0x00]
-# GFX11: v_add_f64 v[5:6], ttmp[14:15], 0xaf123456 ; encoding: [0x05,0x00,0x27,0xd7,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
0x05,0x00,0x27,0xd7,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf
+# GFX11: v_add_f64 v[5:6], ttmp[14:15], 0xaf123456 ; encoding: [0x05,0x00,0x27,0xd7,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_f64 v[5:6], -|exec|, src_scc ; encoding: [0x05,0x01,0x27,0xd7,0x7e,0xfa,0x01,0x20]
0x05,0x01,0x27,0xd7,0x7e,0xfa,0x01,0x20
+# GFX11: v_add_f64 v[5:6], -|exec|, src_scc ; encoding: [0x05,0x01,0x27,0xd7,0x7e,0xfa,0x01,0x20]
-# GFX11: v_add_f64 v[5:6], null, 0.5 ; encoding: [0x05,0x00,0x27,0xd7,0x7c,0xe0,0x01,0x00]
0x05,0x00,0x27,0xd7,0x7c,0xe0,0x01,0x00
+# GFX11: v_add_f64 v[5:6], null, 0.5 ; encoding: [0x05,0x00,0x27,0xd7,0x7c,0xe0,0x01,0x00]
-# GFX11: v_add_f64 v[5:6], -1, -1 ; encoding: [0x05,0x00,0x27,0xd7,0xc1,0x82,0x01,0x00]
0x05,0x00,0x27,0xd7,0xc1,0x82,0x01,0x00
+# GFX11: v_add_f64 v[5:6], -1, -1 ; encoding: [0x05,0x00,0x27,0xd7,0xc1,0x82,0x01,0x00]
-# GFX11: v_add_f64 v[5:6], 0.5, null mul:2 ; encoding: [0x05,0x00,0x27,0xd7,0xf0,0xf8,0x00,0x08]
0x05,0x00,0x27,0xd7,0xf0,0xf8,0x00,0x08
+# GFX11: v_add_f64 v[5:6], 0.5, null mul:2 ; encoding: [0x05,0x00,0x27,0xd7,0xf0,0xf8,0x00,0x08]
-# GFX11: v_add_f64 v[5:6], -|src_scc|, -|exec| mul:4 ; encoding: [0x05,0x03,0x27,0xd7,0xfd,0xfc,0x00,0x70]
0x05,0x03,0x27,0xd7,0xfd,0xfc,0x00,0x70
+# GFX11: v_add_f64 v[5:6], -|src_scc|, -|exec| mul:4 ; encoding: [0x05,0x03,0x27,0xd7,0xfd,0xfc,0x00,0x70]
-# GFX11: v_add_f64 v[254:255], 0xaf123456, -|vcc| clamp div:2 ; encoding: [0xfe,0x82,0x27,0xd7,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf]
0xfe,0x82,0x27,0xd7,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf
+# GFX11: v_add_f64 v[254:255], 0xaf123456, -|vcc| clamp div:2 ; encoding: [0xfe,0x82,0x27,0xd7,0xff,0xd4,0x00,0x58,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_lshl_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x47,0xd6,0x01,0x05,0x0e,0x00]
0x05,0x00,0x47,0xd6,0x01,0x05,0x0e,0x00
+# GFX11: v_add_lshl_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x47,0xd6,0x01,0x05,0x0e,0x00]
-# GFX11: v_add_lshl_u32 v5, v255, s2, s105 ; encoding: [0x05,0x00,0x47,0xd6,0xff,0x05,0xa4,0x01]
0x05,0x00,0x47,0xd6,0xff,0x05,0xa4,0x01
+# GFX11: v_add_lshl_u32 v5, v255, s2, s105 ; encoding: [0x05,0x00,0x47,0xd6,0xff,0x05,0xa4,0x01]
-# GFX11: v_add_lshl_u32 v5, s1, v255, exec_hi ; encoding: [0x05,0x00,0x47,0xd6,0x01,0xfe,0xff,0x01]
0x05,0x00,0x47,0xd6,0x01,0xfe,0xff,0x01
+# GFX11: v_add_lshl_u32 v5, s1, v255, exec_hi ; encoding: [0x05,0x00,0x47,0xd6,0x01,0xfe,0xff,0x01]
-# GFX11: v_add_lshl_u32 v5, s105, s105, exec_lo ; encoding: [0x05,0x00,0x47,0xd6,0x69,0xd2,0xf8,0x01]
0x05,0x00,0x47,0xd6,0x69,0xd2,0xf8,0x01
+# GFX11: v_add_lshl_u32 v5, s105, s105, exec_lo ; encoding: [0x05,0x00,0x47,0xd6,0x69,0xd2,0xf8,0x01]
-# GFX11: v_add_lshl_u32 v5, vcc_lo, ttmp15, v3 ; encoding: [0x05,0x00,0x47,0xd6,0x6a,0xf6,0x0c,0x04]
0x05,0x00,0x47,0xd6,0x6a,0xf6,0x0c,0x04
+# GFX11: v_add_lshl_u32 v5, vcc_lo, ttmp15, v3 ; encoding: [0x05,0x00,0x47,0xd6,0x6a,0xf6,0x0c,0x04]
-# GFX11: v_add_lshl_u32 v5, vcc_hi, 0xaf123456, v255 ; encoding: [0x05,0x00,0x47,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf]
0x05,0x00,0x47,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf
+# GFX11: v_add_lshl_u32 v5, vcc_hi, 0xaf123456, v255 ; encoding: [0x05,0x00,0x47,0xd6,0x6b,0xfe,0xfd,0x07,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_lshl_u32 v5, ttmp15, src_scc, ttmp15 ; encoding: [0x05,0x00,0x47,0xd6,0x7b,0xfa,0xed,0x01]
0x05,0x00,0x47,0xd6,0x7b,0xfa,0xed,0x01
+# GFX11: v_add_lshl_u32 v5, ttmp15, src_scc, ttmp15 ; encoding: [0x05,0x00,0x47,0xd6,0x7b,0xfa,0xed,0x01]
-# GFX11: v_add_lshl_u32 v5, m0, 0.5, m0 ; encoding: [0x05,0x00,0x47,0xd6,0x7d,0xe0,0xf5,0x01]
0x05,0x00,0x47,0xd6,0x7d,0xe0,0xf5,0x01
+# GFX11: v_add_lshl_u32 v5, m0, 0.5, m0 ; encoding: [0x05,0x00,0x47,0xd6,0x7d,0xe0,0xf5,0x01]
-# GFX11: v_add_lshl_u32 v5, exec_lo, -1, vcc_hi ; encoding: [0x05,0x00,0x47,0xd6,0x7e,0x82,0xad,0x01]
0x05,0x00,0x47,0xd6,0x7e,0x82,0xad,0x01
+# GFX11: v_add_lshl_u32 v5, exec_lo, -1, vcc_hi ; encoding: [0x05,0x00,0x47,0xd6,0x7e,0x82,0xad,0x01]
-# GFX11: v_add_lshl_u32 v5, exec_hi, null, vcc_lo ; encoding: [0x05,0x00,0x47,0xd6,0x7f,0xf8,0xa8,0x01]
0x05,0x00,0x47,0xd6,0x7f,0xf8,0xa8,0x01
+# GFX11: v_add_lshl_u32 v5, exec_hi, null, vcc_lo ; encoding: [0x05,0x00,0x47,0xd6,0x7f,0xf8,0xa8,0x01]
-# GFX11: v_add_lshl_u32 v5, null, exec_lo, 0xaf123456 ; encoding: [0x05,0x00,0x47,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf]
0x05,0x00,0x47,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf
+# GFX11: v_add_lshl_u32 v5, null, exec_lo, 0xaf123456 ; encoding: [0x05,0x00,0x47,0xd6,0x7c,0xfc,0xfc,0x03,0x56,0x34,0x12,0xaf]
-# GFX11: v_add_lshl_u32 v5, -1, exec_hi, src_scc ; encoding: [0x05,0x00,0x47,0xd6,0xc1,0xfe,0xf4,0x03]
0x05,0x00,0x47,0xd6,0xc1,0xfe,0xf4,0x03
+# GFX11: v_add_lshl_u32 v5, -1, exec_hi, src_scc ; encoding: [0x05,0x00,0x47,0xd6,0xc1,0xfe,0xf4,0x03]
-# GFX11: v_add_lshl_u32 v5, 0.5, m0, 0.5 ; encoding: [0x05,0x00,0x47,0xd6,0xf0,0xfa,0xc0,0x03]
0x05,0x00,0x47,0xd6,0xf0,0xfa,0xc0,0x03
+# GFX11: v_add_lshl_u32 v5, 0.5, m0, 0.5 ; encoding: [0x05,0x00,0x47,0xd6,0xf0,0xfa,0xc0,0x03]
-# GFX11: v_add_lshl_u32 v5, src_scc, vcc_lo, -1 ; encoding: [0x05,0x00,0x47,0xd6,0xfd,0xd4,0x04,0x03]
0x05,0x00,0x47,0xd6,0xfd,0xd4,0x04,0x03
+# GFX11: v_add_lshl_u32 v5, src_scc, vcc_lo, -1 ; encoding: [0x05,0x00,0x47,0xd6,0xfd,0xd4,0x04,0x03]
-# GFX11: v_add_lshl_u32 v255, 0xaf123456, vcc_hi, null ; encoding: [0xff,0x00,0x47,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
0xff,0x00,0x47,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf
+# GFX11: v_add_lshl_u32 v255, 0xaf123456, vcc_hi, null ; encoding: [0xff,0x00,0x47,0xd6,0xff,0xd6,0xf0,0x01,0x56,0x34,0x12,0xaf]
+0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00
# W32-REAL16: v_add_nc_i16 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
# W32-FAKE16: v_add_nc_i16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
# W64-REAL16: v_add_nc_i16 v5.l, v1.h, v2.l op_sel:[1,0,0] ; encoding: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
# W64-FAKE16: v_add_nc_i16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00]
-0x05,0x08,0x0d,0xd7,0x01,0x05,0x02,0x00
+0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00
# W32-REAL16: v_add_nc_i16 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
# W32-FAKE16: v_add_nc_i16 v5, v255, v255 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
# W64-REAL16: v_add_nc_i16 v5.l, v255.l, v255.h op_sel:[0,1,0] ; encoding: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
# W64-FAKE16: v_add_nc_i16 v5, v255, v255 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00]
-0x05,0x10,0x0d,0xd7,0xff,0xff,0x03,0x00
+0x05,0x00,0x0d,0xd7,0x01,0x04,0x00,0x00
# W32-REAL16: v_add_nc_i16 v5.l, s1, s2 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x04,0x00,0x00]
# W32-FAKE16: v_add_nc_i16 v5, s1, s2 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x04,0x00,0x00]
# W64-REAL16: v_add_nc_i16 v5.l, s1, s2 ; encoding:...
[truncated]
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/30/builds/11593 Here is the relevant piece of the build log for the reference
|
This is a NFC. Update dasm test for VOP3 using latest update script