mirror of
https://github.com/ziglang/zig.git
synced 2024-11-17 01:23:54 +00:00
compiler_rt: atomics: clr -> clrb
This commit is contained in:
parent
fac2a2e754
commit
33956b8e55
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user