This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ppc e500: misc <spe.h> patches
- From: Graham Stott <graham dot stott at btinternet dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 12 Feb 2003 20:57:02 +0000
- Subject: Re: ppc e500: misc <spe.h> patches
- References: <022B26D3-3EC8-11D7-A90E-000393750C1E@redhat.com>
Hi Aldy,
Aldy Hernandez wrote:
Index: config/rs6000/spe.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/spe.h,v
retrieving revision 1.6
diff -c -p -r1.6 spe.h
*** config/rs6000/spe.h 21 Dec 2002 01:21:23 -0000 1.6
--- config/rs6000/spe.h 12 Feb 2003 20:23:55 -0000
#define __ev_fsabs(a) ((__v2si) __builtin_spe_evfsabs ((__v2sf) a))
#define __ev_fsnabs(a) ((__v2si) __builtin_spe_evfsnabs ((__v2sf) a))
I know these aren't part of your patch but it looks like these two macros
and possibly others need parentheses around the argument. Maybe you could
address these in a follow up patch given that you're hacking this file.
Cheers
Graham