Caused by unknown alignment, was: Re: On the x86_64, does one have to zero a vector register before filling it completely ?

Toon Moene toon@moene.org
Mon Nov 30 21:06:00 GMT 2009


Steven Bosscher wrote:

> I'll see if I can make the intraprocedural version work again before
> Christmass. It shouldn't be that much work, actually. But it's be nice
> to have some test cases to demonstrate that the intraprocedural
> version would do any good.

That would be very nice !

To help to boost the incentive, compare the code I attach, when compiled 
separately with gfortran -O3 -S main.f sum.f and what happens when you 
inline the loop in sum.f manually into main.f and compile the resulting 
file with -O3 -S.

Kind regards,

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main.f
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20091130/5be78290/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sum.f
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20091130/5be78290/attachment-0001.ksh>


More information about the Gcc mailing list