From owner-svn-src-head@FreeBSD.ORG Wed Apr 8 19:07:07 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43420A34; Wed, 8 Apr 2015 19:07:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1500D9B8; Wed, 8 Apr 2015 19:07:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t38J764D081068; Wed, 8 Apr 2015 19:07:06 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t38J76M1081067; Wed, 8 Apr 2015 19:07:06 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201504081907.t38J76M1081067@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Wed, 8 Apr 2015 19:07:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281270 - head/lib/libcompiler_rt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2015 19:07:07 -0000 Author: emaste Date: Wed Apr 8 19:07:06 2015 New Revision: 281270 URL: https://svnweb.freebsd.org/changeset/base/281270 Log: compiler-rt: include 128-bit quad precision fp support only on arm64 Other architectures do not use quad precision long double and don't need these runtime support routines. Differential Revision: https://reviews.freebsd.org/D2252 Reviewed by: dim Sponsored by: The FreeBSD Foundation Modified: head/lib/libcompiler_rt/Makefile Modified: head/lib/libcompiler_rt/Makefile ============================================================================== --- head/lib/libcompiler_rt/Makefile Wed Apr 8 17:54:20 2015 (r281269) +++ head/lib/libcompiler_rt/Makefile Wed Apr 8 19:07:06 2015 (r281270) @@ -22,7 +22,6 @@ CRTSRC=${.CURDIR}/../../contrib/compiler SRCF= absvdi2 \ absvsi2 \ absvti2 \ - addtf3 \ addvdi3 \ addvsi3 \ addvti3 \ @@ -37,7 +36,6 @@ SRCF= absvdi2 \ clzti2 \ cmpdi2 \ cmpti2 \ - comparetf2 \ ctzdi2 \ ctzsi2 \ ctzti2 \ @@ -46,31 +44,22 @@ SRCF= absvdi2 \ divmoddi4 \ divmodsi4 \ divsc3 \ - divtf3 \ divti3 \ divxc3 \ enable_execute_stack \ eprintf \ - extenddftf2 \ - extendsftf2 \ ffsdi2 \ ffsti2 \ fixdfdi \ fixdfti \ fixsfdi \ fixsfti \ - fixtfdi \ - fixtfsi \ - fixtfti \ fixunsdfdi \ fixunsdfsi \ fixunsdfti \ fixunssfdi \ fixunssfsi \ fixunssfti \ - fixunstfdi \ - fixunstfsi \ - fixunstfti \ fixunsxfdi \ fixunsxfsi \ fixunsxfti \ @@ -105,7 +94,6 @@ SRCF= absvdi2 \ mulosi4 \ muloti4 \ mulsc3 \ - multf3 \ multi3 \ mulvdi3 \ mulvsi3 \ @@ -129,13 +117,10 @@ SRCF= absvdi2 \ powisf2 \ powitf2 \ powixf2 \ - subtf3 \ subvdi3 \ subvsi3 \ subvti3 \ trampoline_setup \ - trunctfdf2 \ - trunctfsf2 \ ucmpdi2 \ ucmpti2 \ udivdi3 \ @@ -146,6 +131,25 @@ SRCF= absvdi2 \ umoddi3 \ umodti3 +# 128-bit quad precision long double support, only used on arm64 +.if ${MACHINE_CPUARCH} == "aarch64" +SRCF+= addtf3 \ + comparetf2 \ + divtf3 \ + extenddftf2 \ + extendsftf2 \ + fixtfdi \ + fixtfsi \ + fixtfti \ + fixunstfdi \ + fixunstfsi \ + fixunstfti \ + multf3 \ + subtf3 \ + trunctfdf2 \ + trunctfsf2 +.endif + # These are already shipped by libc.a on arm and mips .if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" SRCF+= adddf3 \