This is the mail archive of the
mailing list for the GCC project.
Re: Calling conventions for vector types on SPARC
- From: James Morrison <ja2morri at csclub dot uwaterloo dot ca>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 19 Feb 2004 11:47:52 -0500
- Subject: Re: Calling conventions for vector types on SPARC
- References: <firstname.lastname@example.org>
Eric Botcazou <email@example.com> 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?