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: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2010 12:08:42 -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 #8 from rguenth at gcc dot gnu dot org 2010-01-24 12:08 -------
In the testcase from PR42846 one issue is that
base_address: p__3(D)
offset from base address: 0
constant offset from base address: 0
step: 4
aligned to: 128
base_object: *(const aligned_real * restrict) p__3(D)
only in the base object we see the cast to the aligned pointer, but it is
stripped for the base address in the innermost loop.
So in the end all this boils down to the Frontend / middle-end issue of
weak handling of aligned types.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41464