This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18916] [4.0 Regression] mis-aligned vector code with copy memory (-maltivec)
- From: "fjahanian at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2004 17:34:06 -0000
- Subject: [Bug target/18916] [4.0 Regression] mis-aligned vector code with copy memory (-maltivec)
- 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-29 17:34 -------
(In reply to comment #8)
> Why can't we make sure that temporaries which should be aligned to 128 bits are actually aligned to
> 128 bits? Surely failing to do so will cause other problems.
Yes, this is the best way of fixing this problem, hoping not to break ABI conformacne in some obscure
way along the way. My last posted patch, took the approach of setting the alignment of the
stack temporaries to what they really were. This worked, but it also turned off the Vector move insns
for such temporaries. I will look at forcing the 128 bit alignment next year.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18916