rust-lang / rust-lang/rustc_codegen_gcc

Mapping for Aarch64 CPU features

Open
#782 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.