sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 18 Sep 2008 14:25:39 +0000 (14:25 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 18 Sep 2008 14:25:39 +0000 (14:25 +0000)
* config/sparc/sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to...
* config/sparc/sparc.h (WIDEST_HARDWARE_FP_SIZE): ...here.

From-SVN: r140458

gcc/ChangeLog
gcc/config/sparc/sol2.h
gcc/config/sparc/sparc.h

index 0c44dff..1b09bc4 100644 (file)
@@ -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.
index 8e760b8..a31a2e3 100644 (file)
@@ -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.  */
 
index 2e39082..191d6e8 100644 (file)
@@ -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)