aboutsummaryrefslogtreecommitdiff
path: root/src/impl_x86_linux_or_android.c
AgeCommit message (Collapse)Author
2022-02-22replace sse3 detection with pni when reading /proc/cpuinfo (#225)jmfriedt
2022-01-31Fix list_cpu_features.exe does not detect SSE42 on Xeon X5650 (Windows) (#220)Mykola Hohsadze
2021-10-29Silence unsused parametersGuillaume Chatelet
2021-10-28New code layout - breaking change in cpu_features_macros.h (#194)Guillaume Chatelet
This commit helps with platform code separation (fixes #3). It should also help with the build as we can simply include all `impl_*.c` files regardless of OS / arch. Note: this patch contains breaking changes in `include/cpu_features_macros.h` - `CPU_FEATURES_OS_LINUX_OR_ANDROID` does not exist anymore - `CPU_FEATURES_OS_FREEBSD`, `CPU_FEATURES_OS_ANDROID` and `CPU_FEATURES_OS_LINUX` are now mutually exclusive (i.e. `CPU_FEATURES_OS_ANDROID` does not imply `CPU_FEATURES_OS_LINUX`) - `CPU_FEATURES_OS_DARWIN` has been renamed into `CPU_FEATURES_OS_MACOS` to be able to target non-Mac Apple products (IOS, TV, WATCH). They are now targetable with `CPU_FEATURES_OS_IPHONE`. This matches Apple naming convention described in [this stackoverflow](https://stackoverflow.com/a/49560690).