diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-05 07:21:44 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-05 07:21:44 +0000 |
commit | 7487953d704369c7acc7486f09eaf87faa5d3693 (patch) | |
tree | 87abd4ffd1a6bd46adc29139ca4381ea35c66b8e /target-ppc/exec.h | |
parent | 54cdcae646bdc4b87b2355ba7d9aab85c39b2c31 (diff) |
target-ppc: convert POWER shift instructions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5882 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/exec.h')
-rw-r--r-- | target-ppc/exec.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target-ppc/exec.h b/target-ppc/exec.h index 67cb8b4377..4e2802ef81 100644 --- a/target-ppc/exec.h +++ b/target-ppc/exec.h @@ -51,28 +51,6 @@ register target_ulong T2 asm(AREG3); # 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) */ |