Vectorizing C compilers

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Jul 19 15:45:28 AEST 1989


In article <15388 at ut-emx.UUCP> eric at chaos.utexas.edu () writes:
>but never a C compiler that can vectorize something like
>	for(j = 0; j < n; j++)
>		y[j] = sqrt(x[j]);

I would be surprised to find that the ANSI-compatible C compiler
for the Cray-2 fails to vectorize such a loop.  It vectorizes in
analogous cases.



More information about the Comp.unix.cray mailing list