[Bug rtl-optimization/50728] Inefficient vector loads from aggregates passed by value
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 14 13:10:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50728
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-14 13:10:06 UTC ---
Other testcase:
typedef float Value;
struct A {
Value a[16 / sizeof (Value)];
} __attribute__ ((aligned(16)));
Value get(A a)
{
return a.a[0];
}
_Z3get1A:
.LFB0:
.cfi_startproc
movq %xmm0, -24(%rsp)
movss -24(%rsp), %xmm0
ret
instead of plain ret.
More information about the Gcc-bugs
mailing list