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: [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/


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