2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>

* rtems/score/powerpc.h: Add __ALTIVEC__ support.
This commit is contained in:
Ralf Corsepius
2005-02-15 06:11:04 +00:00
parent 2405a99b18
commit b77bb8c1cb
2 changed files with 13 additions and 9 deletions
+4
View File
@@ -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