Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/rs6000 Switch PPC64 long d...



details:   https://anonhg.NetBSD.org/src/rev/82f7f7159a77
branches:  trunk
changeset: 451230:82f7f7159a77
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 11 02:37:58 2019 +0000

description:
Switch PPC64 long double to 64 bits until the compiler is fixed.
XXX: This changes the ABI of the libraries.

diffstat:

 external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r b4f01b0077b2 -r 82f7f7159a77 external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
--- a/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h       Sat May 11 02:34:19 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h       Sat May 11 02:37:58 2019 +0000
@@ -592,9 +592,16 @@
 #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
 



Home | Main Index | Thread Index | Old Index