This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55653] Unnecessary initialization of vector register
- From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Oct 2013 09:31:32 +0000
- Subject: [Bug middle-end/55653] Unnecessary initialization of vector register
- Auto-submitted: auto-generated
- References: <bug-55653-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55653
--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
On the secondary issue of initializing FP vectors to zero, we now generate for
typedef double f __attribute__((vector_size(16)));
f g()
{
f a = {0.0, 0.0};
return a;
}
g:
movi v0.2d, 0
ret