mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 1455016 - [MIPS64] Fix potentially undefined behavior of rotateLeft64. r=bbouvier
--HG-- extra : rebase_source : 53dbf48894dbd96f761a787c0643523776f8ea80
This commit is contained in:
parent
ce747b87c6
commit
dd8829ace1
@ -330,7 +330,7 @@ MacroAssemblerMIPS64::ma_dror(Register rd, Register rt, Register shift)
|
||||
void
|
||||
MacroAssemblerMIPS64::ma_drol(Register rd, Register rt, Register shift)
|
||||
{
|
||||
ma_negu(ScratchRegister, shift);
|
||||
as_dsubu(ScratchRegister, zero, shift);
|
||||
as_drotrv(rd, rt, ScratchRegister);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user