1
0
mirror of https://github.com/google/cpu_features.git synced 2025-04-28 07:23:37 +02:00

239 Commits

Author SHA1 Message Date
Dr.-Ing. Patrick Siegl
bfd109b687 Completed all missing ARM hwcaps. (#79) 2019-06-26 12:56:52 +02:00
Dr.-Ing. Patrick Siegl
18342789a1 Fix ARMv6 on Linux vs Android (#81) 2019-06-25 17:58:31 +02:00
Artem Alekseev
bfb4cf99cc Add CpuIdEx function to pass inputs in ecx register (required for E.g. leaf4) (#77) 2019-06-21 14:13:29 +02:00
Artem Alekseev
3ee4a9e801 Support x86 DCA and SS features (#76)
* Add dca and ss features
* Remove trailing white spaces
2019-06-19 15:06:05 +02:00
Dr.-Ing. Patrick Siegl
6482bad213 Added RPI zero with its features HALF, THUMB, FASTMULT, EDSP, JAVA and TLS (#75) 2019-06-18 12:53:08 +02:00
Dr.-Ing. Patrick Siegl
367bc42116 Support x86 features: FPU, TSC, CX8, CLFSH, MMX, VAES, HLE, RTM, RDSEED, CLFLUSHOPT, CLWB, SSE, SSE2, SSE3, PCLMULQDQ (#73) 2019-06-13 11:53:39 +02:00
natanbc
084ec5cd0f Convert XGETBV to equivalent byte form in GetXCR0Eax (#69)
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'
```
v0.3.0
2019-03-20 10:04:24 +01:00
William Tambellini
7806502271 Add PIC option (#66) 2019-02-13 11:55:17 +01:00
Guillaume Chatelet
96133906d6
Remove unneeded sysroot to save on travis cache. (#63) 2019-01-25 15:25:19 +01:00
Guillaume Chatelet
20fa92a02a
Release ndk support (#62)
Fixes #47
2019-01-23 12:59:46 +01:00
Guillaume Chatelet
d395dfa026
Add x86 missing feature detections for ndk_compat (#58)
One more step towards #47.
2019-01-22 13:19:42 +01:00
Guillaume Chatelet
5911e96bbd
add r6 flag (#57)
Update tests and add support in ndk-compat as well
2019-01-22 11:00:48 +01:00
Guillaume Chatelet
51693b8b3e
Cleanup CMAKE_ADDITIONAL_ARGS
Making sure to cleanup CMAKE_ADDITIONAL_ARGS between runs
2019-01-22 09:06:14 +01:00
Guillaume Chatelet
53ea243a62
Fix mips qemu (#61)
* Fix continuous integration for mips

* Fix MSVC build

* Fix MSVC build
2019-01-21 22:40:16 +01:00
Guillaume Chatelet
9917e8481e
Fix hwcaps constants for mips. (#60)
fixes #59
2019-01-21 10:39:24 +01:00
Guillaume Chatelet
6984510879
Remove verbosity from script
Users of this script shoud set it from outside:
`VERBOSE=1 bash -x scrpts/test_integration.sh`
2019-01-21 10:19:21 +01:00
Guillaume Chatelet
4155ee7e36
Guarding header use with architecture (#56) 2019-01-18 13:38:22 +01:00
Guillaume Chatelet
89ec4b0744 Update scripts, remove archive once unpacked 2019-01-18 11:48:06 +01:00
Guillaume Chatelet
faacb00bb8 Update scripts 2019-01-18 11:40:50 +01:00
Guillaume Chatelet
a528c7f320
Finalize ARM implementation for ndk_compat (#55) 2019-01-18 11:04:22 +01:00
Guillaume Chatelet
dfdac6adfc
Add partial implementation of ndk_compat (#54)
* 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
2019-01-17 18:00:21 +01:00
Guillaume Chatelet
b1fa492d8f
Merge pull request #53 from google/export_GetArmCpuId
Export GetArmCpuId function
2019-01-17 16:42:06 +01:00
Guillaume Chatelet
c4305584e0
Increasing timeout for cache
MIPS is regularly timing out when updating the cache.
2019-01-17 15:42:38 +01:00
Guillaume Chatelet
918553a21f Export GetArmCpuId function 2019-01-17 15:28:04 +01:00
Guillaume Chatelet
dc7a9ee697 Use Ninja by default when locally testing all configurations 2019-01-17 15:25:56 +01:00
Guillaume Chatelet
50f782f8ef
Merge pull request #52 from google/update_macros
Improve travis ci
2019-01-17 15:23:53 +01:00
Guillaume Chatelet
718647ac24 Fix typo 2019-01-17 15:12:01 +01:00
Guillaume Chatelet
29148fffac Fix running tests 2019-01-17 15:07:52 +01:00
Guillaume Chatelet
1ee19cd683 Fix running tests 2019-01-17 15:04:14 +01:00
Guillaume Chatelet
d724ac04fc Fix test output. 2019-01-17 14:52:13 +01:00
Guillaume Chatelet
3130eef35d Do not use ninja on OSX 2019-01-17 14:45:44 +01:00
Guillaume Chatelet
8685431ded Defaulting env to Ninja in the build matrix 2019-01-17 14:33:28 +01:00
Guillaume Chatelet
24dddd1d21 Defaulting env to Ninja in the build matrix 2019-01-17 14:27:22 +01:00
Guillaume Chatelet
081188a17d Show tests output 2019-01-17 14:24:42 +01:00
Guillaume Chatelet
674c5878ca Use Ninja by default 2019-01-17 14:24:14 +01:00
Guillaume Chatelet
5f5cde5797 Add ninja build. 2019-01-17 14:19:34 +01:00
Guillaume Chatelet
bd37e1bf24 Remove unavailable MSVC version and test Ninja on travis 2019-01-17 14:12:04 +01:00
Guillaume Chatelet
317edf860b Allow specifying cmake generator. 2019-01-17 14:03:37 +01:00
Guillaume Chatelet
4bb7f87a8d
Merge pull request #51 from google/update_macros
Update macros to detect mips64 and differentiate between x86 32/64.
2019-01-16 14:47:40 +01:00
Guillaume Chatelet
fc7efb4c14 Fix Mips32 and add an alias for Mips32/64. 2019-01-16 14:26:18 +01:00
Guillaume Chatelet
d864585dc9 Update macros to detect mips64 and differentiate between x86 32/64. 2019-01-16 14:02:24 +01:00
Guillaume Chatelet
543e043c2a
Merge pull request #50 from google/try_travisci_windows_build
Try travisci windows build
2019-01-16 11:40:10 +01:00
Guillaume Chatelet
df12a0c1ab Compiler is MSVC by default 2019-01-16 11:06:38 +01:00
Guillaume Chatelet
1da4bf25c8 Test windows integration for travis-ci 2019-01-16 11:00:27 +01:00
Guillaume Chatelet
94838120ec
Merge pull request #49 from google/per_arch_build
Per arch build and inlining of cpuid_x86.
2019-01-15 17:36:05 +01:00
Guillaume Chatelet
98bd43ffce UNIX works for Unix like OS so no need to add APPLE. 2019-01-15 17:35:04 +01:00
Guillaume Chatelet
b3bb9048f4 Fix discovery of <sys/auxv.h> 2019-01-15 17:34:52 +01:00
Guillaume Chatelet
347065af95 Add AMD64 and i386/i686 to x86 detection 2019-01-15 15:30:43 +01:00
Guillaume Chatelet
122b067087 Use Cmake macros to detect getauxval and dlopen 2019-01-15 15:18:08 +01:00
Guillaume Chatelet
e8e5610fc4 Per arch build and inlining of cpuid_x86. 2019-01-15 10:52:56 +01:00