]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
arm: default to softvfp on armv6 or later cores
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 4 Jun 2024 11:56:20 +0000 (12:56 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Wed, 5 Jun 2024 16:45:45 +0000 (17:45 +0100)
commitd3a79e28334f691d651aefbbef9eaaa952b67178
tree2a036ac8cfb3160074b47ff6a7e0a5a311c38ef6
parent51c2c0f62bd8dc10b66212a76ea1843a28e41c90
arm: default to softvfp on armv6 or later cores

From armv6 onwards a lot of cores started to come with a physical VFP
implementation; but many still did not and in some cases there are
both variants.  For the cores that lacked a physical VFP we would fall
back to FPU_NONE if the platform/ABI did not mandate something else.
To make matters worse, FPU_NONE is internal state used to imply
soft-fpa (ie a mixed-endian double format), so any use of .double in
hand-written assembly is almost certainly generating incorrect output.

That's undesirable, all these cores should really default to a softvfp
model.
gas/config/tc-arm.c