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] Improve { x, x + 3, x + 6, x + 9 } expansion (take 2)


On Thu, Nov 21, 2013 at 12:37:01PM +0100, Richard Biener wrote:
> Oh, indeed.  Bah.  That case makes the whole stuff quadratic, too ;)

True, O(nelts^2), but largest nelts we have right now is 64 (V64QImode
on -mavx512f).

> For
> 
> typedef int vLARGEsi __attribute__((vector_size(1024*1024)));

The optimization is done only for VECTOR_MODE_P CONSTRUCTORs, if
there is no HW support, the vector will live in memory and the optimization
doesn't make sense.

	Jakub


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