mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1932605 - [loongarch] Implement atomicPause function. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D229773
This commit is contained in:
parent
3543bad7dc
commit
43e92147e1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user