about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-04-05 22:33:26 +0200
committerGitHub <noreply@github.com>2024-04-05 22:33:26 +0200
commit26588239c2b32ffdb8e7e6a43d5204db8b795ceb (patch)
tree48d3dd2de0f32c26b1e3cf1994b87a1c8ec8cb18 /compiler/rustc_codegen_gcc
parent74a5bc6c9ea46665147137f064e99665d0c12f61 (diff)
parent0459e55375b15b28830e7ad1052a63d40268080e (diff)
downloadrust-26588239c2b32ffdb8e7e6a43d5204db8b795ceb.tar.gz
rust-26588239c2b32ffdb8e7e6a43d5204db8b795ceb.zip
Rollup merge of #123159 - chrisnc:fix-arm-rm-none-eabihf-features, r=workingjubilee
Fix target-cpu fpu features on Arm R/M-profile

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