From: Eric Botcazou Date: Thu, 18 Sep 2008 14:25:39 +0000 (+0000) Subject: sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to... X-Git-Tag: releases/gcc-4.4.0~2381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2cd689a680e5287cbb4d704ca71092257583e96;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c44dff77ed3..1b09bc4bada3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-18 Eric Botcazou + + * config/sparc/sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to... + * config/sparc/sparc.h (WIDEST_HARDWARE_FP_SIZE): ...here. + 2008-09-18 Andrew MacLeod * tree-outof-ssa.c (eliminate_useless_phis): fix formatting. diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 8e760b8e9282..a31a2e33ad89 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 2e39082e1f64..191d6e807bed 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)