diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2022-09-07 10:52:03 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2022-09-07 10:52:03 +0100 |
commit | f58d5545d6b39cb6534dae105931e92ea9389d1f (patch) | |
tree | 51675784eddc2624dee0e47122acfb37e1ecdc68 /libcpp | |
parent | 0067ba052b976431c49d6a86f2c9ede9938efcdf (diff) | |
download | gcc-f58d5545d6b39cb6534dae105931e92ea9389d1f.zip gcc-f58d5545d6b39cb6534dae105931e92ea9389d1f.tar.gz gcc-f58d5545d6b39cb6534dae105931e92ea9389d1f.tar.bz2 |
aarch64: Prevent FPR register asms for +nofp
+nofp disabled the automatic allocation of FPRs, but it didn't stop
users from explicitly putting register variables in FPRs. We'd then
either report an ICE or generate unsupported instructions.
It's still possible (and deliberately redundant) to specify FPRs in
clobber lists.
gcc/
* config/aarch64/aarch64.cc (aarch64_conditional_register_usage):
Disallow use of FPRs in register asms for !TARGET_FLOAT.
gcc/testsuite/
* gcc.target/aarch64/nofp_2.c: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions