Skip to content

ARM: expose rclass and dsp target features #52690

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 26, 2018
Merged

ARM: expose rclass and dsp target features #52690

merged 1 commit into from
Jul 26, 2018

Conversation

paoloteti
Copy link
Contributor

  • 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

- `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
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 25, 2018
@alexcrichton
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Jul 25, 2018

📌 Commit 580f437 has been approved by alexcrichton

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 25, 2018
@parched
Copy link
Contributor

parched commented Jul 25, 2018

Probably should be renamed to rprofile as "profile" is the correct term not "class", at least before stabilisation anyway.

@paoloteti
Copy link
Contributor Author

'rclass' is the LLVM name/string exported 'as is':

http://llvm.org/doxygen/ELFObjectFile_8cpp_source.html

@parched
Copy link
Contributor

parched commented Jul 26, 2018

Yes, but you have the option of renaming them in to_llvm_feature in that same file.

@nagisa
Copy link
Member

nagisa commented Jul 26, 2018

We already have mclass, so lets keep naming them class.

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 26, 2018
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
bors added a commit that referenced this pull request Jul 26, 2018
Rollup of 16 pull requests

Successful merges:

 - #52558 (Add tests for ICEs which no longer repro)
 - #52610 (Clarify what a task is)
 - #52617 (Don't match on region kinds when reporting NLL errors)
 - #52635 (Fix #[linkage] propagation though generic functions)
 - #52647 (Suggest to take and ignore args while closure args count mismatching)
 - #52649 (Point spans to inner elements of format strings)
 - #52654 (Format linker args in a way that works for gcc and ld)
 - #52667 (update the stdsimd submodule)
 - #52674 (Impl Executor for Box<E: Executor>)
 - #52690 (ARM: expose `rclass` and `dsp` target features)
 - #52692 (Improve readability in a few sorts)
 - #52695 (Hide some lints which are not quite right the way they are reported to the user)
 - #52718 (State default capacity for BufReader/BufWriter)
 - #52721 (std::ops::Try impl for std::task::Poll)
 - #52723 (rustc: Register crates under their real names)
 - #52734 (sparc ABI issue - structure returning from function is returned in 64bit registers (with tests))

Failed merges:

 - #52678 ([NLL] Use better spans in some errors)

r? @ghost
@bors bors merged commit 580f437 into rust-lang:master Jul 26, 2018
@paoloteti paoloteti deleted the rclass-dsp branch July 27, 2018 08:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants