diff options
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/op.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c index 758aa53b7c..1b52e81038 100644 --- a/target-sh4/op.c +++ b/target-sh4/op.c @@ -561,14 +561,14 @@ void OPPROTO op_shal_Rn(void) void OPPROTO op_shar_Rn(void) { cond_t(env->gregs[PARAM1] & 1); - *(int32_t *) & env->gregs[PARAM1] >>= 1; + env->gregs[PARAM1] >>= 1; RETURN(); } void OPPROTO op_shlr_Rn(void) { cond_t(env->gregs[PARAM1] & 1); - *(uint32_t *) & env->gregs[PARAM1] >>= 1; + env->gregs[PARAM1] >>= 1; RETURN(); } @@ -592,19 +592,19 @@ void OPPROTO op_shll16_Rn(void) void OPPROTO op_shlr2_Rn(void) { - *(uint32_t *) & env->gregs[PARAM1] >>= 2; + env->gregs[PARAM1] >>= 2; RETURN(); } void OPPROTO op_shlr8_Rn(void) { - *(uint32_t *) & env->gregs[PARAM1] >>= 8; + env->gregs[PARAM1] >>= 8; RETURN(); } void OPPROTO op_shlr16_Rn(void) { - *(uint32_t *) & env->gregs[PARAM1] >>= 16; + env->gregs[PARAM1] >>= 16; RETURN(); } |