diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-30 22:37:17 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-30 22:37:17 +0000 |
commit | c047da1af40c116fb9b365ccaa3ae6dda80727d1 (patch) | |
tree | 06b4a49e39b3c316446d7e3fb1c8453ab0ccab16 /target-sh4/op.c | |
parent | 390af821662c9d6af90b8914ec3efd0f8b255aef (diff) |
SH4: Convert shift functions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5119 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/op.c')
-rw-r--r-- | target-sh4/op.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c index 8313070232..7bd2e18dcf 100644 --- a/target-sh4/op.c +++ b/target-sh4/op.c @@ -115,27 +115,6 @@ void OPPROTO op_rotr_Rn(void) RETURN(); } -void OPPROTO op_shal_Rn(void) -{ - cond_t(env->gregs[PARAM1] & 0x80000000); - env->gregs[PARAM1] <<= 1; - RETURN(); -} - -void OPPROTO op_shar_Rn(void) -{ - cond_t(env->gregs[PARAM1] & 1); - *(int32_t *)&env->gregs[PARAM1] >>= 1; - RETURN(); -} - -void OPPROTO op_shlr_Rn(void) -{ - cond_t(env->gregs[PARAM1] & 1); - env->gregs[PARAM1] >>= 1; - RETURN(); -} - void OPPROTO op_fmov_frN_FT0(void) { FT0 = env->fregs[PARAM1]; |