Skip to content

Commit

Permalink
more ARMv7 doc in README
Browse files Browse the repository at this point in the history
  • Loading branch information
hkratz committed Nov 10, 2024
1 parent 21ba2c8 commit 1b7edda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ for the SSE 4.2 implementation.
### ARM64
The SIMD implementation is used automatically since Rust 1.61.

### ARMv7
Requires a recent nightly Rust compiler. The `armv7_neon` feature needs to be enabled. The fasted implementation is selected at
runtime using the `std::arch::is_arm_feature_detected!` macro unless the CPU target features are enabled, e.g. with
`RUSTFLAGS="-C target-feature=+neon"`. Some targets such as `thumbv7neon-linux-androideabi` and `thumbv7neon-unknown-linux-gnueabihf`
have NEON enabled by default.

### WASM32
For wasm32 support, the implementation is selected at compile time based on the presence of the `simd128` target feature.
Use `RUSTFLAGS="-C target-feature=+simd128"` to enable the WASM SIMD implementation. WASM, at
Expand Down

0 comments on commit 1b7edda

Please sign in to comment.