Rollup merge of #52690 - paoloteti:rclass-dsp, r=alexcrichton
ARM: expose `rclass` and `dsp` target features
- `dsp`: the subtarget supports the DSP (saturating arith. and such)
instructions
- `rclass`: target is a Cortex-R
Both features are useful to support ARM MCUs on `coresimd`.
Note: Cortex-R52 is the first Armv8-R with `neon` support.
r? @alexcrichton
cc @japaric
This commit is contained in:
commit
37835be2e3
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ unsafe fn configure_llvm(sess: &Session) {
|
|||
|
||||
const ARM_WHITELIST: &[(&str, Option<&str>)] = &[
|
||||
("mclass", Some("arm_target_feature")),
|
||||
("rclass", Some("arm_target_feature")),
|
||||
("dsp", Some("arm_target_feature")),
|
||||
("neon", Some("arm_target_feature")),
|
||||
("v7", Some("arm_target_feature")),
|
||||
("vfp2", Some("arm_target_feature")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue