This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50413] [4.6/4.7 Regression] Incorrect instruction is used to shift value of 128 bit xmm0 registrer
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Sep 2011 15:20:22 +0000
- Subject: [Bug tree-optimization/50413] [4.6/4.7 Regression] Incorrect instruction is used to shift value of 128 bit xmm0 registrer
- Auto-submitted: auto-generated
- References: <bug-50413-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50413
--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-19 15:20:22 UTC ---
> On Linux/x86, I got
>
> FAIL: g++.dg/vect/slp-pr50413.cc scan-tree-dump-times slp "basic block
> vectorized using SLP" 0
I get the same failure on x86_64-apple-darwin10. Grepping for SLP returns
170: Build SLP for V.uint128.uint64_lower = 0;
170: Build SLP for V.uint128.uint64_upper = 3556786177;
170: Basic block will be vectorized using SLP
170: SLPing BB
170: ------>SLPing statement: V.uint128.uint64_lower = 0;
170: ------>vectorizing SLP node starting from: V.uint128.uint64_lower = 0;
170: vectorizing stmts using SLP.
170: basic block vectorized using SLP
/opt/gcc/work/gcc/testsuite/g++.dg/vect/slp-pr50413.cc:168: note: Failed to SLP
the basic block.
/opt/gcc/work/gcc/testsuite/g++.dg/vect/slp-pr50413.cc:168: note: not
vectorized: failed to find SLP opportunities in basic block.
If I omit '-fno-vect-cost-model', I get
170: Build SLP for V.uint128.uint64_lower = 0;
170: Build SLP for V.uint128.uint64_upper = 3556786177;
/opt/gcc/work/gcc/testsuite/g++.dg/vect/slp-pr50413.cc:168: note: Failed to SLP
the basic block.
/opt/gcc/work/gcc/testsuite/g++.dg/vect/slp-pr50413.cc:168: note: not
vectorized: failed to find SLP opportunities in basic block.