Age | Commit message (Collapse) | Author |
|
Fixes #101
|
|
|
|
|
|
|
|
|
|
signed shift result (0x80000000) sets the sign bit of the shift expression's type ('int') and becomes negative
|
|
Adding BSD-2-Clauses for `ndk_compat` folder
|
|
|
|
|
|
Address comments in https://github.com/google/cpu_features/pull/94
|
|
|
|
|
|
|
|
[NFC] Use a tree structure in list_cpu_features
|
|
This is in preparation to include cache hierarchy in the dumped data.
|
|
Update features for AArch64.
|
|
Add all missing features up to Linux v5.0.
Features added: evtstrm, atomics, fphp, asimdhp, cpuid, asimdrdm,
jscvt, fcma, lrcpc, dcpop, sha3, sm3, sm4, asimddp, sha512, sve,
asimdfhm, dit, uscat, ilrcpc, flagm, ssbs, sb, paca, pacg.
|
|
Fixes #91
|
|
|
|
Fix builds on BSD.
Fixes #89
|
|
Fix the build on BSD by setting PROCESSOR_IS_X86 when CMAKE_SYSTEM_PROCESSOR
matches amd64.
Signed-off-by: Steven Kreuzer <skreuzer@FreeBSD.org>
|
|
|
|
|
|
Visual C++ reported a number of warnings:
..\src\filesystem.c(27): warning C4996: '_open': This function or variable may be unsafe. Consider using _sopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
..\src\filesystem.c(34): warning C4267: 'function': conversion from 'size_t' to 'unsigned int', possible loss of data
..\src\string_view.c(25): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
..\src\string_view.c(41): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
..\src\utils\list_cpu_features.c(151): warning C4090: 'function': different 'const' qualifiers
..\src\cpuinfo_x86.c(67): warning C4244: 'return': conversion from 'unsigned __int64' to 'uint32_t', possible loss of data
..\test\filesystem_for_testing.cc(48): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
..\test\filesystem_for_testing.cc(57): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
..\test\bit_utils_test.cc(26): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data
..\test\bit_utils_test.cc(32): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data
..\test\bit_utils_test.cc(37): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data
Most of them, with the exception of _open() -> _sopen_s() are about
questionable implicit casts. Fixing the types and adding explicit casts
to explicitly mark the intention (and silence the warnings in the process)
|
|
* Add support for leaf4 on Intel's x86 arch
* Update cpuinfo_x86.h
* Fix typo
* Force compiler to use C99
* Add Intel x86 leaf2 support
* Fixes after review
* Fix review comments
|
|
|
|
|
|
leaf4) (#77)
|
|
* Add dca and ss features
* Remove trailing white spaces
|
|
|
|
CLFLUSHOPT, CLWB, SSE, SSE2, SSE3, PCLMULQDQ (#73)
|
|
osxcross (https://github.com/tpoechtrager/osxcross) gives the following error, which also happens with regular gcc on OS X (https://github.com/asmjit/asmjit/issues/78):
```
cpu_features/src/cpuinfo_x86.c:44:no such instruction: `XGETBV'
```
|
|
|
|
|
|
Fixes #47
|
|
One more step towards #47.
|
|
Update tests and add support in ndk-compat as well
|
|
Making sure to cleanup CMAKE_ADDITIONAL_ARGS between runs
|
|
* Fix continuous integration for mips
* Fix MSVC build
* Fix MSVC build
|
|
fixes #59
|
|
Users of this script shoud set it from outside:
`VERBOSE=1 bash -x scrpts/test_integration.sh`
|
|
|
|
|
|
|
|
|
|
* First implementation of ndk_compat
* Restrict building of linux_based_hardware_detection to UNIX
* Fix variable declaration and printf formatting
* Restrict ndk compat to UNIX style systems
* Restrict cpu_mask index to 32
* Fix values display in ndk-compat-test
* Addressing comments
|
|
Export GetArmCpuId function
|
|
MIPS is regularly timing out when updating the cache.
|
|
|
|
|