Calling conventions for vector types on SPARC

Eric Botcazou
Thu Feb 19 21:46:00 GMT 2004

> First, I would like to deprecate the use of __attribute__((mode(X)))
> for the creation of vectors.  Much better, IMO, is to use
> __attribute__((vector_size(N))), and pull the base mode from the
> base type.
> Second, I would like to move all of the vector modes to the target's
> modes.def file.  This will reduce the combinatorics to just the modes
> supported by the target.
> Third, we shouldn't bother pre-creating the vector types.  We should
> create them on demand in response to the vector_size attribute.

Thanks for these detailed guidelines.  I'll try to implement something in a 
not too distant future.

Eric Botcazou

More information about the Gcc-patches mailing list