Skip to content

disable AVX2/AVX3 gather #2849

@Andarwinux

Description

@Andarwinux

Is it possible to add an option to disable the use of gather instructions for AVX2/AVX3 targets? I've noticed that even building libjxl with -mno-gather still comes with some gather instructions, so it looks like highway is using explicit gather intrinsics somewhere.

Since newer microcode enforces GDS mitigation, this can cause performance issues on skylake~tigerlake.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions