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

115 Commits

Author SHA1 Message Date
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
Guillaume Chatelet
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
Guillaume Chatelet
a897bf8057 Update shebang 2019-01-15 10:36:17 +01:00
Guillaume Chatelet
5177c6974f Declare CMAKE_SYSTEM_NAME/SYSTEM for Linaro builds 2019-01-15 10:19:06 +01:00
Guillaume Chatelet
78635347db
Merge pull request #42 from fuzun/master
Small changes made according to static analyzer results
2018-09-11 17:36:37 +02:00
fuzun
954eb4cc58 Revert "Cast added for macros in test for new IsBitSet"
This reverts commit 78223d1be73c551ec75603166260841296ab41e2.
2018-09-11 17:43:40 +03:00
fuzun
f6c8a5d92d Revert "Different approach for -1 & true compliance"
This reverts commit 58a232c560cbd5d341aeb67b890cbe263528a755.
2018-09-11 17:24:35 +03:00
fuzun
78223d1be7 Cast added for macros in test for new IsBitSet 2018-09-08 06:12:07 +03:00
fuzun
a23004e154 Merge branch 'master' of https://github.com/fuzun/cpu_features 2018-09-08 06:01:08 +03:00
fuzun
58a232c560 Different approach for -1 & true compliance 2018-09-08 05:56:35 +03:00
fuzun
7c1c91f9ea
Merge pull request #1 from google/master
Sync with head
2018-09-08 05:16:44 +03:00
fuzun
f189298f4f Revert "Change feature variables to unsigned int to fully comply with 'true' and 'false' & IsBitSet()"
This reverts commit 319bd6f26be9232cc534e376f1d1ce50505394c2.
2018-09-08 05:16:00 +03:00
Guillaume Chatelet
8ba03e9d24
Fix CI for Mips v0.2.0 2018-09-07 15:54:51 +02:00
Guillaume Chatelet
dab7cea707 Fix -Wunused-function warning. 2018-09-07 15:17:44 +02:00
fuzun
68462fb78f Suppress analysis warning 2018-08-30 06:22:54 +03:00
fuzun
9d9134cf0b Parantheses added to CPUID macro 2018-08-30 06:13:02 +03:00
fuzun
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
Guillaume Chatelet
26133d3b62 Match function definition and declaration arguments. 2018-06-20 09:18:57 +02:00
Guillaume Chatelet
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
Peter Steinbach
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
Guillaume Chatelet
06d4f52f7e
Update README.md to add support for POWER. 2018-05-15 11:24:37 +02:00
Guillaume Chatelet
d5e3985359
Delete .cpuinfo_ppc.h.swp 2018-05-15 10:46:12 +02:00
Guillaume Chatelet
7e1035c5fc
Merge pull request #36 from RashmicaG/master
Add Power support
2018-05-15 10:42:42 +02:00
Rashmica Gupta
bc1066c128
travis: Add PowerPC jobs
Signed-off-by: Rashmica Gupta <rashmica.gupta@au1.ibm.com>
2018-05-15 14:25:03 +10:00
Rashmica Gupta
c45e32f812
powerpc: Add AT_PLATFORM and AT_BASE_PLATFORM
Some PowerPC machines can operate in a mode that appears different
to a process than the actual hardware. AT_PLATFORM indicates the
supported instruction set and AT_BASE_PLATFORM indicates the
actual microarchitecture of the hardware.

Signed-off-by: Rashmica Gupta <rashmica.gupta@au1.ibm.com>
2018-05-15 14:24:58 +10:00