Skip to content

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

Open

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)

Activity

  1. changed the title [-]LLVM prefers vxorps to pxor and vpxor when out-of-context[/-] [+]LLVM prefers vxorps to vpxor when out-of-context[/+] on Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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