Skip to content

Extrema is slower than maximum + minimum #31442

Open
@mbauman

Description

@mbauman

On AVX-512 systems, calling extrema(x) is slower than calling maximum and then minimum. Looks like we need to incorporate the same techniques from #30320 over to extrema in order to get it to vectorize in a similar manner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler:simdinstruction-level vectorizationfoldsum, maximum, reduce, foldl, etc.good first issueIndicates a good issue for first-time contributors to Juliahelp wantedIndicates that a maintainer wants help on an issue or pull requestperformanceMust go faster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions