crtfastmath.c: Compile only for !_SOFT_FLOAT.
authorUros Bizjak <uros@gcc.gnu.org>
Sun, 3 Nov 2013 10:12:12 +0000 (11:12 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 3 Nov 2013 10:12:12 +0000 (11:12 +0100)
* config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
* config/i386/crtprec.c: Ditto.

From-SVN: r204327

libgcc/ChangeLog
libgcc/config/i386/crtfastmath.c
libgcc/config/i386/crtprec.c

index 650867041d987d0563df749a87fd95caa8f74ac4..30b53c94ea88ffe9faa14e792e52a24f1708b304 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
+       * config/i386/crtprec.c: Ditto.
+
 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
            Shiva Chen  <shiva0217@gmail.com>
 
        (__gcov_indirect_call_counters): Likewise.
 
 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
-            Catherine Moore  <clm@codesourcery.com>
-            Richard Sandiford <rdsandiford@googlemail.com>
+           Catherine Moore  <clm@codesourcery.com>
+           Richard Sandiford <rdsandiford@googlemail.com>
 
        * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
        (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
index 991f531fe7ddd374cc8fccb46de16e151b865ba1..5a267c3b1a5ab4a614387f1b04691de99c3a8a23 100644 (file)
@@ -21,6 +21,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#ifndef _SOFT_FLOAT
 #define MXCSR_DAZ (1 << 6)     /* Enable denormals are zero mode */
 #define MXCSR_FTZ (1 << 15)    /* Enable flush to zero mode */
 
@@ -134,3 +135,4 @@ set_fast_math (void)
   __builtin_ia32_ldmxcsr (mxcsr);
 #endif
 }
+#endif
index f0c1fbe72284851543184a09cacd98a5bdebbf9c..f8f9962b13bd33079eaa0c42ec7c22f6c9fa0d0a 100644 (file)
@@ -21,6 +21,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#ifndef _SOFT_FLOAT
 #if __PREC == 32
  #define X87CW         (0 << 8)        /* Single precision (24 bits) */
 #elif __PREC == 64
@@ -45,3 +46,4 @@ set_precision (void)
 
   asm volatile ("fldcw\t%0" : : "m" (cwd));
 }
+#endif