summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-20 13:29:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-20 13:29:24 +0000
commitfad00e765b6c3a5624fd6f609a1fb7e099291337 (patch)
treea1438cdcbd0ffca8e333558af1f374fb99ac9522
parent461fa1bc95a8ba9d0611e43407d0178a14933f5d (diff)
downloadrtems-fad00e765b6c3a5624fd6f609a1fb7e099291337.tar.bz2
2000-10-20 Joel Sherrill <joel@OARcorp.com>
* shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT.
-rw-r--r--c/src/exec/score/cpu/powerpc/ChangeLog4
-rw-r--r--c/src/exec/score/cpu/powerpc/rtems/score/ppc.h5
-rw-r--r--c/src/exec/score/cpu/powerpc/shared/ppc.h5
-rw-r--r--cpukit/score/cpu/powerpc/ChangeLog4
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/ppc.h5
5 files changed, 23 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/powerpc/ChangeLog b/c/src/exec/score/cpu/powerpc/ChangeLog
index 7f281f20c9..8f541fee75 100644
--- a/c/src/exec/score/cpu/powerpc/ChangeLog
+++ b/c/src/exec/score/cpu/powerpc/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-20 Joel Sherrill <joel@OARcorp.com>
+
+ * shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT.
+
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am.
diff --git a/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h b/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h
index cdff768d7d..034d4ae088 100644
--- a/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h
+++ b/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h
@@ -106,7 +106,12 @@ extern "C" {
#define PPC_ALIGNMENT 4
#define PPC_CACHE_ALIGNMENT 16
#define PPC_HAS_RFCI 1
+#if defined(_SOFT_FLOAT)
#define PPC_HAS_FPU 0
+#else
+#define PPC_HAS_FPU 1
+#endif
+
#define PPC_USE_MULTIPLE 1
#define PPC_I_CACHE 2048
#define PPC_D_CACHE 1024
diff --git a/c/src/exec/score/cpu/powerpc/shared/ppc.h b/c/src/exec/score/cpu/powerpc/shared/ppc.h
index cdff768d7d..034d4ae088 100644
--- a/c/src/exec/score/cpu/powerpc/shared/ppc.h
+++ b/c/src/exec/score/cpu/powerpc/shared/ppc.h
@@ -106,7 +106,12 @@ extern "C" {
#define PPC_ALIGNMENT 4
#define PPC_CACHE_ALIGNMENT 16
#define PPC_HAS_RFCI 1
+#if defined(_SOFT_FLOAT)
#define PPC_HAS_FPU 0
+#else
+#define PPC_HAS_FPU 1
+#endif
+
#define PPC_USE_MULTIPLE 1
#define PPC_I_CACHE 2048
#define PPC_D_CACHE 1024
diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog
index 7f281f20c9..8f541fee75 100644
--- a/cpukit/score/cpu/powerpc/ChangeLog
+++ b/cpukit/score/cpu/powerpc/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-20 Joel Sherrill <joel@OARcorp.com>
+
+ * shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT.
+
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am.
diff --git a/cpukit/score/cpu/powerpc/rtems/score/ppc.h b/cpukit/score/cpu/powerpc/rtems/score/ppc.h
index cdff768d7d..034d4ae088 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/ppc.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/ppc.h
@@ -106,7 +106,12 @@ extern "C" {
#define PPC_ALIGNMENT 4
#define PPC_CACHE_ALIGNMENT 16
#define PPC_HAS_RFCI 1
+#if defined(_SOFT_FLOAT)
#define PPC_HAS_FPU 0
+#else
+#define PPC_HAS_FPU 1
+#endif
+
#define PPC_USE_MULTIPLE 1
#define PPC_I_CACHE 2048
#define PPC_D_CACHE 1024