Skip to content

Commit 1b7edda

Browse files
committed
more ARMv7 doc in README
1 parent 21ba2c8 commit 1b7edda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ for the SSE 4.2 implementation.
8383
### ARM64
8484
The SIMD implementation is used automatically since Rust 1.61.
8585

86+
### ARMv7
87+
Requires a recent nightly Rust compiler. The `armv7_neon` feature needs to be enabled. The fasted implementation is selected at
88+
runtime using the `std::arch::is_arm_feature_detected!` macro unless the CPU target features are enabled, e.g. with
89+
`RUSTFLAGS="-C target-feature=+neon"`. Some targets such as `thumbv7neon-linux-androideabi` and `thumbv7neon-unknown-linux-gnueabihf`
90+
have NEON enabled by default.
91+
8692
### WASM32
8793
For wasm32 support, the implementation is selected at compile time based on the presence of the `simd128` target feature.
8894
Use `RUSTFLAGS="-C target-feature=+simd128"` to enable the WASM SIMD implementation. WASM, at

0 commit comments

Comments
 (0)