Commit graph

10 commits

Author SHA1 Message Date
gnzlbg
58664a6f54 More run-time detection improvements (#242)
* [core/runtime] use getauxval on non-x86 platforms

* test coresimd::auxv against auxv crate

* add test files from auxv crate

* [arm] use simd_test macro

* formatting

* missing docs

* improve docs

* reading /proc/self/auxv succeeds only if reading all fields succeeds

* remove cc-crate build dependency

* getauxval succeeds only if hwcap/hwcap2 are non-zero

* fix formatting

* move getauxval to stdsimd

* delete getauxval-wrapper.c

* remove auxv crate dev-dependency from coresimd
2018-01-09 09:23:45 -06:00
gnzlbg
4fb9420acb
Fix rustfmt (#239)
* [fmt] manually fix some formatting
* [fmt] reformat with rustfmt-nightly
* [clippy] fix clippy issues
2017-12-14 19:57:53 +01:00
Luca Barbato
baace2fc3f Initial PowerPC support
Rely mainly on parsing auxv since the cpuinfo information is incomplete.
2017-12-12 11:54:49 +01:00
Luca Barbato
f775bf3931 Extract the cpu capabilities from the auxiliary vector
Check for neon/asimd and pmull for arm and aarch64.
2017-12-12 11:54:49 +01:00
Luca Barbato
f49009e22c Unbreak detect_features for arm and aarch64 2017-12-12 11:54:49 +01:00
gnzlbg
20529701d8 Fix clippy and rust-fmt. 2017-11-22 13:42:58 +01:00
gnzlbg
14d0903309 refactor no_std components into the coresimd crate 2017-11-22 13:42:58 +01:00
gnzlbg
bd629147a1 Upgrade to cupid 0.0.5 and cleanup duplicated code in x86 run-time (#203)
* [ci] upgrade to cupid 0.0.5

* [runtime x86] cleanup duplicated code
2017-11-21 08:46:36 -06:00
Alex Crichton
738312d17c
Unconditionally flag as #![no_std] (#196)
This is more idiomatic for no-std-compatible crates where imports are
unconditionally rewritten to `core` and then only when necessary `std` is pulled
in explicitly.
2017-11-19 19:53:02 +01:00
gnzlbg
ceef91aaba [arm] runtime-detection support 2017-11-17 17:41:23 +01:00