diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-16 22:44:10 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-16 22:44:10 +0000 |
commit | 30c7183b676076c940538b838c330c854a7995a9 (patch) | |
tree | f99113f17d4f576890fe300443500f499cd93c08 /target-alpha/op.c | |
parent | ae8ecd423150456e238a9d45f107b97e94957b78 (diff) |
target-alpha: convert some arith3 instructions to TCG
Replace gen_arith3 generic macro and dyngen ops by instruction specific
optimized TCG code.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5236 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-alpha/op.c')
-rw-r--r-- | target-alpha/op.c | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/target-alpha/op.c b/target-alpha/op.c index 651900fbab..b07b3d969c 100644 --- a/target-alpha/op.c +++ b/target-alpha/op.c @@ -198,72 +198,36 @@ void OPPROTO op_clear_irf (void) } /* Arithmetic */ -void OPPROTO op_addq (void) -{ - T0 += T1; - RETURN(); -} - void OPPROTO op_addqv (void) { helper_addqv(); RETURN(); } -void OPPROTO op_addl (void) -{ - T0 = (int64_t)((int32_t)(T0 + T1)); - RETURN(); -} - void OPPROTO op_addlv (void) { helper_addlv(); RETURN(); } -void OPPROTO op_subq (void) -{ - T0 -= T1; - RETURN(); -} - void OPPROTO op_subqv (void) { helper_subqv(); RETURN(); } -void OPPROTO op_subl (void) -{ - T0 = (int64_t)((int32_t)(T0 - T1)); - RETURN(); -} - void OPPROTO op_sublv (void) { helper_sublv(); RETURN(); } -void OPPROTO op_mull (void) -{ - T0 = (int64_t)((int32_t)T0 * (int32_t)T1); - RETURN(); -} - void OPPROTO op_mullv (void) { helper_mullv(); RETURN(); } -void OPPROTO op_mulq (void) -{ - T0 = (int64_t)T0 * (int64_t)T1; - RETURN(); -} - void OPPROTO op_mulqv (void) { helper_mulqv(); @@ -280,60 +244,6 @@ void OPPROTO op_umulh (void) } /* Logical */ -void OPPROTO op_and (void) -{ - T0 &= T1; - RETURN(); -} - -void OPPROTO op_bic (void) -{ - T0 &= ~T1; - RETURN(); -} - -void OPPROTO op_bis (void) -{ - T0 |= T1; - RETURN(); -} - -void OPPROTO op_eqv (void) -{ - T0 ^= ~T1; - RETURN(); -} - -void OPPROTO op_ornot (void) -{ - T0 |= ~T1; - RETURN(); -} - -void OPPROTO op_xor (void) -{ - T0 ^= T1; - RETURN(); -} - -void OPPROTO op_sll (void) -{ - T0 <<= T1; - RETURN(); -} - -void OPPROTO op_srl (void) -{ - T0 >>= T1; - RETURN(); -} - -void OPPROTO op_sra (void) -{ - T0 = (int64_t)T0 >> T1; - RETURN(); -} - void OPPROTO op_mskbl (void) { helper_mskbl(); |