This is the mail archive of the gcc-patches@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: Vector subregs


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


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