From fad00e765b6c3a5624fd6f609a1fb7e099291337 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 20 Oct 2000 13:29:24 +0000 Subject: 2000-10-20 Joel Sherrill * shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT. --- c/src/exec/score/cpu/powerpc/ChangeLog | 4 ++++ c/src/exec/score/cpu/powerpc/rtems/score/ppc.h | 5 +++++ c/src/exec/score/cpu/powerpc/shared/ppc.h | 5 +++++ 3 files changed, 14 insertions(+) (limited to 'c/src/exec/score/cpu/powerpc') 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 + + * shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT. + 2000-09-04 Ralf Corsepius * 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 -- cgit v1.2.3