------- Comment #6 from ebotcazou at gcc dot gnu dot org  2006-10-22 12:42 
-------
> Eric, if the type is Long_Float your solution will be much worse since the
> alignement on the stack of the matrices will be 4-bytes so you have 50% chance
> the code will be N times slower (when not 8-bytes aligned).

You're over-generalizing.  Choose a saner architecture or use -malign-double.

> So in practice you have to go malloc in order to get proper alignment for
> Long_Float, and there is no reason the proposed code should perform badly.

No, but there is an obvious one why the Fortran version trounces the Ada
version.  Let's not compare apples with oranges.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29543

Reply via email to