Commit 118f97e7 authored by balazs.kilvady's avatar balazs.kilvady Committed by Commit bot

MIPS64: Fix 'Use Rotate*() functions instead of doing this manually.'

BUG=

Review URL: https://codereview.chromium.org/975383002

Cr-Commit-Position: refs/heads/master@{#26990}
parent 064be238
...@@ -2045,7 +2045,7 @@ void Simulator::ConfigureTypeRegister(Instruction* instr, ...@@ -2045,7 +2045,7 @@ void Simulator::ConfigureTypeRegister(Instruction* instr,
// Logical right-rotate of a word by a variable number of bits. // Logical right-rotate of a word by a variable number of bits.
// This is special case od SRLV instruction, added in MIPS32 // This is special case od SRLV instruction, added in MIPS32
// Release 2. SA field is equal to 00001. // Release 2. SA field is equal to 00001.
*alu_out = base::bits::RotateRight32(((uint32_t)rt_u, rs_u); *alu_out = base::bits::RotateRight32((uint32_t)rt_u, rs_u);
} }
break; break;
case DSRLV: case DSRLV:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment