This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: front end changes for altivec
- From: Richard Henderson <rth at redhat dot com>
- To: Daniel Berlin <dan at cgsoftware dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, Aldy Hernandez <aldyh at redhat dot com>, Stan Shebs <shebs at apple dot com>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, gcc at gcc dot gnu dot org
- Date: Wed, 28 Nov 2001 23:16:12 -0800
- Subject: Re: front end changes for altivec
- References: <oru1ve2muj.fsf@free.redhat.lsd.ic.unicamp.br> <A9A8C978-E48D-11D5-93CD-000393575BCC@cgsoftware.com>
On Thu, Nov 29, 2001 at 12:55:16AM -0500, Daniel Berlin wrote:
> that addition of vectors (IE c=a + b where c, a, b are vectors)
> transforms into
> (set (reg:V4SF <reg for c>) (plus:V4SF (reg:V4SF <reg for a>) (reg:V4SF
> <reg for b>))).
Yes, that's lovely. Now what about, say, saturating adds?
r~