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: RFA: fix for 17961 (ppc vectors)


On Thu, Jun 09, 2005 at 03:53:19PM -0700, Richard Henderson wrote:
> On Thu, Jun 09, 2005 at 05:41:47PM -0400, Aldy Hernandez wrote:
> >   #define ROUND_TYPE_ALIGN(TYPE, COMPUTED, SPECIFIED)			\
> > ! 	((TARGET_ALTIVEC  && TREE_CODE (TYPE) == VECTOR_TYPE		\
> > ! 	  && ALTIVEC_VECTOR_MODE (TYPE_MODE (TYPE)))			\
> >   	 ? MAX (MAX ((COMPUTED), (SPECIFIED)), 128)			\
> >   	 : MAX (COMPUTED, SPECIFIED))
> 
> Can't you just delete the altivec check entirely?

Yeah, but I'm a chicken.  I'm afraid something will break.

I suppose now that I have real altivec hardware I can do further tests. :)

Aldy

p.s. You do mean, taking all of this out, right?:

> > !   ((TARGET_ALTIVEC  && TREE_CODE (TYPE) == VECTOR_TYPE            \
> > !     && ALTIVEC_VECTOR_MODE (TYPE_MODE (TYPE)))                    \


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