stdarch-gen-arm: Modernization of the coding style

It modernizes the coding style of the crate stdarch-gen-arm by fixing
Clippy warnings (except clippy::{collapsible_if,obfuscated_if_else} that
might make the program look worse as a result of "fixing" warnings).

Clippy: rust version 1.89.0-nightly (6f6971078 2025-05-28)
Number of Fixed Warnings: 84/84
Note:
Rust Analyzer double counts one of the Clippy warnings so it reduces
85 warnings (as reported by the Rust Analyzer).

This commit also applies similar technique used to resolve Clippy
warnings but also simplifies identifier name formatting and makes
reading easier.

Confirmed that the exact same code will be generated.
9 files changed
tree: 46cc630fb4a9c741c02998e2ee6a5be20fb2de0b
  1. .github/
  2. ci/
  3. crates/
  4. examples/
  5. intrinsics_data/
  6. .cirrus.yml
  7. .git-blame-ignore-revs
  8. .gitignore
  9. .gitmodules
  10. Cargo.toml
  11. CONTRIBUTING.md
  12. LICENSE-APACHE
  13. LICENSE-MIT
  14. README.md
  15. rustfmt.toml
  16. triagebot.toml
  17. vendor.yml
README.md

stdarch - Rust's standard library SIMD components

Actions Status

Crates

This repository contains two main crates:

  • core_arch implements core::arch - Rust's core library architecture-specific intrinsics, and

  • std_detect implements std::detect - Rust's standard library run-time CPU feature detection.

The std::simd component now lives in the packed_simd_2 crate.