[5804] target-ppc: convert SPE load/store to TCG
Revision: 5804
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5804 Author: aurel32 Date: 2008-11-27 19:30:47 +0000 (Thu, 27 Nov 2008)
Log Message:
-----------
target-ppc: convert SPE load/store to TCG
Modified Paths:
--------------
trunk/target-ppc/cpu.h
trunk/target-ppc/exec.h
trunk/target-ppc/op.c
trunk/target-ppc/op_mem.h
trunk/target-ppc/translate.c
Modified: trunk/target-ppc/cpu.h
===================================================================
target-ppc/cpu.h +0 -6
@@ -536,12 +536,6 @@#if (TARGET_LONG_BITS >HOST_LONG_BITS ) || defined(HOST_I386 )target_ulong t2;#endif -#if !defined(TARGET_PPC64 ) -/* temporary fixed-point registers -* used to emulate 64 bits registers on 32 bits targets -*/ -uint64_t t0_64, t1_64, t2_64; -#endif /* general purpose registers */ target_ulong gpr[32 ];
Modified: trunk/target-ppc/exec.h
===================================================================
target-ppc/exec.h +0 -10
@@ -44,16 +44,6 @@ register target_ulong T2 asm(AREG3);#define TDX "%016lx"#endif -/* We may, sometime, need 64 bits registers on 32 bits targets */ -#if !defined(TARGET_PPC64 ) -#define T0_64 (env->t0_64) -#define T1_64 (env->t1_64) -#define T2_64 (env->t2_64) -#else -#define T0_64 T0 -#define T1_64 T1 -#define T2_64 T2 -#endif #define FT0 (env->ft0)#define FT1 (env->ft1)
Modified: trunk/target-ppc/op.c
===================================================================
target-ppc/op.c +0 -32
@@ -914,35 +914,3 @@ }#endif /* !defined(CONFIG_USER_ONLY) */ -/* SPE extension */ -void OPPROTO op_splatw_T1_64 (void) -{ -T1_64 = (T1_64 <<32 ) | (T1_64 &0x00000000FFFFFFFFULL ); -RETURN (); -} - -void OPPROTO op_extsh_T1_64 (void) -{ -T1_64 = (int32_t )((int16_t )T1_64 ); -RETURN (); -} - -void OPPROTO op_sli16_T1_64 (void) -{ -T1_64 =T1_64 <<16 ; -RETURN (); -} - -void OPPROTO op_sli32_T1_64 (void) -{ -T1_64 =T1_64 <<32 ; -RETURN (); -} - -void OPPROTO op_srli32_T1_64 (void) -{ -T1_64 =T1_64 >>32 ; -RETURN (); -} - -
Modified: trunk/target-ppc/op_mem.h
===================================================================
target-ppc/op_mem.h +0 -258
262 lines not on this page · raw message
Modified: trunk/target-ppc/translate.c
===================================================================
target-ppc/translate.c +325 -259
630 lines not on this page · raw message