Skip to content

LLVM prefers vxorps to vpxor when out-of-context #303

Open
@gnzlbg

Description

@gnzlbg

LLVM prefers to generate vxorps instructions to vpxor when out-of-context even though one might be using integer vectors because the encoding of that instruction is shorter.

There is an LLVM patch for this here: https://reviews.llvm.org/D7401
And a bug report with some more information here:

This affects following intrinsics (maybe incomplete):

  • _mm256_xor_si256 (need to add a comment to the source code)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions