compiler_rt: atomics: clr -> clrb

This commit is contained in:
Koakuma 2022-04-15 19:48:25 +07:00
parent fac2a2e754
commit 33956b8e55

View File

@ -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"