This is the mail archive of the gcc@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: Single Element Vectors


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~


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