[Patch: RL78] Add support for 64-bit doubles
DJ Delorie
dj@redhat.com
Mon May 12 19:28:00 GMT 2014
I think this part is wrong (and your mailer is dropping some
whitespace). "long double" should always be 64 bits, which means that
libgcc must always have DFmode helpers.
#define LONG_DOUBLE_TYPE_SIZE64 /*DOUBLE_TYPE_SIZE*/
-#define LIBGCC2_HAS_DF_MODE1
+#ifdef __RL78_32BIT_DOUBLES__
+#define LIBGCC2_HAS_DF_MODE 0
+#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 32
+#else
+#define LIBGCC2_HAS_DF_MODE 1
#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64
+#endif
More information about the Gcc-patches
mailing list