[Bug tree-optimization/32824] Missed reduction vectorizer after store to global is LIM'd

2007-07-24 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-24 08:59 --- Just for the record - as we discussed last week, there are two ways to solve this problem - either have LIM leave behind it cleaner code (smthing like copy-prop + dce to eliminate the extra copy stmts), or improve

[Bug target/25413] wrong alignment or incorrect address computation in vectorized code on Pentium 4 SSE

2007-07-24 Thread dorit at gcc dot gnu dot org
--- Comment #13 from dorit at gcc dot gnu dot org 2007-07-24 09:05 --- David, can you confirm that this PR can now be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25413

[Bug tree-optimization/32825] Reduction with nonzero start (arbitrary also) causes an extra add to happen

2007-07-24 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-07-24 13:05 --- (In reply to comment #1) ... We actually had both options in the vectorizer for a while (guarded by ADJUST_IN_EPILOG hard-coded #define), however we didn't know how to choose between the two options (cost wise

[Bug tree-optimization/32824] Missed reduction vectorizer after store to global is LIM'd

2007-07-19 Thread dorit at gcc dot gnu dot org
--- Comment #1 from dorit at gcc dot gnu dot org 2007-07-19 18:09 --- I think this is similar to PR19347? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32824

[Bug tree-optimization/32825] Reduction with nonzero start (arbitrary also) causes an extra add to happen

2007-07-19 Thread dorit at gcc dot gnu dot org
--- Comment #1 from dorit at gcc dot gnu dot org 2007-07-19 18:15 --- ... Though the last add is extra and does not need to be done, we can get rid of it by having vect_var_.36 being set initially to {e, 0, 0, 0} . The problem is that often initializing a vector to {e, 0, 0, 0

[Bug tree-optimization/32824] Missed reduction vectorizer after store to global is LIM'd

2007-07-19 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-07-19 18:28 --- ah, I misunderstood you - when you wrote before that you manually LIM'd e I assumed it was because LIM didn't work. I see that the problem is with the garbage that LIM leaves behind: pr32824.c:6: note: Analyze phi

[Bug target/25413] wrong alignment or incorrect address computation in vectorized code on Pentium 4 SSE

2007-07-16 Thread dorit at gcc dot gnu dot org
--- Comment #11 from dorit at gcc dot gnu dot org 2007-07-16 08:02 --- (In reply to comment #10) any chance of a 4.2 backport? sure (as soon as 4.2 gets out of freeze. unfortunately we missed the 4.2.1 release). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25413

[Bug fortran/32380] misaligned stores don't get vectorized

2007-07-15 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-07-15 18:31 --- With loop distribution we could vectorize these loops using peeling to handle misaligned stores (multiple stores make peeling for alignment insufficient here). wonder what the loop-distribution pass

[Bug fortran/32380] misaligned stores don't get vectorized

2007-07-15 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2007-07-15 19:02 --- (In reply to comment #4) The arrays in this example all have compatible alignment. This is one of the advantages many compilers see in the use of the old-fashioned block COMMON. In the usual case lft==1 all arrays

[Bug target/25413] wrong alignment or incorrect address computation in vectorized code on Pentium 4 SSE

2007-07-12 Thread dorit at gcc dot gnu dot org
--- Comment #9 from dorit at gcc dot gnu dot org 2007-07-12 14:42 --- Subject: Bug 25413 Author: dorit Date: Thu Jul 12 14:42:08 2007 New Revision: 126591 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126591 Log: 2007-07-12 Dorit Nuzman [EMAIL PROTECTED] Devang

[Bug bootstrap/32726] ICE when compiling emit-rtl.c

2007-07-11 Thread dorit at gcc dot gnu dot org
--- Comment #1 from dorit at gcc dot gnu dot org 2007-07-11 06:43 --- (In reply to comment #0) r126521 on ppc64-linux bootstrap fails with r126512 passed bootstrap on powerpc64, so I guess the problem was introduced somewhere in between -- http://gcc.gnu.org/bugzilla

[Bug tree-optimization/25621] Missed optimization when unrolling the loop (splitting up the sum) (only with -ffast-math)

2007-07-04 Thread dorit at gcc dot gnu dot org
--- Comment #7 from dorit at gcc dot gnu dot org 2007-07-04 11:14 --- The vectorizer reports: pr25621.f90:7: note: reduction used in loop. pr25621.f90:7: note: Unknown def-use cycle pattern. because of the seemingly redundant assignment: c__lsm.63_30 = D.1361_38; which uses

[Bug tree-optimization/29145] unsafe use of restrict qualifier

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #13 from dorit at gcc dot gnu dot org 2007-07-01 08:32 --- Fix committed, PR can be closed. -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/29925] Wrong code with -ftree-vectorize

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #12 from dorit at gcc dot gnu dot org 2007-07-01 08:35 --- A fix was committed, looks like the patch can be closed. -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30795] [4.3 Regression] ice for legal code with -ftree-vectorize -O2

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2007-07-01 08:38 --- This fix was committed with the wrong PR number (sorry about that): 2007-02-19 Dorit Nuzman [EMAIL PROTECTED] PR tree-optimization/30975 * tree-vect-trasnform.c (vect_get_vec_def_for_stmt_copy

[Bug tree-optimization/31333] ICE with -fno-tree-dominator-opts -ftree-vectorize -msse

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #2 from dorit at gcc dot gnu dot org 2007-07-01 08:42 --- (oops - wrong keyword) -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/31966] Miscompiles valid code with -ftree-vectorize and -march=nocona

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-07-01 08:47 --- I was able to reproduce the behavior on a Pentinum4 with a recent 4.3 snapshot. It doesn't look like it's the vectorizer's fault - nothing gets vectorized. However, if I disable the tree-level if-conversion (which

[Bug tree-optimization/32533] [4.1/4.2 regression] miscompilation at -O3 -ffast-math -ftree-vectorize -march=native

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #7 from dorit at gcc dot gnu dot org 2007-07-01 08:51 --- PR31966 is also wrong code which seems to be a result of the tree-level if-conversion (nothing gets vectorized these, and if tree-if-conversion is disabled everything works ok). -- http://gcc.gnu.org/bugzilla

[Bug tree-optimization/31966] Miscompiles valid code with -ftree-vectorize and -march=nocona

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-01 08:52 --- This may be related to PR32533 (also wrong-code due to tree-if-conversion). -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/25413] wrong alignment or incorrect address computation in vectorized code on Pentium 4 SSE

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #7 from dorit at gcc dot gnu dot org 2007-07-01 09:59 --- I'm testing the following patch (seems to fix the two testcases in this PR on Pentium4. still need to bootstrap etc, and check the powerpc bits) Index: gcc/targhooks.c

[Bug tree-optimization/26362] ICE on the autovect-branch (gfortran example)

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-01 10:05 --- Closed based on Ira's comment. -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/25371] -ftree-vectorize results in internal compiler error on AMD64

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #14 from dorit at gcc dot gnu dot org 2007-07-01 10:12 --- So now that Zdenek's patch went in, can someone confirm if this problem doesn't occur anymore on x86_64? Compiles OK for original and reduced testcase (-O2 -ftree-vectorize) with: Target: x86_64-unknown

[Bug tree-optimization/27659] ICE on autovect-branch

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-01 10:16 --- Can anyone still see this failure, or can this PR be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27659

[Bug target/32218] [4.2/4.3 Regression] segfault with -O1 -ftree-vectorize

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #1 from dorit at gcc dot gnu dot org 2007-07-01 11:23 --- (In reply to comment #0) I'm getting the following segfault on IA-64 with current 4.2 and 4.3. This goes back at least to 20060721 - I don't have anything older to test here at the moment. I don't see

[Bug tree-optimization/32378] can't determine dependence (distinct sections of an array)

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2007-07-01 12:43 --- Dependence analysis now fails with a different message: (compute_affine_dependence (stmt_a = D.1373_43 = (*a_42(D))[D.1372_41]) (stmt_b = (*a_42(D))[D.1370_44] = D.1375_47) (subscript_dependence_tester

[Bug tree-optimization/32375] not vectorized: can't determine dependence (array sections)

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-07-01 12:46 --- Looks like a similar problem to PR32378: (compute_affine_dependence (stmt_a = D.1398_74 = (*aa_73(D))[D.1397_72]) (stmt_b = (*aa_73(D))[D.1393_68] = D.1408_88) (subscript_dependence_tester

[Bug tree-optimization/32377] can't determine dependence (source/destination overlap without more than size)

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-01 12:48 --- Looks like the data-dependence analysis is doing it's job (it figures out that the dependence distance is 1), but the vectorizer is still not willing to vectorize. Need to look into this. -- http://gcc.gnu.org

[Bug target/32274] FAIL: gcc.dg/vect/pr32224.c

2007-06-14 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2007-06-14 09:39 --- Subject: Bug 32274 Author: dorit Date: Thu Jun 14 09:39:31 2007 New Revision: 125703 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125703 Log: PR target/32274 * gcc.dg/vect/pr32224.c: Fix

[Bug tree-optimization/32224] [4.3 Regression] ICE in vect_analyze_operations, at tree-vect-analyze.c:374

2007-06-08 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2007-06-08 08:58 --- Subject: Bug 32224 Author: dorit Date: Fri Jun 8 08:57:54 2007 New Revision: 125566 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125566 Log: PR tree-optimization/32224 * tree-vect-analyze.c

[Bug middle-end/31699] [4.3 Regression] -march=opteron -ftree-vectorize generates wrong code

2007-05-03 Thread dorit at gcc dot gnu dot org
--- Comment #7 from dorit at gcc dot gnu dot org 2007-05-03 13:55 --- Subject: Bug 31699 Author: dorit Date: Thu May 3 12:54:45 2007 New Revision: 124375 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124375 Log: PR tree-optimization/31699 * tree-vect-analyze.c

[Bug testsuite/31589] gcc.dg/vect failures due to missing target specifiers

2007-05-01 Thread dorit at gcc dot gnu dot org
--- Comment #7 from dorit at gcc dot gnu dot org 2007-05-01 07:59 --- Subject: Bug 31589 Author: dorit Date: Tue May 1 07:58:59 2007 New Revision: 124315 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124315 Log: PR testsuite/31589 * gcc.dg/vect/vect-iv-9.c

[Bug target/30784] [4.3 regression] ICE on loop vectorization (-O1 -march=athlon-xp -ftree-vectorize)

2007-03-25 Thread dorit at gcc dot gnu dot org
--- Comment #9 from dorit at gcc dot gnu dot org 2007-03-25 13:08 --- Subject: Bug 30784 Author: dorit Date: Sun Mar 25 12:08:29 2007 New Revision: 123197 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123197 Log: PR tree-optimization/30784 * fold-const.c

[Bug tree-optimization/31041] [4.3 Regression] verify_stmts failed: invalid operand to binary operator with -O2 -ftree-vectorize

2007-03-17 Thread dorit at gcc dot gnu dot org
--- Comment #6 from dorit at gcc dot gnu dot org 2007-03-17 14:43 --- Subject: Bug 31041 Author: dorit Date: Sat Mar 17 14:43:30 2007 New Revision: 123023 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123023 Log: PR tree-optimization/31041 * tree-vect-transform.c

[Bug tree-optimization/30858] [4.3 Regression] ice for legal code with -O2 -ftree-vectorize

2007-02-22 Thread dorit at gcc dot gnu dot org
--- Comment #10 from dorit at gcc dot gnu dot org 2007-02-22 08:16 --- Subject: Bug 30858 Author: dorit Date: Thu Feb 22 08:16:18 2007 New Revision: 10 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=10 Log: PR tree-optimization/30858 * tree-vectorizer.c

[Bug tree-optimization/30771] ice for legal code with -O2 -ftree-vectorize

2007-02-14 Thread dorit at gcc dot gnu dot org
--- Comment #6 from dorit at gcc dot gnu dot org 2007-02-14 14:11 --- Subject: Bug 30771 Author: dorit Date: Wed Feb 14 14:10:57 2007 New Revision: 121950 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121950 Log: PR tree-optimization/30771 * tree-vect-analyze.c

[Bug tree-optimization/29145] unsafe use of restrict qualifier

2007-02-12 Thread dorit at gcc dot gnu dot org
--- Comment #12 from dorit at gcc dot gnu dot org 2007-02-12 13:15 --- Subject: Bug 29145 Author: dorit Date: Mon Feb 12 13:14:52 2007 New Revision: 121844 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121844 Log: PR tree-optimization/29145 * tree-data-ref.c

[Bug tree-optimization/26197] [4.2 regression] ICE in is_old_name with vectorizer

2006-08-10 Thread dorit at gcc dot gnu dot org
--- Comment #19 from dorit at gcc dot gnu dot org 2006-08-10 12:07 --- Subject: Bug 26197 Author: dorit Date: Thu Aug 10 12:07:22 2006 New Revision: 116060 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116060 Log: PR tree-optimization/26197 * tree-ssa-alias.c

[Bug middle-end/27770] [4.2 Regression] wrong code in spec tests for -ftree-vectorize -maltivec

2006-08-03 Thread dorit at gcc dot gnu dot org
--- Comment #21 from dorit at gcc dot gnu dot org 2006-08-03 20:35 --- Subject: Bug 27770 Author: dorit Date: Thu Aug 3 20:35:05 2006 New Revision: 115910 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115910 Log: PR tree-optimization/27770 * tree-vectorizer.h

[Bug tree-optimization/26419] -ftree-vectorizer-verbose=n documentation is terse

2006-02-27 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2006-02-28 07:41 --- Subject: Bug 26419 Author: dorit Date: Tue Feb 28 07:41:47 2006 New Revision: 111516 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=111516 Log: PR tree-optimization/26419 * doc/invoke.texi

[Bug tree-optimization/26359] [4.2 Regression] Over optimization of loop when using -ftree-vectorize

2006-02-26 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2006-02-26 09:27 --- Subject: Bug 26359 Author: dorit Date: Sun Feb 26 09:27:35 2006 New Revision: 111451 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=111451 Log: PR tree-optimization/26359 * tree-ssa-alias.c

[Bug middle-end/25125] [4.1 Regression] (short) ((int)(unsigned short) + (int)) is done in the wrong type

2006-02-26 Thread dorit at gcc dot gnu dot org
--- Comment #24 from dorit at gcc dot gnu dot org 2006-02-26 12:55 --- Subject: Bug 25125 Author: dorit Date: Sun Feb 26 12:55:43 2006 New Revision: 111452 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=111452 Log: PR tree-optimization/25125 * gcc.dg/vect/wrapv

[Bug tree-optimization/25911] [4.2 Regression] ice in vect_recog_dot_prod_pattern

2006-01-29 Thread dorit at gcc dot gnu dot org
--- Comment #7 from dorit at gcc dot gnu dot org 2006-01-29 16:50 --- Subject: Bug 25911 Author: dorit Date: Sun Jan 29 16:50:05 2006 New Revision: 110377 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110377 Log: PR tree-opt/25911 * tree-vect-patterns.c

[Bug tree-optimization/24378] [4.1/4.2 Regression] gcc.dg/vect/pr24300.c (test for excess errors) fails

2005-12-18 Thread dorit at gcc dot gnu dot org
--- Comment #11 from dorit at gcc dot gnu dot org 2005-12-18 08:46 --- Subject: Bug 24378 Author: dorit Date: Sun Dec 18 08:46:30 2005 New Revision: 108746 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=108746 Log: PR tree-optimization/24378 * tree-vect

[Bug tree-optimization/24378] [4.1/4.2 Regression] gcc.dg/vect/pr24300.c (test for excess errors) fails

2005-12-18 Thread dorit at gcc dot gnu dot org
--- Comment #12 from dorit at gcc dot gnu dot org 2005-12-18 11:20 --- Subject: Bug 24378 Author: dorit Date: Sun Dec 18 11:20:17 2005 New Revision: 108750 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=108750 Log: PR tree-optimization/24378 * tree-vect

<    1   2