cpu_features
cpu_features copied to clipboard
A cross platform C99 library to get cpu features at runtime.
[The comment about RISC-V devicetree extension order](https://github.com/google/cpu_features/blame/main/src/impl_riscv_linux.c#L25) is not aligned with the URL in the comment. This is mea culpa, because I initially got it wrong & came back and...
Hello, I also experiencing an error when trying to install. Is there a solution for this already? `Error: volk: SHA256 mismatch Expected: a3fc6a08ebbf40c538456d6a20ab294658bcebc8d0918457f33cb86f868f16a2 Actual: 7021729f2db97aa34f218d12727314f23e8b11eaa2d5a907e8426bcb41d7eaac File: /Users/vincentvolmer/Library/Caches/Homebrew/downloads/987ce5a9627ffb58af330dbb6bbfeab569d17a883a9fcb9d061061a40233aa64--cpu_features-0.8.0.tar.gz ` _Originally posted...
``` [wtambellini@r7iz ~]$ cpu_features-9613390/bin/list_cpu_features arch : x86 brand : Intel(R) Xeon(R) Processor family : 6 (0x06) model : 143 (0x8F) stepping : 3 (0x03) uarch : X86_UNKNOWN flags : aes,avx,avx2,avx512bitalg,avx512bw,avx512cd,avx512dq,avx512f,avx512ifma,avx512vbmi,avx512vbmi2,avx512vl,avx512vnni,avx512vpopcntdq,bmi1,bmi2,cx16,erms,f16c,fma3,movbe,popcnt,rdrnd,sha,sse4_1,sse4_2,ssse3,vpclmulqdq...
Hello, I'm trying to build the [VOLK](https://github.com/gnuradio/volk) libraries on [Haiku](https://www.haiku-os.org/) (operating system). VOLK uses `cpu_features` as a submodule, I want/need to do a shared build but it doesn't work. To...
These headers are installed by the FreeBSD port manually: ``` Error: Missing: include/cpu_features/cpuinfo_aarch64.h Error: Missing: include/cpu_features/cpuinfo_arm.h Error: Missing: include/cpu_features/cpuinfo_mips.h Error: Missing: include/cpu_features/cpuinfo_ppc.h Error: Missing: include/cpu_features/internal/hwcaps.h ``` Should they be installed...
This is useful in easily determining 32-bit vs. 64-bit.
https://github.com/google/cpu_features/pull/291 introduced shorter INTROSPECTION_TABLE in impl_aarch64_windows.c so while public headers declare AARCH64_LAST_=78 only 54 entries were inited in kGetters kFeatureNames. Thus iterating all features upto AARCH64_LAST_ caused crash as long...
Add avx-ifma detection according to the https://en.wikipedia.org/wiki/CPUID#EAX=7,_ECX=1:_Extended_Features.
Will it be possible to add a basic support for Darwin on PowerPC? It is desirable, since `cpu_features` is a dependency used by other software, which otherwise cannot be built.