ibm-ldouble.c: Enable for little-endian.
authorAlan Modra <amodra@gmail.com>
Tue, 4 Jun 2013 14:11:28 +0000 (23:41 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 4 Jun 2013 14:11:28 +0000 (23:41 +0930)
* config/rs6000/ibm-ldouble.c: Enable for little-endian.

From-SVN: r199650

libgcc/ChangeLog
libgcc/config/rs6000/ibm-ldouble.c

index 04e2aaebc181f05d61b05ffc664a59570212b4d1..956ecb0fdb40368144479155b356f19e2bc46750 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-04  Alan Modra  <amodra@gmail.com>
+
+       * config/rs6000/ibm-ldouble.c: Enable for little-endian.
+
 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
 
        * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
index 96fcc77a881e5954074121b3595f1f993fa08a0e..28e02e995d4a3369d538efff9d503a35e433e7ee 100644 (file)
@@ -42,10 +42,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    represented as (1.0, +0.0) or (1.0, -0.0), and the low part of a
    NaN is don't-care.
 
-   This code currently assumes big-endian.  */
+   This code currently assumes the most significant double is in
+   the lower numbered register or lower addressed memory.  */
 
-#if (!defined (__LITTLE_ENDIAN__) \
-     && (defined (__MACH__) || defined (__powerpc__) || defined (_AIX)))
+#if defined (__MACH__) || defined (__powerpc__) || defined (_AIX)
 
 #define fabs(x) __builtin_fabs(x)
 #define isless(x, y) __builtin_isless (x, y)