Skip to content

[LLD] [X86] Link-time SSE2AVX support #131324

Open
@Andarwinux

Description

@Andarwinux

-march=x86-64-v3 is very fashionable now, and GAS and IAS support -Wa,-msse2avx to convert old-style SSE to VEX prefix variants to avoid AVX-SSE transition penalties, but this approach has some limitations:

The result is that old-style SSE code is still present in typical x86-64-v3 builds, leading to potential penalties, so I propose to implement link-time SSE2AVX in LLD for generality and reliability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions