Vector subregs

Alexandre Oliva aoliva@redhat.com
Fri Dec 14 11:03:00 GMT 2001


On Dec 14, 2001, Dale Johannesen <dalej@apple.com> wrote:

> Subreg's of vectors don't have a register implementation on any
> hardware AFAIK, so there is no reason to support them.

Hmm...  The SH4 can use 4 FP registers as a V4SF unit for some
operations, as well as 4 of these sets as a 4x4 SF matrix.  I suppose
it would be reasonable to be able to use subregs to refer to
individual registers that compose such vectors and matrices, wouldn't
it?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list