зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1269775 - OdinMonkey: MIPS: Implement int32 rotations. r=bbouvier
--- js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
This commit is contained in:
Родитель
48ff041a00
Коммит
6e9a4a664b
|
@ -196,22 +196,28 @@ MacroAssembler::negateDouble(FloatRegister reg)
|
|||
void
|
||||
MacroAssembler::rotateLeft(Imm32 count, Register input, Register dest)
|
||||
{
|
||||
MOZ_CRASH("NYI");
|
||||
if (count.value)
|
||||
ma_rol(dest, input, count);
|
||||
else
|
||||
ma_move(dest, input);
|
||||
}
|
||||
void
|
||||
MacroAssembler::rotateLeft(Register count, Register input, Register dest)
|
||||
{
|
||||
MOZ_CRASH("NYI");
|
||||
ma_rol(dest, input, count);
|
||||
}
|
||||
void
|
||||
MacroAssembler::rotateRight(Imm32 count, Register input, Register dest)
|
||||
{
|
||||
MOZ_CRASH("NYI");
|
||||
if (count.value)
|
||||
ma_ror(dest, input, count);
|
||||
else
|
||||
ma_move(dest, input);
|
||||
}
|
||||
void
|
||||
MacroAssembler::rotateRight(Register count, Register input, Register dest)
|
||||
{
|
||||
MOZ_CRASH("NYI");
|
||||
ma_ror(dest, input, count);
|
||||
}
|
||||
|
||||
// ===============================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче