diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2008-09-18 14:25:39 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2008-09-18 14:25:39 +0000 |
commit | a2cd689a680e5287cbb4d704ca71092257583e96 (patch) | |
tree | 871a87cf568bfda26aff175b37d26e85610cb61e /gcc | |
parent | 4b756989b32aaf3fb7a6634de437bbe97d861654 (diff) | |
download | gcc-a2cd689a680e5287cbb4d704ca71092257583e96.zip gcc-a2cd689a680e5287cbb4d704ca71092257583e96.tar.gz gcc-a2cd689a680e5287cbb4d704ca71092257583e96.tar.bz2 |
sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to...
* config/sparc/sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to...
* config/sparc/sparc.h (WIDEST_HARDWARE_FP_SIZE): ...here.
From-SVN: r140458
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c44dff..1b09bc4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-18 Eric Botcazou <ebotcazou@adacore.com> + + * config/sparc/sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to... + * config/sparc/sparc.h (WIDEST_HARDWARE_FP_SIZE): ...here. + 2008-09-18 Andrew MacLeod <amacleod@redhat.com> * tree-outof-ssa.c (eliminate_useless_phis): fix formatting. diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 8e760b8..a31a2e3 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -138,9 +138,6 @@ along with GCC; see the file COPYING3. If not see SPARC ABI says that long double is 4 words. */ #define LONG_DOUBLE_TYPE_SIZE 128 -/* But indicate that it isn't supported by the hardware. */ -#define WIDEST_HARDWARE_FP_SIZE 64 - /* Solaris's _Qp_* library routine implementation clobbers the output memory before the inputs are fully consumed. */ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 2e39082..191d6e8 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -616,10 +616,14 @@ extern struct sparc_cpu_select sparc_select[]; #define LONG_LONG_TYPE_SIZE 64 #define FLOAT_TYPE_SIZE 32 #define DOUBLE_TYPE_SIZE 64 + /* LONG_DOUBLE_TYPE_SIZE is defined per OS even though the SPARC ABI says that it is 128-bit wide. */ /* #define LONG_DOUBLE_TYPE_SIZE 128 */ +/* The widest floating-point format really supported by the hardware. */ +#define WIDEST_HARDWARE_FP_SIZE 64 + /* Width in bits of a pointer. See also the macro `Pmode' defined below. */ #define POINTER_SIZE (TARGET_PTR64 ? 64 : 32) |