https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114783

            Bug ID: 114783
           Summary: [14 Regression] Equality compares of vector builtins
                    spill one operand to the stack
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mkretz at gcc dot gnu.org
  Target Milestone: ---
            Target: x86_64-*-*, i?86-*-*

Testcase:

https://compiler-explorer.com/z/Y1aTj7Mv9

using V [[gnu::vector_size(32)]] = int;

auto f(V x, V y)
{
  return x == y;
}

auto h(V x, V y)
{
  return x <= y;
}

Compile with -O2 -march=skylake.

Reply via email to