aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r--target-mips/op_helper.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index 7b6442e8f8..ba02f0d84f 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helper.c
@@ -120,8 +120,7 @@ void do_drotr (void)
if (T1) {
tmp = T0 << (0x40 - T1);
T0 = (T0 >> T1) | tmp;
- } else
- T0 = T1;
+ }
}
void do_drotr32 (void)
@@ -131,8 +130,7 @@ void do_drotr32 (void)
if (T1) {
tmp = T0 << (0x40 - (32 + T1));
T0 = (T0 >> (32 + T1)) | tmp;
- } else
- T0 = T1;
+ }
}
void do_dsllv (void)