This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Calling conventions for vector types on SPARC


Eric Botcazou <ebotcazou@libertysurf.fr> writes:

> This patch implements calling conventions for vector types on SPARC, both for 
> the V8 (32-bit) ABI and the V9 (64-bit) ABI, and in the process removes some 
> duplicated code in the area.
> 
> The calling conventions for integral vector types match those implemented in 
> the Sun VIS SDK for both ABIs.  The calling conventions for floating-point 
> vector types match those of complex floating-point types as implemented by 
> the Sun compiler, that GCC will conform to starting with the 3.4 release.
> 
> Thanks to David S. Miller for his very useful remarks.
> 
> Bootstrapped, regtested, compat-regtested against GCC 3.4pre and Sun CC 5.5, 
> applied to mainline.
> 
> 
> Btw, one the vector modes used by VIS on SPARC is V4QI ("pixels").  Would 
> anyone object to adding to the C family of front-ends a builtin type for 
> this mode?  Currently the compiler issues:
> t.c:1: error: no data type for mode `V4QI'
> 
> 

 Are the instructions that use V4QI part of vis implemented on UltraSparc 
I/II's or just UltraSparc III's?

 Also in this patch you document the vector and floating point abi.  Would
it be a good idea to put this on the gcc readings page?

Jim


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