rust-lang / rust-lang/rustc_codegen_gcc
Mapping for Aarch64 CPU features
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 105
- Avg merge
- 8h 20m
- Merged PRs (30d)
- 14
Description
Since the patch for Aarch64 CPU features will be updated to use the canonical GCC names.
GCC -> Rust:
- asimddp -> dotprod
- asimdfhm -> fhm
- fphp + asimdhp -> fp16
- frint -> frintts
- jscvt -> jsconv
- atomics -> lse
- memtag -> mte
- rng -> rand
- lrcpc -> rcpc
- ilrcpc -> rcpc2
- asimdrdm -> rdm
- asimd -> neon
- sveaes -> sve2-aes
- svebitperm -> sve2-bitperm
- svesha3 -> sve2-sha3
- svesm4 -> sve2-sm4
- crc32 -> crc
Probably:
- svef32mm -> f32mm
- svef64mm -> f64mm
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Aarch64 CPU-feature mapping in the repository and inspect how GCC feature names are translated to Rust names. Update the mappings listed in the issue, resolve the two probable mappings, and verify that the canonical names are accepted by the relevant compiler tests or checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100