cpu_features icon indicating copy to clipboard operation
cpu_features copied to clipboard

A cross platform C99 library to get cpu features at runtime.

Results 54 cpu_features issues
Sort by recently updated
recently updated
newest added

It turns out, MACOS is a perfectly fine OS to support aarch64 (through its name arm64.) The only thing missing was the appropriate check in impl_aarch64, plus renaming the file...

Similar to `clang-format`, we can benefit from running `clang-tidy` in the CI Could catch issues like this https://github.com/google/cpu_features/pull/204#discussion_r752330957

misc

## Context following PR #196 we should be able to have an iOS workflow using the ios SDK provided in the macos-11 virtual-environments. * [ ] Add new workflows: `aarch64_ios.yml`...

misc

Completely based on #150. Thanks to @sbehnke! + Refactoring to accomodate the new source tree + Adding more feature flags As #150 is stale, I am just trying to push...

Apple M1

Added an initial implementation, detecting ARM64 through assembly instructions, thereby getting rid of OS binding, which can be used, for example, to detect ARM on Windows. What do you think?

Would be nice if there would also be build support for Bazel

enhancement

It would be great to improve the public API for porting the library. My proposal is to add macro `CPU_FEATURES_EXPORT` to `include/cpu_features_macros.h` and add to public functions this export macro....

enhancement

``` $ ./work/.build/test/cpuinfo_x86_test Running main() from gmock_main.cc [==========] Running 10 tests from 1 test suite. [----------] Global test environment set-up. [----------] 10 tests from CpuidX86Test [ RUN ] CpuidX86Test.SandyBridge [...

Note that Apple no longer sells new x64 MacBooks. It's literally impossible to get a new x64 MacBook for an engineer joining a team. Using CMake 3.22 When doing a...

Apple M1

Periodically for FreeBSD amd64 CI jobs fail ```ini Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'generic/freebsd12' could not be found. Attempting to find and install... default: Box...