Skip to content

[AVX10.2]Optimize codegen for x86 using the new minmax instructions when possible. #109081

Closed

Description

@DeepakRajendrakumaran

AVX10.2 introduces a set of MINMAX instructions. These will allow us to further optimize the x86 codegen for vector min/max calculations. The current codegen for these instructions look as following : https://www.godbolt.org/z/Kjf7Y1svn

The newly added Avx10.2 instructions are shown below

Image

Activity

  1. ghost added
    area-CodeGen-coreclr
    on Oct 21, 2024
  2. added
    untriaged
    on Oct 21, 2024
  3. dotnet-policy-service commented on Oct 21, 2024

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  4. added this to the 10.0.0 milestone on Oct 21, 2024
  5. added
    avx10
    and removed
    untriaged
    on Oct 21, 2024
  6. PavelCibulka commented on Dec 8, 2024

    @PavelCibulka

    We can also add scalar variant of this instructions:
    VMINMAXSD
    VMINMAXSH
    VMINMAXSS

    Image

  7. anthonycanino commented on Mar 11, 2025

    @anthonycanino
    Contributor

    @JulieLeeMSFT I believe we can close this issue, along with #109080 (comment)

  8. locked and limited conversation to collaborators on May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclravx10

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions