Skip to content

remove pku from feature list for zen3 - #40

Closed
boegel wants to merge 1 commit into
archspec:masterfrom
boegel:zen3_drop_pku
Closed

boegel wants to merge 1 commit into
archspec:masterfrom
boegel:zen3_drop_pku

Conversation

@boegel

@boegel boegel commented Jan 25, 2022

Copy link
Copy Markdown
Member

fixes #38

@boegel
boegel requested a review from alalazo January 25, 2022 08:35

@alalazo alalazo left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I said I think this is the wrong approach (as in the compiler can emit code that will cause illegal instruction for a detected architecture).

Looking at the discussion, there might be a "dimension" we didn't account for, i.e. compilers adding instruction sets over time to already existing architectures - I need to check that with GCC and go back to old compilers to see if not having PKU on Intel is due to that or to us forgetting adding the instruction set.

If the same microarchitecture can get new features over time we need to think how to model "optional features" and use them to emit the correct compiler flags.

@tgamblin @becker33 You might be interested in this discussion

@alalazo

alalazo commented Jan 25, 2022

Copy link
Copy Markdown
Member

Fwiw I suggested a stop-gap solution in #38 (comment) and tried to add an agenda item in the weekly telco of the Spack community https://github.com/spack/spack/wiki/Telcon:-2022-01-26

@alalazo

alalazo commented Feb 23, 2024

Copy link
Copy Markdown
Member

We recently merged this one in archspec archspec/archspec#146 which provides a way to customize microarchitectures.

Would this be enough to consider the issue closed?

@alalazo

alalazo commented Sep 30, 2025

Copy link
Copy Markdown
Member

Closing:

Screenshot from 2025-09-30 08-17-44

@alalazo alalazo closed this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

archspec 0.1.3 identies AMD Milan in Azure as zen2 due to pku feature that is only listed for zen3

2 participants