From 5bbcde6a0d2b13d9b21a3b4135af96ae4bc2561a Mon Sep 17 00:00:00 2001 From: jtc Date: Sat, 1 Jun 1996 01:14:00 +0000 Subject: [PATCH] Enable use of assembly language shift routines on the m68k --- lib/libc/quad/Makefile.inc | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/lib/libc/quad/Makefile.inc b/lib/libc/quad/Makefile.inc index 0ef2b0fff7b4..ea11990e129f 100644 --- a/lib/libc/quad/Makefile.inc +++ b/lib/libc/quad/Makefile.inc @@ -1,11 +1,19 @@ -# $NetBSD: Makefile.inc,v 1.4 1995/02/27 17:29:31 cgd Exp $ +# $NetBSD: Makefile.inc,v 1.5 1996/06/01 01:14:00 jtc Exp $ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 # Quad support -SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c fixdfdi.c \ - fixsfdi.c fixunsdfdi.c fixunssfdi.c floatdidf.c floatdisf.c \ - floatunsdidf.c iordi3.c lshldi3.c lshrdi3.c moddi3.c muldi3.c \ - negdi2.c notdi2.c qdivrem.c subdi3.c ucmpdi2.c udivdi3.c umoddi3.c \ - xordi3.c +SRCS+= adddi3.c anddi3.c cmpdi2.c divdi3.c fixdfdi.c fixsfdi.c fixunsdfdi.c \ + fixunssfdi.c floatdidf.c floatdisf.c floatunsdidf.c iordi3.c \ + moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c subdi3.c \ + ucmpdi2.c udivdi3.c umoddi3.c xordi3.c + +.if (${MACHINE_ARCH} == "m68k") +SRCS+= ashldi3.S ashrdi3.S lshrdi3.S +.else +SRCS+= ashldi3.c ashrdi3.c lshrdi3.c +.end + +# XXX as far as I can tell, this is never used and can be removed +SRCS+= lshrdi3.c .PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/quad ${.CURDIR}/quad