Module Name: src
Committed By: christos
Date: Sat May 11 02:37:58 UTC 2019
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h
Log Message:
Switch PPC64 long double to 64 bits until the compiler is fixed.
XXX: This changes the ABI of the libraries.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 \
src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.22 src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.23
--- src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.22 Tue Apr 16 03:36:55 2019
+++ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Fri May 10 22:37:58 2019
@@ -592,9 +592,16 @@ extern int dot_symbols;
#define USE_LD_AS_NEEDED 1
#endif
-/* NetBSD ppc64 has 128-bit long double support. */
+/*
+ * NetBSD ppc64 used to have 128-bit long double support.
+ * But it does not work anymore:
+ * (insn 23 22 24 5 (set (reg:CCFP 179)
+ * (compare:CCFP (reg/v:TF 171 [ a ])
+ * (reg:TF 177)))
+ * "/usr/src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixxfti.c":43 -1
+ */
#undef RS6000_DEFAULT_LONG_DOUBLE_SIZE
-#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 128
+#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 64
#define POWERPC_NETBSD