diff options
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/score/powerpc.h')
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/score/powerpc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h index e7c8cfae12..def02e68bc 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h +++ b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h @@ -192,18 +192,18 @@ extern "C" { #define PPC_ALIGNMENT 8 -#elif defined(mpc7400) +#elif defined(__ALTIVEC__) +/* ppc altivec family */ +#if defined(mpc7400) +#define CPU_MODEL_NAME "PowerPC 7400" +#elif defined(mpc7450) #define CPU_MODEL_NAME "PowerPC 7400" - -#define PPC_ALIGNMENT 8 - #elif defined(mpc7455) -/* - * Added by S.K. Feng <feng1@bnl.gov> 10/03 - */ - -#define CPU_MODEL_NAME "PowerPC 7455" +#define CPU_MODEL_NAME "PowerPC 7455" +#else +#define CPU_MODEL_NAME "PowerPC Altivec" +#endif #define PPC_ALIGNMENT 8 #define PPC_CACHE_ALIGNMENT 32 |