This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Single Element Vectors
- From: Richard Henderson <rth at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 12 Sep 2002 14:14:09 -0700
- Subject: Re: Single Element Vectors
- References: <m3k7lry2g2.fsf@north-pole.nickc.cambridge.redhat.com>
On Thu, Sep 12, 2002 at 10:36:29AM +0100, Nick Clifton wrote:
> We have a request from a customer to implement support for a single
> element vectors in gcc for one of their processors. Their ABI
> requires that vectors are handled differently from ordinary types,
> and it includes a single element, 64-bit vector which GCC would
> normally consider to be exactly equivalent to a long long.
Oh heavens.
> If so, they would like to know why single element vectors should not
> be supported.
What possible usefulness could they have? Semantically they
are exactly the same as a scalar. To my way of thinking,
that they want this shows that they are confused and making
distinctions that don't make sense.
> What ramifications does it have and what would supporting them break ?
Nothing but cleanliness of the compiler.
r~