Commit 33956b8e55
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"