Skip to content

Detection of Zen2 microarch #116

Closed

Description

@fireice-uk

The project that I'm working on needs detection of Zen2 microarchitecture.

Most notably, Zen/Zen+ hasn't got physical YMM registers (they are simulated in microcode), therefore when choosing between code written for 128-bit vectors and code for 256-bit vectors, the former option will will be faster on Zen+ while the latter on Zen2 even though both support AVX on paper.

Adding it doesn't look too hard. I'm happy to do it myself and PR you the changes if that's welcome.

Perhaps adding differentiation of Bulldozer micro-architectures would be a good idea too?

Activity

  1. gchatelet commented on Apr 3, 2020

    @gchatelet
    Collaborator

    We should definitely support all the microarchitectures from
    https://en.wikichip.org/wiki/amd#Microarchitectures

    And PR are more than welcome to support them !

  2. added
    enhancement
    on Apr 3, 2020
  3. added
    help wanted
    on Sep 21, 2020
  4. linked a pull request that will close this issueCPU features for AMD #165on Jun 30, 2021
  5. added this to the v0.7.0 milestone on Nov 16, 2021
  6. self-assigned this
    on Nov 16, 2021
  7. removed
    help wanted
    on Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions