Re: Patch for Maverick Crunch support

2008-01-05 Thread Mike Frysinger
On Tuesday 27 November 2007, Brian Austin wrote:
 This patch adds MAVERICK CRUNCH FPU support for the Cirrus Logic EP93XX
 ARM9 Procs.

i dont think it needs another special ifdef when it can be integrated into the 
existing arm mess ... ive done that in svn instead

for future reference, please fix your mailer so it doesnt line wrap patches.  
or attach them so they dont get screwed.

thanks!
-mike


signature.asc
Description: This is a digitally signed message part.
___
uClibc mailing list
uClibc@uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Patch for Maverick Crunch support

2007-11-27 Thread Brian Austin
This patch adds MAVERICK CRUNCH FPU support for the Cirrus Logic EP93XX
ARM9 Procs.

diff -burN uClibc-0.9.29.org/libm/math_private.h
uClibc-0.9.29/libm/math_private.h
--- uClibc-0.9.29.org/libm/math_private.h   2006-03-22
22:00:25.0 +0200
+++ uClibc-0.9.29/libm/math_private.h   2007-08-17 15:34:26.0
+0300
@@ -39,7 +39,18 @@
  * For FPA, float words are always big-endian.
  * For VFP, floats words follow the memory system mode.
  */
+#if defined(__MAVERICK__)
+typedef union
+{
+  double value;
+  struct
+  {
+u_int32_t lsw;
+u_int32_t msw;
+  } parts;
+} ieee_double_shape_type;

+#else
 #if (__BYTE_ORDER == __BIG_ENDIAN) || \
 (!defined(__VFP_FP__)  (defined(__arm__) || defined(__thumb__)))

@@ -66,7 +77,7 @@
 } ieee_double_shape_type;

 #endif
-
+#endif
 /* Get two 32 bit ints from a double.  */

 #define EXTRACT_WORDS(ix0,ix1,d)   \





___
uClibc mailing list
uClibc@uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc