[5882] target-ppc: convert POWER shift instructions to TCG
Revision: 5882
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5882 Author: aurel32 Date: 2008-12-05 07:21:44 +0000 (Fri, 05 Dec 2008)
Log Message:
-----------
target-ppc: convert POWER shift instructions to TCG
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/target-ppc/exec.h
trunk/target-ppc/op.c
trunk/target-ppc/translate.c
Modified: trunk/target-ppc/exec.h
===================================================================
target-ppc/exec.h +0 -22
@@ -51,28 +51,6 @@# define RETURN () __asm__ __volatile__("" : : : "memory");#endif -static always_inline target_ulong rotl8 (target_ulong i, int n) -{ -return (((uint8_t )i << n) | ((uint8_t )i >> (8 - n))); -} - -static always_inline target_ulong rotl16 (target_ulong i, int n) -{ -return (((uint16_t )i << n) | ((uint16_t )i >> (16 - n))); -} - -static always_inline target_ulong rotl32 (target_ulong i, int n) -{ -return (((uint32_t )i << n) | ((uint32_t )i >> (32 - n))); -} - -#if defined(TARGET_PPC64 ) -static always_inline target_ulong rotl64 (target_ulong i, int n) -{ -return (((uint64_t )i << n) | ((uint64_t )i >> (64 - n))); -} -#endif -#if !defined(CONFIG_USER_ONLY )#include "softmmu_exec.h" #endif /* !defined(CONFIG_USER_ONLY) */
Modified: trunk/target-ppc/op.c
===================================================================
target-ppc/op.c +0 -127
133 lines not on this page · raw message
Modified: trunk/target-ppc/translate.c
===================================================================
target-ppc/translate.c +258 -92
453 lines not on this page · raw message