diff options
| author | Chris Copeland <chris@chrisnc.net> | 2024-03-28 00:57:09 -0700 |
|---|---|---|
| committer | Chris Copeland <chris@chrisnc.net> | 2024-04-04 22:10:45 -0700 |
| commit | 0459e55375b15b28830e7ad1052a63d40268080e (patch) | |
| tree | bf4e69b415dc030412a826ced6d924fea1332037 /compiler/rustc_codegen_gcc | |
| parent | 3d7e88148a00c99e444c8f287d73ebe1846bc7aa (diff) | |
| download | rust-0459e55375b15b28830e7ad1052a63d40268080e.tar.gz rust-0459e55375b15b28830e7ad1052a63d40268080e.zip | |
Fix target-cpu fpu features on Armv7-R, Armv7-M, and Armv8-M
This is achieved by converting `+<fpu>,-d32,{,-fp64}` to `+<fpu>d16{,sp}`.
By using a single additive feature that captures `d16` vs `d32` and `sp` vs
`dp`, we prevent `-<feature>` from overriding `-C target-cpu` at build time.
Remove extraneous `-fp16` from `armv7r` targets, as this is not included in
`vfp3` anyway, but was preventing `fp16` from being enabled by e.g.,
`-C target-cpu=cortex-r7`, which does support `fp16`.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
