Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/compiler_rt VAX does need __clzsi2



details:   https://anonhg.NetBSD.org/src/rev/27ec37a947e9
branches:  trunk
changeset: 801773:27ec37a947e9
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 17 16:14:59 2014 +0000

description:
VAX does need __clzsi2

diffstat:

 lib/libc/compiler_rt/Makefile.inc |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2f5dbf6e1839 -r 27ec37a947e9 lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Sun Aug 17 16:14:19 2014 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Sun Aug 17 16:14:59 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.25 2014/08/13 14:41:45 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.26 2014/08/17 16:14:59 matt Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -136,9 +136,15 @@
 
 # These have h/w instructions which are always used.
 .if ${LIBC_MACHINE_ARCH} != "alpha" && ${LIBC_MACHINE_CPU} != "powerpc" \
+    && ${LIBC_MACHINE_CPU} != "aarch64"
+GENERIC_SRCS+= \
+       clzsi2.c
+.endif
+
+# These have h/w instructions which are always used.
+.if ${LIBC_MACHINE_ARCH} != "alpha" && ${LIBC_MACHINE_CPU} != "powerpc" \
     && ${LIBC_MACHINE_CPU} != "aarch64" && ${LIBC_MACHINE_ARCH} != "vax"
 GENERIC_SRCS+= \
-       clzsi2.c \
        ctzsi2.c \
        divmodsi4.c \
        divsi3.c \



Home | Main Index | Thread Index | Old Index