Closed kamyuentse closed 6 years ago
Oh, not required, but it'd be neat to see also what the bench results are without nightly
:D
I'm so sorry I forgot about this!
Just a few quick questions:
target_arch
along with target_feature
? Does target_feature
not imply an arch has it?@seanmonstar The target_feature
seems will be reform? I do not check the RFC yet, but I think target_feature
is enough. For the CI, I will modify the script once this PR ready. I plan to continue working on this as soon as SIMD stable for x86/x86_64
.
I've taken what was started here and got it working and running tests in #40. Thanks so much!
Simple bench result
With AVX2
Bench with
RUSTFLAGS="-C target-feature=+avx2,+bmi" cargo bench --features=nightly
With SSE4.2
Bench with
RUSTFLAGS="-C target-feature=+sse42,+bmi" cargo bench --features=nightly
Without SIMD
Bench with
cargo bench
You may get a different mileage, depends on the specified platform.