[Bug target/18916] vector code is generated to copy data to mis-aligned memory (-mcpu=G5)

fjahanian at apple dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 10 01:42:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list