[Patch: RL78] Add support for 64-bit doubles

Kaushik Phatak Kaushik.Phatak@kpit.com
Wed May 14 10:57:00 GMT 2014

Please find below a patch which adds support for 64-bit doubles to the RL78 target
in the newlib port.
This is a supporting patch for my GCC patch posted earlier,

Kindly review the below patch. 

Thanks & Best Regards,

	* libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS when double
	options is not __RL78_64BIT_DOUBLES__.

diff -upr a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
--- a/newlib/libc/include/machine/ieeefp.h	2013-07-16 13:18:53.000000000 +0530
+++ b/newlib/libc/include/machine/ieeefp.h	2014-05-14 16:24:00.000000000 +0530
@@ -379,8 +379,10 @@
 #ifdef __RL78__
 #define __SMALL_BITFIELDS	/* 16 Bit INT */
+#ifndef __RL78_64BIT_DOUBLES__
 #define _DOUBLE_IS_32BITS
 #ifdef __RX__

More information about the Newlib mailing list