This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Vector subregs
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Dale Johannesen <dalej at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: 14 Dec 2001 16:59:39 -0200
- Subject: Re: Vector subregs
- Organization: GCC Team, Red Hat
- References: <93A5FF64-F0C2-11D5-86F6-003065C86F94@apple.com>
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