[llvm] 405b19b - [AMDGPU][MC][GFX11] Add disassembler tests for v_readfirstlane_b32
Dmitry Preobrazhensky via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 15 08:18:53 PDT 2022
Author: Dmitry Preobrazhensky
Date: 2022-09-15T18:18:33+03:00
New Revision: 405b19bb679e3371abd9cd02dc1484213a4ebb88
URL: https://github.com/llvm/llvm-project/commit/405b19bb679e3371abd9cd02dc1484213a4ebb88
DIFF: https://github.com/llvm/llvm-project/commit/405b19bb679e3371abd9cd02dc1484213a4ebb88.diff
LOG: [AMDGPU][MC][GFX11] Add disassembler tests for v_readfirstlane_b32
Differential Revision: https://reviews.llvm.org/D133437
Added:
Modified:
llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1.txt
Removed:
################################################################################
diff --git a/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1.txt b/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1.txt
index 720c715b45c1..583d61fe80ec 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1.txt
+++ b/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1.txt
@@ -2650,6 +2650,24 @@
# GFX11: v_rcp_iflag_f32_e32 v255, 0xaf123456 ; encoding: [0xff,0x56,0xfe,0x7f,0x56,0x34,0x12,0xaf]
0xff,0x56,0xfe,0x7f,0x56,0x34,0x12,0xaf
+# GFX11: v_readfirstlane_b32 s5, v1 ; encoding: [0x01,0x05,0x0a,0x7e]
+0x01,0x05,0x0a,0x7e
+
+# GFX11: v_readfirstlane_b32 s105, v1 ; encoding: [0x01,0x05,0xd2,0x7e]
+0x01,0x05,0xd2,0x7e
+
+# GFX11: v_readfirstlane_b32 vcc_lo, v1 ; encoding: [0x01,0x05,0xd4,0x7e]
+0x01,0x05,0xd4,0x7e
+
+# GFX11: v_readfirstlane_b32 vcc_hi, v1 ; encoding: [0x01,0x05,0xd6,0x7e]
+0x01,0x05,0xd6,0x7e
+
+# GFX11: v_readfirstlane_b32 ttmp15, v1 ; encoding: [0x01,0x05,0xf6,0x7e]
+0x01,0x05,0xf6,0x7e
+
+# GFX11: v_readfirstlane_b32 null, v255 ; encoding: [0xff,0x05,0xf8,0x7e]
+0xff,0x05,0xf8,0x7e
+
# GFX11: v_rndne_f16_e32 v5, v1 ; encoding: [0x01,0xbd,0x0a,0x7e]
0x01,0xbd,0x0a,0x7e
More information about the llvm-commits
mailing list