| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index dedea2a044a21eb4f5f0e181b038d26b43b844eb..8e4b8ef9737624a6f6d723acf08e752284c8adda 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -765,9 +765,7 @@ void MacroAssembler::Ext(Register rt,
|
| // Move rs to rt and shift it left then right to get the
|
| // desired bitfield on the right side and zeroes on the left.
|
| int shift_left = 32 - (pos + size);
|
| - if (shift_left > 0) {
|
| - sll(rt, rs, shift_left);
|
| - }
|
| + sll(rt, rs, shift_left); // Acts as a move if shift_left == 0.
|
|
|
| int shift_right = 32 - size;
|
| if (shift_right > 0) {
|
|
|