]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add note to remind me there are three choices for arm32 floating point.
authorWarner Losh <imp@FreeBSD.org>
Thu, 9 Jan 2020 18:14:48 +0000 (18:14 +0000)
committerWarner Losh <imp@FreeBSD.org>
Thu, 9 Jan 2020 18:14:48 +0000 (18:14 +0000)
commitdea247463c5abea0cd1a5186c2f89c73730e0242
treef50fa7b24ed069bd8f9db608f1d652d0025bcb65
parentead85fe415dd32e47eb57744c4b214e33ef89938
Add note to remind me there are three choices for arm32 floating point.

hard use floating point hardware, pass registers to functions in
floating point registers.
softfp use floating point hardware, but pass registers to functions
in integer registers.
soft do floating point calcuations without using floating point
hardware. Pass arguments in integer registers.

FreeBSD 11 and newer assumes hard. 10 and earlier assumed softfp.  We have no
real support, at the moment, for soft. It's untested, though, if softfp still
works.

Add a note here since this is a whack-a-doodle combination relative to all other
platforms.

softfp is likely to go away in the future because it was retained for people
using FreeBSD 10 + armv6 needing to transition more slowly from softfp -> hard
than the project. It likely is no longer needed, and may be getting in the
way of people needing 'soft' support.
share/mk/bsd.cpu.mk