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

18 Commits

Author SHA1 Message Date
9d9134cf0b Parantheses added to CPUID macro 2018-08-30 06:13:02 +03:00
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
1c8bf0ecd8 hwcaps: Change uint32_t to unsigned long
getauxval() returns an unsigned long which can be defined to be
more than 32 bits so don't force the result into a uint32_t.

Signed-off-by: Rashmica Gupta <rashmica.gupta@au1.ibm.com>
2018-05-15 14:24:53 +10:00
3adafbfe66 powerpc: Added PowerPC implementation
Signed-off-by: Rashmica Gupta <rashmica.gupta@au1.ibm.com>
2018-05-15 14:24:45 +10:00
d968991caa Reformat files 2018-05-04 09:32:17 +02:00
235d57c591 Fix failing tests on Linux & Android 2018-05-04 09:30:32 +02:00
fd4839032c Fix tests & fix missing GetHardwareCapabilities() change 2018-05-03 17:07:07 +02:00
a1ffdcbe70 Explicitly namespace every extern identifier 2018-04-26 10:31:03 +02:00
07fd90d4f5 Add JSON output. Fixes #24 2018-03-27 15:28:40 +02:00
9b872ce0b2 Add cx16 (cmpxchg16b) cpuid flag. Fixes #30 2018-03-13 10:58:42 +01:00
0f1f3ac262 sort the detection by leaf and bit 2018-02-13 11:44:40 +01:00
3ee0d62e87 detect intel sgx and smx cpu features for the x86 arch 2018-02-13 11:16:48 +01:00
7634420f31 GCC does not discover all cpu features. Fixes #22 2018-02-13 10:12:21 +01:00
6395af0fc6 Fixing MSVC build. 2018-02-09 14:50:12 +01:00
4189efff92 Converts list_cpu_features to C 2018-02-09 10:08:23 +01:00
11e3e20496 Reverting 338484f6f2. Fixes #2 2018-02-09 08:55:11 +01:00
338484f6f2 Fixes #2 - vpclmulqdq should be pclmulqdq. 2018-02-08 11:35:31 +01:00
439d371594 Adding code. Closes #0. 2018-02-01 10:03:09 +01:00