Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/compiler_rt Long double complex multiplication and ...



details:   https://anonhg.NetBSD.org/src/rev/3a0de6c633da
branches:  trunk
changeset: 343815:3a0de6c633da
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Feb 27 19:06:56 2016 +0000

description:
Long double complex multiplication and division helpers are needed on
Sparc64 and AArch64.

diffstat:

 lib/libm/compiler_rt/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 86ff72c57be1 -r 3a0de6c633da lib/libm/compiler_rt/Makefile.inc
--- a/lib/libm/compiler_rt/Makefile.inc Sat Feb 27 19:05:27 2016 +0000
+++ b/lib/libm/compiler_rt/Makefile.inc Sat Feb 27 19:06:56 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.9 2014/10/22 10:33:27 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.10 2016/02/27 19:06:56 joerg Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -23,7 +23,7 @@
        divsc3.c \
        divxc3.c
 
-.if ${MACHINE_CPU} == "powerpc"
+.if ${MACHINE_CPU} == "powerpc" || ${LIBC_MACHINE_CPU:U} == "sparc64" || ${LIBC_MACHINE_CPU:U} == "aarch64"
 GENERIC_SRCS+= \
        divtc3.c \
        multc3.c



Home | Main Index | Thread Index | Old Index