Commit 33956b8e55

Koakuma <koachan@protonmail.com>
2022-04-15 14:48:25
compiler_rt: atomics: clr -> clrb
1 parent fac2a2e
Changed files (1)
lib
std
special
compiler_rt
lib/std/special/compiler_rt/atomics.zig
@@ -72,7 +72,7 @@ const SpinlockTable = struct {
         }
         fn release(self: *@This()) void {
             if (comptime arch.isSPARC()) {
-                _ = asm volatile ("clr [%[addr]]"
+                _ = asm volatile ("clrb [%[addr]]"
                     :
                     : [addr] "r" (&self.v),
                     : "memory"