We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af92c5f commit 3af7707Copy full SHA for 3af7707
1 file changed
libc-top-half/musl/arch/wasm32/atomic_arch.h
@@ -5,3 +5,7 @@
5
#define a_barrier() (__sync_synchronize())
6
#define a_cas(p, t, s) (__sync_val_compare_and_swap((p), (t), (s)))
7
#define a_crash() (__builtin_trap())
8
+#define a_clz_32 __builtin_clz
9
+#define a_clz_64 __builtin_clzll
10
+#define a_ctz_32 __builtin_ctz
11
+#define a_ctz_64 __builtin_ctzll
0 commit comments