Skip to content

zen3: added pku feature, GCC and Clang support - #29

Merged
becker33 merged 3 commits into
masterfrom
zen3/adjustment_and_gcc
Apr 13, 2021
Merged

becker33 merged 3 commits into
masterfrom
zen3/adjustment_and_gcc

Conversation

@alalazo

@alalazo alalazo commented Mar 26, 2021

Copy link
Copy Markdown
Member

I just compiled the development version of GCC and:

znver3
        AMD Family 19h core based CPUs with x86-64 instruction set support. (This supersets BMI, BMI2, CLWB, F16C, FMA, FSGSBASE, AVX, AVX2, ADCX, RDSEED, MWAITX, SHA, CLZERO, AES, PCLMUL,
        CX16, MOVBE, MMX, SSE, SSE2, SSE3, SSE4A, SSSE3, SSE4.1, SSE4.2, ABM, XSAVEC, XSAVES, CLFLUSHOPT, POPCNT, RDPID, WBNOINVD, PKU, VPCLMULQDQ, VAES, and 64-bit instruction set
        extensions.)

It seems that zen3 has PKU, VPCLMULQDQ, VAES more with respect to zen2, so adding the missing one and support for GCC

@alalazo alalazo added the enhancement New feature or request label Mar 26, 2021
@alalazo
alalazo requested review from boegel and tgamblin March 26, 2021 15:22
@alalazo

alalazo commented Mar 26, 2021

Copy link
Copy Markdown
Member Author

@amd-toolchain-support

@alalazo

alalazo commented Mar 26, 2021

Copy link
Copy Markdown
Member Author

I'm also compiling the latest LLVM to check support for that compiler too.

@alalazo alalazo mentioned this pull request Apr 13, 2021
@alalazo

alalazo commented Apr 13, 2021

Copy link
Copy Markdown
Member Author

To report on LLVM: the option is, as usual, the same as GCC (-march=znver3). As far as I can tell it's currently only on trunk, so I can either add an entry with support starting from 12.0: or wait for support to be added to a tagged version.

@alalazo alalazo changed the title zen3: added pku feature, GCC support zen3: added pku feature, GCC and Clang support Apr 13, 2021
@alalazo
alalazo requested a review from becker33 April 13, 2021 17:12
@becker33
becker33 merged commit bc69b8d into master Apr 13, 2021
@alalazo
alalazo deleted the zen3/adjustment_and_gcc branch April 14, 2021 08:03
@alalazo

alalazo commented Apr 14, 2021

Copy link
Copy Markdown
Member Author

Thanks!

alalazo added a commit that referenced this pull request Oct 22, 2021
* zen3: added pku feature, GCC support

* zen3: adjusted GCC version with initial support

* zen3: added support for Clang
alalazo added a commit that referenced this pull request Oct 22, 2021
* zen3: added pku feature, GCC support

* zen3: adjusted GCC version with initial support

* zen3: added support for Clang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants