mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
After consultations with the arm community, don't define softfp for
armv6. It's too ambiguous. We do use the softfp ABI for the moment on armv6, but we allow floating point register use (and the compilers will generate it). This is too ambiguous to use it as a decider for which algorithms to use on the platform. Err on the side of caution and not define it. Submitted by: ian@ Reviewed by: andrew@
This commit is contained in:
parent
57031f7912
commit
e0874a7ea6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287167
@ -282,7 +282,11 @@ MACHINE_CPU += arm
|
||||
. if ${MACHINE_ARCH:Marmv6*} != ""
|
||||
MACHINE_CPU += armv6
|
||||
. endif
|
||||
. if ${MACHINE_ARCH:M*hf} == ""
|
||||
# armv6 is a hybrid. It uses the softfp ABI, but doesn't emulate
|
||||
# floating point in the general case, so don't define softfp for
|
||||
# it at this time. arm and armeb are pure softfp, so define it
|
||||
# for them.
|
||||
. if ${MACHINE_ARCH:Marmv6*} == ""
|
||||
MACHINE_CPU += softfp
|
||||
. endif
|
||||
.if ${MACHINE_ARCH} == "armv6"
|
||||
|
Loading…
Reference in New Issue
Block a user