https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116787
Bug ID: 116787
Summary: [14/15 Regression] No longer recognizes vector maxps
Product: gcc
Version: 14.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
typedef float v4sf __attribute__((vector_size (sizeof (4 * sizeof (float)))));
v4sf
foo (v4sf x, v4sf y)
{
return x < y ? y : x;
}
is no longer generating
_Z3fooDv2_fS_:
.LFB0:
.cfi_startproc
maxps %xmm0, %xmm1
movaps %xmm1, %xmm0
ret
with -O2, neither with -O2 -msse4.2