This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR/17836 (was Re: [RFA/RFT] Tree-level lowering of generic vectors, part 4)
- From: Paolo Bonzini <paolo dot bonzini at polimi dot it>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Oct 2004 10:24:45 +0200
- Subject: Re: [PATCH] PR/17836 (was Re: [RFA/RFT] Tree-level lowering of generic vectors, part 4)
Quoting David Edelsohn <dje@watson.ibm.com>:
> What is the advantage of testing types instead of modes?
Types are the same independent of whether -maltivec is used or not. Modes
aren't.
Or do you mean I could test, rather than TYPE_VECTOR_SUBPARTS (vectype) >= 4,
TYPE_MODE (TREE_TYPE (vectype)) == {QImode, HImode, SImode, SFmode} ?
Paolo
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/