This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to enable vector intrinsic functions in fortran frontend


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]