public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/64746] Loop with nested load/stores is not vectorized using aggressive if-conversion.
[not found] <bug-64746-4@http.gcc.gnu.org/bugzilla/>
@ 2015-01-23 13:12 ` ysrumyan at gmail dot com
2015-01-23 13:14 ` ysrumyan at gmail dot com
2015-01-29 13:53 ` ienkovich at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: ysrumyan at gmail dot com @ 2015-01-23 13:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64746
--- Comment #1 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
Created attachment 34548
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34548&action=edit
test-case to reproduce.
Need to compile this test on x86 with option
-O3 -fopenmp -march=core-avx2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/64746] Loop with nested load/stores is not vectorized using aggressive if-conversion.
[not found] <bug-64746-4@http.gcc.gnu.org/bugzilla/>
2015-01-23 13:12 ` [Bug tree-optimization/64746] Loop with nested load/stores is not vectorized using aggressive if-conversion ysrumyan at gmail dot com
@ 2015-01-23 13:14 ` ysrumyan at gmail dot com
2015-01-29 13:53 ` ienkovich at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: ysrumyan at gmail dot com @ 2015-01-23 13:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64746
--- Comment #2 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
Created attachment 34551
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34551&action=edit
proposed patch
Patch to cure vectorization issue.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/64746] Loop with nested load/stores is not vectorized using aggressive if-conversion.
[not found] <bug-64746-4@http.gcc.gnu.org/bugzilla/>
2015-01-23 13:12 ` [Bug tree-optimization/64746] Loop with nested load/stores is not vectorized using aggressive if-conversion ysrumyan at gmail dot com
2015-01-23 13:14 ` ysrumyan at gmail dot com
@ 2015-01-29 13:53 ` ienkovich at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-01-29 13:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64746
--- Comment #3 from ienkovich at gcc dot gnu.org ---
Author: ienkovich
Date: Thu Jan 29 13:52:28 2015
New Revision: 220248
URL: https://gcc.gnu.org/viewcvs?rev=220248&root=gcc&view=rev
Log:
gcc/
PR tree-optimization/64746
* tree-if-conv.c (mask_exists): New function.
(predicate_mem_writes): Save created mask with given size for further
use.
(stmt_is_root_of_bool_pattern): Remove argument VAR and store to it.
(ifcvt_repair_bool_pattern): Collect all statements that are root
of bool pattern and use iterative algorithm to remove multiple uses
of predicates, display number of required iterations.
gcc/testsuite/
PR tree-optimization/64746
* gcc.target/i386/avx2-vect-aggressive-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/avx2-vect-aggressive-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-if-conv.c
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-29 13:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-64746-4@http.gcc.gnu.org/bugzilla/>
2015-01-23 13:12 ` [Bug tree-optimization/64746] Loop with nested load/stores is not vectorized using aggressive if-conversion ysrumyan at gmail dot com
2015-01-23 13:14 ` ysrumyan at gmail dot com
2015-01-29 13:53 ` ienkovich at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).