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: ppc e500: make spe builtin return opaque types



On Monday, April 7, 2003, at 09:01 PM, Richard Henderson wrote:


On Mon, Apr 07, 2003 at 04:07:57PM -0400, Aldy Hernandez wrote:
! 	  && (type == opaque_V2SI_type_node
! 	      || type == opaque_V2SF_type_node
! 	      || (TREE_CODE (type) == VECTOR_TYPE
! 		  && TYPE_NAME (type)
! 		  && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
! 		  && DECL_NAME (TYPE_NAME (type))
! 		  && strcmp (IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type))),
! 			     "__ev64_opaque__") == 0)));

Ideally you'd arrange for one of these two to be named "__ev64_opaque__", so that you didn't have to have this extra check.

Yup, thought about that.



Not sure how you do that off the top of my head...

and that's exactly why I didn't do it. Besides, what are two extra compares between friends?


But I can look into it if y'all want me to.


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