1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 13:21:13 +02:00
Commit Graph

170 Commits

Author SHA1 Message Date
a528c7f320 Finalize ARM implementation for ndk_compat (#55) 2019-01-18 11:04:22 +01:00
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
b1fa492d8f Merge pull request #53 from google/export_GetArmCpuId
Export GetArmCpuId function
2019-01-17 16:42:06 +01:00
c4305584e0 Increasing timeout for cache
MIPS is regularly timing out when updating the cache.
2019-01-17 15:42:38 +01:00
918553a21f Export GetArmCpuId function 2019-01-17 15:28:04 +01:00
dc7a9ee697 Use Ninja by default when locally testing all configurations 2019-01-17 15:25:56 +01:00
50f782f8ef Merge pull request #52 from google/update_macros
Improve travis ci
2019-01-17 15:23:53 +01:00
718647ac24 Fix typo 2019-01-17 15:12:01 +01:00
29148fffac Fix running tests 2019-01-17 15:07:52 +01:00
1ee19cd683 Fix running tests 2019-01-17 15:04:14 +01:00
d724ac04fc Fix test output. 2019-01-17 14:52:13 +01:00
3130eef35d Do not use ninja on OSX 2019-01-17 14:45:44 +01:00
8685431ded Defaulting env to Ninja in the build matrix 2019-01-17 14:33:28 +01:00
24dddd1d21 Defaulting env to Ninja in the build matrix 2019-01-17 14:27:22 +01:00
081188a17d Show tests output 2019-01-17 14:24:42 +01:00
674c5878ca Use Ninja by default 2019-01-17 14:24:14 +01:00
5f5cde5797 Add ninja build. 2019-01-17 14:19:34 +01:00
bd37e1bf24 Remove unavailable MSVC version and test Ninja on travis 2019-01-17 14:12:04 +01:00
317edf860b Allow specifying cmake generator. 2019-01-17 14:03:37 +01:00
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
fc7efb4c14 Fix Mips32 and add an alias for Mips32/64. 2019-01-16 14:26:18 +01:00
d864585dc9 Update macros to detect mips64 and differentiate between x86 32/64. 2019-01-16 14:02:24 +01:00
543e043c2a Merge pull request #50 from google/try_travisci_windows_build
Try travisci windows build
2019-01-16 11:40:10 +01:00
df12a0c1ab Compiler is MSVC by default 2019-01-16 11:06:38 +01:00
1da4bf25c8 Test windows integration for travis-ci 2019-01-16 11:00:27 +01:00
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
98bd43ffce UNIX works for Unix like OS so no need to add APPLE. 2019-01-15 17:35:04 +01:00
b3bb9048f4 Fix discovery of <sys/auxv.h> 2019-01-15 17:34:52 +01:00
347065af95 Add AMD64 and i386/i686 to x86 detection 2019-01-15 15:30:43 +01:00
122b067087 Use Cmake macros to detect getauxval and dlopen 2019-01-15 15:18:08 +01:00
e8e5610fc4 Per arch build and inlining of cpuid_x86. 2019-01-15 10:52:56 +01:00
b6e7c32c90 Merge pull request #48 from google/update_integration_scripts
Declare CMAKE_SYSTEM_NAME/SYSTEM for Linaro builds
2019-01-15 10:50:57 +01:00
a897bf8057 Update shebang 2019-01-15 10:36:17 +01:00
5177c6974f Declare CMAKE_SYSTEM_NAME/SYSTEM for Linaro builds 2019-01-15 10:19:06 +01:00
78635347db Merge pull request #42 from fuzun/master
Small changes made according to static analyzer results
2018-09-11 17:36:37 +02:00
954eb4cc58 Revert "Cast added for macros in test for new IsBitSet"
This reverts commit 78223d1be7.
2018-09-11 17:43:40 +03:00
f6c8a5d92d Revert "Different approach for -1 & true compliance"
This reverts commit 58a232c560.
2018-09-11 17:24:35 +03:00
78223d1be7 Cast added for macros in test for new IsBitSet 2018-09-08 06:12:07 +03:00
a23004e154 Merge branch 'master' of https://github.com/fuzun/cpu_features 2018-09-08 06:01:08 +03:00
58a232c560 Different approach for -1 & true compliance 2018-09-08 05:56:35 +03:00
7c1c91f9ea Merge pull request #1 from google/master
Sync with head
2018-09-08 05:16:44 +03:00
f189298f4f Revert "Change feature variables to unsigned int to fully comply with 'true' and 'false' & IsBitSet()"
This reverts commit 319bd6f26b.
2018-09-08 05:16:00 +03:00
8ba03e9d24 Fix CI for Mips v0.2.0 2018-09-07 15:54:51 +02:00
dab7cea707 Fix -Wunused-function warning. 2018-09-07 15:17:44 +02:00
68462fb78f Suppress analysis warning 2018-08-30 06:22:54 +03:00
9d9134cf0b Parantheses added to CPUID macro 2018-08-30 06:13:02 +03:00
319bd6f26b Change feature variables to unsigned int to fully comply with 'true' and 'false' & IsBitSet()
It seems that ' : 1' alignments cause signed integers to be either -1 or 0. While -1 is true and 0 is false reverse might not be always correct when true is defined 1.

Maybe change feature variables to bool ?
2018-08-30 06:11:35 +03:00
26133d3b62 Match function definition and declaration arguments. 2018-06-20 09:18:57 +02:00
9f9a8d4b6e Merge pull request #37 from psteinb/adding-missing-header
without cpu_features_macros.h in the install tree, the library cannot
2018-06-19 11:11:36 +02:00
ce4637008d without cpu_features_macros.h in the install tree, the library cannot
be used after `make install`
2018-05-22 10:09:00 +02:00