This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ppc e500: make spe builtin return opaque types
- From: Richard Henderson <rth at redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 7 Apr 2003 18:01:34 -0700
- Subject: Re: ppc e500: make spe builtin return opaque types
- References: <A0216875-6934-11D7-92A8-000393750C1E@redhat.com>
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~