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: [discuss] x86-64 abi, regarding vector types


On Sünndag 19 Dezember 2004 03:40, Jan Hubicka wrote:
> > However, that leaves, exhaustively, the 2 and 4 byte vector types
> > 
> > ??????typedef char v2qi __attribute__((vector_size (2)));
> > ??????typedef char v4hi __attribute__((vector_size (4)));
> > ??????typedef short v2hi __attribute__((vector_size (4)));
> > 
> > My thought is that these should be treated the same as if they
> > were an array in the classification phase, which would put them
> > squarely in class INTEGER.
> 
> This seems to make sense for me.

I'm probably missing the obvious here, but what is the advantage
of this over putting all vector types up to 16 bytes into class
SSE? I'd expect most operations on vectors to require them in
xmm registers anyway.

 Arnd <><

Attachment: pgp00000.pgp
Description: signature


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