[compiler-rt] [clang] [libcxx] [llvm] [flang] [clang-tools-extra] [libc] [AMDGPU] GFX12: Add Split Workgroup Barrier (PR #74836)

Piotr Sobczak via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 01:24:28 PST 2023


================
@@ -15,6 +15,15 @@
 # GFX12: s_singleuse_vdst 0x1234                 ; encoding: [0x34,0x12,0x93,0xbf]
 0x34,0x12,0x93,0xbf
 
+# GFX12: s_barrier_wait 0xffff                   ; encoding: [0xff,0xff,0x94,0xbf]
+0xff,0xff,0x94,0xbf
+
+# GFX12: s_barrier_wait 1                        ; encoding: [0x01,0x00,0x94,0xbf]
+0x01,0x00,0x94,0xbf
+
+# GFX12: s_barrier_leave                         ; encoding: [0x00,0x00,0x95,0xbf]
+0x00,0x00,0x95,0xbf
+
----------------
piotrAMD wrote:

Nit: I think we are missing a single test for regular barrier here (s_barrier).

https://github.com/llvm/llvm-project/pull/74836


More information about the cfe-commits mailing list