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
This commit is contained in:
parent
dbee5c671a
commit
eade5b3856
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281270
@ -22,7 +22,6 @@ CRTSRC=${.CURDIR}/../../contrib/compiler-rt/lib/builtins
|
||||
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user