Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/lib/libm/compiler_rt Pull up following revision(s) (reque...
details: https://anonhg.NetBSD.org/src/rev/5f7bf522e740
branches: netbsd-7
changeset: 799351:5f7bf522e740
user: snj <snj%NetBSD.org@localhost>
date: Tue May 19 05:03:15 2015 +0000
description:
Pull up following revision(s) (requested by joerg in ticket #778):
lib/libm/compiler_rt/Makefile.inc: revisions 1.7-1.9
Complex division for long double uses different function names on PPC.
--
PPC64 uses the double-double code too
--
Add missing muldc3.c.
diffstat:
lib/libm/compiler_rt/Makefile.inc | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r ed771d23b082 -r 5f7bf522e740 lib/libm/compiler_rt/Makefile.inc
--- a/lib/libm/compiler_rt/Makefile.inc Tue May 19 04:58:31 2015 +0000
+++ b/lib/libm/compiler_rt/Makefile.inc Tue May 19 05:03:15 2015 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.inc,v 1.6 2014/06/13 01:17:45 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.6.2.1 2015/05/19 05:03:15 snj Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
-.if ${MACHINE_ARCH} == "powerpc"
+.if ${MACHINE_CPU} == "powerpc"
COMPILER_RT_CPU_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/ppc
COMPILER_RT_ARCH_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/ppc
.else
@@ -16,11 +16,18 @@
# Needs scaling support
GENERIC_SRCS+= \
- mulxc3.c \
+ muldc3.c \
mulsc3.c \
- divxc3.c \
+ mulxc3.c \
divdc3.c \
- divsc3.c
+ divsc3.c \
+ divxc3.c
+
+.if ${MACHINE_CPU} == "powerpc"
+GENERIC_SRCS+= \
+ divtc3.c \
+ multc3.c
+.endif
.for src in ${GENERIC_SRCS}
. if exists(${COMPILER_RT_CPU_DIR}/${src:R}.S) || \
Home |
Main Index |
Thread Index |
Old Index