Bug 1932605 - [loongarch] Implement atomicPause function. r=anba

Differential Revision: https://phabricator.services.mozilla.com/D229773
This commit is contained in:
Zhao Jiazhong 2024-11-22 11:07:08 +00:00
parent 3543bad7dc
commit 43e92147e1

View File

@ -4354,7 +4354,11 @@ void MacroAssembler::atomicEffectOpJS(Scalar::Type arrayType,
offsetTemp, maskTemp);
}
void MacroAssembler::atomicPause() { MOZ_CRASH("NYI"); }
void MacroAssembler::atomicPause() {
// LoongArch doesn't have 'pause' or 'yield' instructions like other
// platforms, just use nop here.
nop();
}
void MacroAssembler::flexibleQuotient32(Register rhs, Register srcDest,
bool isUnsigned,