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

420 Commits

Author SHA1 Message Date
Corentin Le Molgat
4e191a4cc8 script: rename few variables in expand_bootlin 2022-11-09 15:37:43 +00:00
Mykola Hohsadze
19799486d2
Add Intel Raptor Lake uarch detection (#283) 2022-11-08 15:35:50 +01:00
Guillaume Chatelet
b7bc447203
Update README.md to report support of POWER and s390x (#284) 2022-11-03 10:39:28 +01:00
Mizux
16ca56fcb2
Improve CI (Aarch64, Power) (#285)
* scripts: Fix shellcheck

* script: Bump qemu 5.2.0 -> 7.1.0

* scripts: add bootlin aarch64 toolchains

* scripts: Add PowerPC bootlin toolchain

* scripts: cleanup linaro toolchains

* scripts: cleanup codespace

* cmake(ci): Add aarch64 bootlin support

* cmake(ci): Add PowerPC bootlin support

* ci: Add aarch64 bootlin jobs

* ci: Add PowerPC bootlin jobs

* Remove conflict with compiler generated preprocessor

Co-authored-by: Guillaume Chatelet <gchatelet@google.com>
2022-11-03 10:06:38 +01:00
marquitos0119
981fbe3914
S390X Support (#274)
* support for s390x

* added z15 T01, T02 model checking

* removed z15 checking

* removed empty strings

* added s390x unit tests

* added reference url for hwcaps

* moved documentation to S390XFeatures struct, updated copyright date, removed unused include statement

* changed num_processors to int

* removed newlines from test inputs

* scripts: Add bootlin s390x support

* cmake(ci): Add s390x support

* ci: Add s390x workflow

Co-authored-by: Marcos <marcos.araque.fiallos@ibm.com>
Co-authored-by: Corentin Le Molgat <corentinl@google.com>
2022-11-02 09:38:13 +01:00
Mykola Hohsadze
bddcc3721c
Add REP instructions detection (#282) 2022-10-26 16:13:15 +02:00
Mykola Hohsadze
26852665b4
Add X86 movdir detection (#281) 2022-10-25 09:33:13 +02:00
Mykola Hohsdze
3485a46a6d Add X86 GFNI detection 2022-10-24 08:29:55 +02:00
damageboy
8ca7c65f65
add x86/avx512_fp16 detection (#279)
fixes #278
2022-10-20 11:26:13 +02:00
Mykola Hohsadze
627959faee
Add AMD ZEN4 Raphael detection (#277) 2022-10-19 11:36:27 +02:00
Andrei Kurushin
4760834428
add mobile core flavor (#266) 2022-10-19 11:35:19 +02:00
Guillaume Chatelet
438a66e418
Use textual_hdrs for bazel instead of hdrs (#276) 2022-09-29 11:10:07 +02:00
Mykola Hohsadze
302566b160
Replace hardcoded cache type value to enum type for X86 tests (#270)
Replaced hardcoded integer values of cache type to `CacheType` values for X86 tests and added declaration `CacheType` for `P4_CacheInfo` test
2022-09-19 12:56:09 +02:00
William Tambellini
b69591add3
Add support for detecting Intel CascadeLake CPUs (#271)
Should close
https://github.com/google/cpu_features/issues/260
2022-09-19 10:00:01 +02:00
Mykola Hohsadze
cee2648cf0
Add cache detection for old AMD processors (#199)
* Add cache detection for of old AMD processors




update links

* Add documentation link for cache_size * 512

* Update legacy amd cache detection
2022-08-18 13:55:21 +02:00
Andrei Kurushin
1e253a7728
add amd cato (#267)
* add AMD RX-8125, RX-8120, and A9-9820 detection
2022-08-18 10:40:24 +02:00
Mykola Hohsadze
cd97c7cee7
Get rid repeated branch (#269)
* Get rid repeated branch
* Update cache type field comment
2022-08-18 10:39:00 +02:00
Andrei Kurushin
4e8d2e3a22
add intel goldmont plus (#256)
* add intel goldmont plus (INTEL_ATOM_GMT_PLUS)
2022-08-08 09:27:18 +02:00
Andrei Kurushin
876b9e6a73
add amd piledriver 0x10 model (#255)
* add amd piledriver 0x10 model
2022-08-05 15:56:53 +02:00
Andrew Kurushin
349ef06634 add CometLake model 166 2022-08-05 15:55:18 +02:00
Mykola Hohsdze
cf7cd9824f Replace hardcode values to constants 2022-08-05 09:02:13 +02:00
Daniele Affinita
426b036e8d
Added some missing amd k12 uarch (#259)
* Add comment about AMD_K12 LLANO.
* Add family 0x12 model 0x00 to it.
2022-08-04 22:30:46 +02:00
Mykola Hohsdze
c6b0a803a8 Add AVX_VNNI 2022-08-04 21:56:32 +02:00
Andrew Kurushin
cbc8f9c7a3 add Lakefield 2022-08-04 21:54:23 +02:00
Andrew Kurushin
6d62f2fa64 add intel Tremont microarch 2022-08-04 21:54:23 +02:00
Guillaume Chatelet
f60b6f8405 [NFC] Remove unused variable 2022-07-28 14:29:50 +00:00
Guillaume Chatelet
8d86a40b7a [NFC] Restrict windows inclusion to windows platforms 2022-07-28 14:24:57 +00:00
Andrei Kurushin
d3c5e369db
test enum macro consistency (#257) 2022-07-28 12:34:42 +02:00
Mykola Hohsadze
601471d527
Add detection LZCNT (#254)
Fixes #253
2022-07-28 12:22:16 +02:00
Andrei Kurushin
677d6419b2
remove internal FillX86BrandString usage (#258) 2022-07-25 17:39:50 +02:00
michael-roe
c7c7751682
Add macros for RISCV hwcaps (#246)
Co-authored-by: Michael Roe <michael-roe@users.noreply.github.com>
2022-07-21 21:58:04 +02:00
Andrei Kurushin
c1620a979e
add comet lake unit test #248 (#250) 2022-07-21 21:57:38 +02:00
Andrei Kurushin
38ae5d095c
add windows ssse3,sse4_1,sse4_2 detection for non avx path (#251)
* add windows ssse3,sse4_1,sse4_2 detection for non avx path

* remove special WESTMERE case

* move windows conditional redefinition to separate header

* fix minor issues
2022-07-21 21:56:50 +02:00
Andrei Kurushin
8eb944f55d
add comet lake support #248 (#249) 2022-07-13 10:28:34 +02:00
Guillaume Chatelet
db9ad9fc2c Add not about avx512_4vbmi2 being an alias of avx512_4fmaps 2022-07-12 15:45:51 +00:00
michael-roe
8360923923
Add macros for RISCV features (#244)
Co-authored-by: Michael Roe <michael-roe@users.noreply.github.com>
2022-07-12 11:41:15 +02:00
Mykola Hohsadze
3c4801d12d
Add AMD ZEN 4 uarch and update detection (#243)
* Add AMD ZEN 4 uarch and update detection

* Add tests via cpuid dump
2022-06-17 11:18:05 +02:00
michael-roe
08f2dc115e
Added some MIPS features. (#241)
Co-authored-by: Michael Roe <michael-roe@users.noreply.github.com>
2022-06-01 15:58:29 +02:00
michael-roe
8b3f891d9b
Added CPU_FEATURES_COMPILED_MIPS_MIPS3D. (#240)
Co-authored-by: Michael Roe <michael-roe@users.noreply.github.com>
2022-05-19 11:57:13 +02:00
Mizux
0bf4ea0529
Add install doc (Fix #238) (#239) 2022-04-27 17:08:04 +02:00
Tamas Zsoldos
b04a9daf71
Update AArch64 features to Linux 5.17. (#237) 2022-04-27 10:26:29 +02:00
Guillaume Chatelet
7fe96b1d3d
Comply with -Wstrict-prototypes 2022-04-14 11:01:06 +02:00
Guillaume Chatelet
dedea3a5a7
Comply with -Wstrict-prototypes 2022-04-13 13:21:32 +02:00
Guillaume Chatelet
188d0d3c38
Add bazel ci README, update main README (#235) 2022-03-15 17:05:03 +01:00
Guillaume Chatelet
c219c921c5
Move ci folder and make naming more consistent (#233) 2022-03-15 13:26:25 +01:00
Guillaume Chatelet
70ca4fd06f Add script to generate markdown CI badges 2022-03-15 10:17:19 +00:00
Guillaume Chatelet
84974a4db5
Update CI status table 2022-03-14 23:20:03 +01:00
Mizux
49679ea9d2
ci: Add bazel jobs (#232) 2022-03-10 11:27:29 +01:00
Guillaume Chatelet
e4e535d7c2 Bump google test commit 2022-03-09 10:53:05 +00:00
Guillaume Chatelet
ed2c184fb2
Remove trailing whitespace in .grenrc.yml 2022-03-09 11:20:37 +01:00