about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect
AgeCommit message (Collapse)AuthorLines
2019-12-02Add CRC32 detection to arm32Makoto Kato-1/+6
armv8 has 32-bit mode, but it can use crc32 instruction sets even if 32-bit.
2019-10-10Remove need for `#[macro_use]` with `cfg-if`Alex Crichton-20/+14
Modernizes usage of `cfg_if!` slightly
2019-10-10Remove azure pipelines badgesTaiki Endo-4/+1
2019-09-18Feature::from_str is not always neededgnzlbg-0/+1
2019-09-18std_detect_env_override should be disabled by defaultgnzlbg-1/+1
2019-09-18These items do not need to be publicgnzlbg-8/+15
2019-09-18Drop the features test for nowLuca Barbato-13/+0
2019-09-18Unbreak non-x86Luca Barbato-0/+1
2019-09-17Implement a fallback for the No-op FeatureLuca Barbato-0/+7
2019-09-17Move the tests away from the codeLuca Barbato-143/+153
2019-09-17Add a test for the env_overrideLuca Barbato-0/+26
2019-09-17Make the test function smallerLuca Barbato-7/+6
2019-09-17Simplify the std importsLuca Barbato-12/+1
2019-09-17Remove the FIXME about the cache size checksLuca Barbato-6/+2
And leave a NOTE.
2019-09-17Override the features detected using an env::varLuca Barbato-4/+45
Fixes: #804
2019-09-17Add a mean to unset a bit in the cacheLuca Barbato-0/+19
2019-09-17Try harder to error on usage of unstable featuresgnzlbg-1/+1
2019-09-17Remove staged_api from the allowed_internal_unstabled of the feature macrosgnzlbg-1/+1
2019-09-16Fix std_detect on targets without feature detectiongnzlbg-0/+4
2019-09-16Formatgnzlbg-75/+86
2019-09-16Enforce staged_api on a per-feature basisgnzlbg-67/+87
2019-09-16Add std_detect::detect::features() -> impl Iterator<Item=(&'static str, ↵gnzlbg-558/+314
bool)> API
2019-09-09Factor out check_forLuca Barbato-63/+17
All the os-specific code implements a `check_for` and a `detect_features`. Move the always identical check_for in the mod.rs and use `os::detect_features` there.
2019-09-06Document how miri support worksLuca Barbato-0/+5
Co-Authored-By: gnzlbg <gnzlbg@users.noreply.github.com>
2019-09-06Minimal miri supportLuca Barbato-1/+4
Should address https://github.com/rust-lang/miri/issues/932
2019-08-18Fix more linksatouchet-1/+1
2019-08-13Update badgesgnzlbg-7/+4
2019-07-09Update repo namegnzlbg-12/+9
2019-05-25add Hygon Dhyana CPU Vendor ID("HygonGenuine") checkinghygonsoc-2/+12
As Hygon Dhyana originates from AMD technology and shares most of the architecture with AMD's family 17h, but with different CPU Vendor ID("HygonGenuine")/Family series number(Family 18h). for CPUID feature bits, Hygon Dhyana(family 18h) share the same definition with AMD family 17h. AMD CPUID specification is https://www.amd.com/system/files/TechDocs/25481.pdf. Related Hygon kernel patch can be found on http://lkml.kernel.org/r/5ce86123a7b9dad925ac583d88d2f921040e859b.1538583282.git.puwen@hygon.cn
2019-05-23Fix build of auxvec.rs on FreeBSD/powerpc64Tobias Kortkamp-1/+1
``` error[E0432]: unresolved import `mem` --> src/libstd/../stdsimd/crates/std_detect/src/detect/os/freebsd/auxvec.rs:45:9 | 45 | use mem; | ^^^ no `mem` external crate error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. error: Could not compile `std`. ``` Tested by @pkubaj in https://reviews.freebsd.org/D20332
2019-05-13Fix detection of power8MikaelUrankar-1/+1
The power8 feature is defined in hwcap2
2019-05-09Add std_detect for FreeBSD armv6, armv7 and powerpc64miki-0/+148
2019-05-09Update f16c intrinsics to use the f16c target featuregnzlbg-1/+1
2019-05-09Add runtime feature detection for F16Cgnzlbg-1/+10
2019-04-25add rtm cpu feature intrinsicstyler-0/+14
2019-04-17Bump patch versionsgnzlbg-1/+1
2019-04-17Fix clippy issuesgnzlbg-15/+6
2019-04-17Migrate clippy lints to tool lintsgnzlbg-5/+2
2019-02-27aarch64: escape square brackets in docs myfreeweb-1/+1
To comply with deny(intra_doc_link_resolution_failure)
2019-02-23Test Rust2018 buildsgnzlbg-0/+1
2019-02-19Change imports in std_detect to edition-agnostic styleTaiki Endo-8/+8
2019-02-18Bump versions of core_arch and std_detectgnzlbg-1/+1
2019-02-18A few cosmetic improvements.Alexander Regueiro-2/+2
2019-02-18Various cosmetic improvements.Alexander Regueiro-6/+5
2019-02-16Try to fix upstreamgnzlbg-7/+7
2019-02-14Fix wasm32 build jobgnzlbg-0/+2
2019-02-13allow_internal_unstable requires feature namesgnzlbg-7/+7
Closes #681 .
2019-02-09Add cargo features to disable usage of file I/O and dlsym in std_detectgnzlbg-32/+106
2019-02-05Remove const workaround in std_detect cachegnzlbg-2/+1
2019-02-04Add detect macros should support trailing commas (Fix #443)Juan Aguilar Santillana-0/+76