This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18916] vector code is generated to copy data to mis-aligned memory (-mcpu=G5)
- From: "fjahanian at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2004 01:42:24 -0000
- Subject: [Bug target/18916] vector code is generated to copy data to mis-aligned memory (-mcpu=G5)
- References: <20041210010826.18916.fjahanian@apple.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From fjahanian at apple dot com 2004-12-10 01:42 -------
AFAICT, I don't see how gcc middle-end can force correct parameter alignment when alignment is more
strict than PARAM_BOUNDARY. There is no code to do so (I am looking at store_one_arg which is
the one responsible for determining the alignment). It does set the MEM_ALIGN field to 128 in this
case, but there is no extra padding to move the target address to the next 128 bit boundary.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18916