[5254] target-alpha: convert remaining arith3 functions to TCG
Revision: 5254
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5254 Author: aurel32 Date: 2008-09-18 13:45:14 +0000 (Thu, 18 Sep 2008)
Log Message:
-----------
target-alpha: convert remaining arith3 functions to TCG
Modified Paths:
--------------
trunk/target-alpha/cpu.h
trunk/target-alpha/exec.h
trunk/target-alpha/helper.h
trunk/target-alpha/op.c
trunk/target-alpha/op_helper.c
trunk/target-alpha/op_helper.h
trunk/target-alpha/translate.c
Modified: trunk/target-alpha/cpu.h
===================================================================
target-alpha/cpu.h +1 -1
@@ -275,7 +275,7 @@/* temporary fixed-point registers * used to emulate 64 bits target on 32 bits hosts */ -target_ulong t0, t1, t2; +target_ulong t0, t1;#endif /* */ double ft0, ft1, ft2;
Modified: trunk/target-alpha/exec.h
===================================================================
target-alpha/exec.h +0 -2
@@ -34,13 +34,11 @@/* no registers can be used */ #define T0 (env->t0)#define T1 (env->t1) -#define T2 (env->t2)#else register uint64_t T0 asm(AREG1); register uint64_t T1 asm(AREG2); -register uint64_t T2 asm(AREG3);#endif /* TARGET_LONG_BITS > HOST_LONG_BITS */
Modified: trunk/target-alpha/helper.h
===================================================================
target-alpha/helper.h +9 -0
@@ -11,6 +11,14 @@ DEF_HELPER(uint64_t, helper_rc, (void)) DEF_HELPER(uint64_t, helper_rs, (void)) +DEF_HELPER(uint64_t, helper_addqv, (uint64_t, uint64_t)) +DEF_HELPER(uint64_t, helper_addlv, (uint64_t, uint64_t)) +DEF_HELPER(uint64_t, helper_subqv, (uint64_t, uint64_t)) +DEF_HELPER(uint64_t, helper_sublv, (uint64_t, uint64_t)) +DEF_HELPER(uint64_t, helper_mullv, (uint64_t, uint64_t)) +DEF_HELPER(uint64_t, helper_mulqv, (uint64_t, uint64_t)) +DEF_HELPER(uint64_t, helper_umulh, (uint64_t, uint64_t)) + DEF_HELPER(uint64_t, helper_ctpop, (uint64_t)) DEF_HELPER(uint64_t, helper_ctlz, (uint64_t)) DEF_HELPER(uint64_t, helper_cttz, (uint64_t))
@@ -32,3 +40,4 @@ DEF_HELPER(uint64_t, helper_mskqh, (int64_t, uint64_t)) DEF_HELPER(uint64_t, helper_insqh, (int64_t, uint64_t)) +DEF_HELPER(uint64_t, helper_cmpbge, (uint64_t, uint64_t))
Modified: trunk/target-alpha/op.c
===================================================================
target-alpha/op.c +0 -52
59 lines not on this page · raw message
Modified: trunk/target-alpha/op_helper.c
===================================================================
target-alpha/op_helper.c +38 -26
121 lines not on this page · raw message
Modified: trunk/target-alpha/op_helper.h
===================================================================
target-alpha/op_helper.h +0 -7
@@ -21,13 +21,6 @@void helper_call_pal (uint32_t palcode);void helper_load_fpcr (void );void helper_store_fpcr (void ); -void helper_addqv (void ); -void helper_addlv (void ); -void helper_subqv (void ); -void helper_sublv (void ); -void helper_mullv (void ); -void helper_mulqv (void ); -void helper_cmpbge (void );void helper_cmov_fir (int freg);double helper_ldff_raw (target_ulong ea);
Modified: trunk/target-alpha/translate.c
===================================================================
target-alpha/translate.c +39 -58
238 lines not on this page · raw message