OSDN Git Service

Brian Austin writes: This patch adds MAVERICK CRUNCH FPU support for the Cirrus Logic...
authorMike Frysinger <vapier@gentoo.org>
Sat, 5 Jan 2008 08:16:23 +0000 (08:16 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 5 Jan 2008 08:16:23 +0000 (08:16 -0000)
libm/math_private.h

index 75ca03e..b0d948c 100644 (file)
    ints.  */
 
 /*
- * Math on arm is special:
+ * Math on arm is special (read: stupid):
  * For FPA, float words are always big-endian.
- * For VFP, floats words follow the memory system mode.
+ * For VFP, float words follow the memory system mode.
+ * For Maverick, float words are always little-endian.
  */
 
-#if (__BYTE_ORDER == __BIG_ENDIAN) || \
-    (!defined(__VFP_FP__) && (defined(__arm__) || defined(__thumb__)))
+#if !defined(__MAVERICK__) && ((__BYTE_ORDER == __BIG_ENDIAN) || \
+    (!defined(__VFP_FP__) && (defined(__arm__) || defined(__thumb__))))
 
 typedef union
 {