diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-10 11:10:23 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-10 11:10:23 +0000 |
commit | 57951c27422fc41586a5d4032e05bb300cced78d (patch) | |
tree | 7f5e53762c9cfb56438bcc471e95b7c5a8f00bcd /target-ppc/op.c | |
parent | 970d622e8ab1de8fdf5762e23e92a2dea9d7d36c (diff) |
target-ppc: convert most SPE integer instructions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5668 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r-- | target-ppc/op.c | 162 |
1 files changed, 0 insertions, 162 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c index 5a8fe0a600..10a22eba5e 100644 --- a/target-ppc/op.c +++ b/target-ppc/op.c @@ -1227,22 +1227,6 @@ void OPPROTO op_splatw_T1_64 (void) RETURN(); } -void OPPROTO op_splatwi_T0_64 (void) -{ - uint64_t tmp = PARAM1; - - T0_64 = (tmp << 32) | tmp; - RETURN(); -} - -void OPPROTO op_splatwi_T1_64 (void) -{ - uint64_t tmp = PARAM1; - - T1_64 = (tmp << 32) | tmp; - RETURN(); -} - void OPPROTO op_extsh_T1_64 (void) { T1_64 = (int32_t)((int16_t)T1_64); @@ -1267,152 +1251,6 @@ void OPPROTO op_srli32_T1_64 (void) RETURN(); } -void OPPROTO op_evsel (void) -{ - do_evsel(); - RETURN(); -} - -void OPPROTO op_evaddw (void) -{ - do_evaddw(); - RETURN(); -} - -void OPPROTO op_evsubfw (void) -{ - do_evsubfw(); - RETURN(); -} - -void OPPROTO op_evneg (void) -{ - do_evneg(); - RETURN(); -} - -void OPPROTO op_evabs (void) -{ - do_evabs(); - RETURN(); -} - -void OPPROTO op_evextsh (void) -{ - T0_64 = ((uint64_t)((int32_t)(int16_t)(T0_64 >> 32)) << 32) | - (uint64_t)((int32_t)(int16_t)T0_64); - RETURN(); -} - -void OPPROTO op_evextsb (void) -{ - T0_64 = ((uint64_t)((int32_t)(int8_t)(T0_64 >> 32)) << 32) | - (uint64_t)((int32_t)(int8_t)T0_64); - RETURN(); -} - -void OPPROTO op_evcntlzw (void) -{ - do_evcntlzw(); - RETURN(); -} - -void OPPROTO op_evrndw (void) -{ - do_evrndw(); - RETURN(); -} - -void OPPROTO op_brinc (void) -{ - do_brinc(); - RETURN(); -} - -void OPPROTO op_evcntlsw (void) -{ - do_evcntlsw(); - RETURN(); -} - -void OPPROTO op_evsrws (void) -{ - do_evsrws(); - RETURN(); -} - -void OPPROTO op_evsrwu (void) -{ - do_evsrwu(); - RETURN(); -} - -void OPPROTO op_evslw (void) -{ - do_evslw(); - RETURN(); -} - -void OPPROTO op_evrlw (void) -{ - do_evrlw(); - RETURN(); -} - -void OPPROTO op_evmergelo (void) -{ - T0_64 = (T0_64 << 32) | (T1_64 & 0x00000000FFFFFFFFULL); - RETURN(); -} - -void OPPROTO op_evmergehi (void) -{ - T0_64 = (T0_64 & 0xFFFFFFFF00000000ULL) | (T1_64 >> 32); - RETURN(); -} - -void OPPROTO op_evmergelohi (void) -{ - T0_64 = (T0_64 << 32) | (T1_64 >> 32); - RETURN(); -} - -void OPPROTO op_evmergehilo (void) -{ - T0_64 = (T0_64 & 0xFFFFFFFF00000000ULL) | (T1_64 & 0x00000000FFFFFFFFULL); - RETURN(); -} - -void OPPROTO op_evcmpgts (void) -{ - do_evcmpgts(); - RETURN(); -} - -void OPPROTO op_evcmpgtu (void) -{ - do_evcmpgtu(); - RETURN(); -} - -void OPPROTO op_evcmplts (void) -{ - do_evcmplts(); - RETURN(); -} - -void OPPROTO op_evcmpltu (void) -{ - do_evcmpltu(); - RETURN(); -} - -void OPPROTO op_evcmpeq (void) -{ - do_evcmpeq(); - RETURN(); -} - void OPPROTO op_evfssub (void) { do_evfssub(); |