This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion (take 2)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: Richard Henderson <rth at redhat dot com>, Uros Bizjak <ubizjak at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 21 Nov 2013 12:43:15 +0100
- Subject: Re: [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion (take 2)
- Authentication-results: sourceware.org; auth=none
- References: <20131120084245 dot GE892 at tucnak dot redhat dot com> <alpine dot LNX dot 2 dot 00 dot 1311201027590 dot 4261 at zhemvz dot fhfr dot qr> <20131120094433 dot GG892 at tucnak dot redhat dot com> <528D2D07 dot 4080106 at redhat dot com> <20131121103753 dot GM892 at tucnak dot redhat dot com> <alpine dot LNX dot 2 dot 00 dot 1311211211490 dot 8615 at zhemvz dot fhfr dot qr> <20131121112757 dot GN892 at tucnak dot redhat dot com> <alpine dot LNX dot 2 dot 00 dot 1311211232400 dot 8615 at zhemvz dot fhfr dot qr>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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
- References:
- [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion
- Re: [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion
- Re: [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion
- Re: [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion
- [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion (take 2)
- Re: [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion (take 2)
- Re: [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion (take 2)
- Re: [PATCH] Improve { x, x + 3, x + 6, x + 9 } expansion (take 2)