aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 3198c9b972..123cb3f91b 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -26,23 +26,6 @@
//#define USE_OPEN_FIRMWARE
-/*** Sign extend constants ***/
-/* 8 to 32 bits */
-static inline int32_t s_ext8 (uint8_t value)
-{
- int8_t *tmp = &value;
-
- return *tmp;
-}
-
-/* 16 to 32 bits */
-static inline int32_t s_ext16 (uint16_t value)
-{
- int16_t *tmp = &value;
-
- return *tmp;
-}
-
#include "config.h"
#include <setjmp.h>