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 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.

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


r~


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