mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 18:35:27 +08:00
2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/powerpc.h: Add __ALTIVEC__ support.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/powerpc.h: Add __ALTIVEC__ support.
|
||||
|
||||
2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/powerpc.h: Merge ppc603 and ppc603e
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user