This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41464] vector loads are unnecessarily split into high and low loads
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2009 17:33:54 -0000
- Subject: [Bug tree-optimization/41464] vector loads are unnecessarily split into high and low loads
- References: <bug-41464-10309@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from ubizjak at gmail dot com 2009-09-25 17:33 -------
(In reply to comment #2)
> Even if it thinks the arrays aren't aligned, that doesn't explain the
> completely unnecessarily zeroing of XMM0 or the choice of the load high/low
> instructions over MOVUPS.
This is by design, see config/i386/i386.c, ix86_expand_vector_move_misalign and
the comment above this function.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41464