how to enable vector intrinsic functions in fortran frontend

Andrew Pinski pinskia@gmail.com
Wed Oct 17 18:09:00 GMT 2007


On 10/17/07, Sa Liu <SALIU@de.ibm.com> wrote:
May I suggest that the VECTOR "kind" takes an optional argument which
is exactly the same as the vector_size attribute argument.  This
allows for generic vector support in gfortran and uses the already
implemented generic vector support inside GCC?

The idea would allow:

vector(Integer, 16) :: a, b, c
a = b + c
end

so that would be constent with the generic vector support in the C/C++
front-ends.

Maybe it is better to implement this first and then implement the
VMX/SPU specific parts.

Thanks,
Andrew Pinski



More information about the Fortran mailing list