[Bug target/24108] gcc.dg/vect/vect-76.c scan-tree-dump-times vectorized 1 loops 1 fails

2005-12-05 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2005-12-05 11:11 --- > Dorit, the 3 loops are now vectorized because of versioning despite the target > being vect_no_align. Can we adjust the dg commands? yes, that's exactly what the patch I sent in Comment #1 does. I

[Bug tree-optimization/24963] [4.1/4.2 Regression] gcc.dg/vect/vect-62.c scan-tree-dump-times not vectorized: redundant loop. no profit to vectorize. 1 fails

2005-12-05 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2005-12-05 14:17 --- > Dorit, is it only a matter of changing the expected error message? Yes - the error message checks that the vectorizer detected that it's not worth while to vectorize the loop because all operations in the

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

2005-12-07 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2005-12-07 16:35 --- > What's the best approach to fixing this? Punting in vectorizable_reduction > if we know beforehand that the loop will be versioned? > /* Same if the loop is to be versioned. */ > if

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

2005-12-07 Thread dorit at il dot ibm dot com
--- Comment #7 from dorit at il dot ibm dot com 2005-12-07 20:49 --- (In reply to comment #6) Can you test the attached patch? Unfortunrately it's relative to autovect-branch, but hopefully it would easily apply to mainline/4.1. Unbootstrapped, hardly tested... Index: tree

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

2005-12-14 Thread dorit at il dot ibm dot com
--- Comment #9 from dorit at il dot ibm dot com 2005-12-14 15:38 --- Thanks for testing the patch. I finally submitted it: http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01071.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24378

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

2005-12-15 Thread dorit at il dot ibm dot com
--- Comment #2 from dorit at il dot ibm dot com 2005-12-15 12:41 --- The problem is that the vectorizer applies loop-peeling in order to align the data reference *(m->c+i), and peeling only works correctly if the data is naturally aligned (aligned on it's type size). This is

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

2005-12-15 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2005-12-15 12:50 --- related discussion: http://gcc.gnu.org/ml/gcc/2005-12/msg00390.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25413

[Bug testsuite/25590] FAIL: gcc.dg/tree-ssa/gen-vect-11.c scan-tree-dump-times vectorized 1 loops 1

2006-01-03 Thread dorit at il dot ibm dot com
--- Comment #6 from dorit at il dot ibm dot com 2006-01-04 07:33 --- Maybe related to: 2005-12-26 Kazu Hirata <[EMAIL PROTECTED]> PR tree-optimization/25125 * convert.c (convert_to_integer): Don't narrow the type of a PLUX_EXPR or MINUS_EXPR if

[Bug testsuite/25590] FAIL: gcc.dg/tree-ssa/gen-vect-11.c scan-tree-dump-times vectorized 1 loops 1

2006-01-03 Thread dorit at il dot ibm dot com
--- Comment #7 from dorit at il dot ibm dot com 2006-01-04 07:36 --- (sorry, didn't notice it was already diagnosed as such) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25590

[Bug libfortran/21468] vectorizing libfortran

2006-01-08 Thread dorit at il dot ibm dot com
--- Comment #10 from dorit at il dot ibm dot com 2006-01-08 13:49 --- > Reopening since many of the intrinsics could still vectorize better. Could help if you list specific functions that you expect to get vectorized. As far as dotprod is concerned - if it's operating on flo

[Bug tree-optimization/25809] New: missed PRE optimization - move "invariant casts" out of loops

2006-01-16 Thread dorit at il dot ibm dot com
ty: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com GCC build triplet: ppc64-yellowdog-linux GCC host triplet: ppc64-yellowdog-linux GCC target triplet: ppc64-yellowdog-linux http://g

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

2006-07-23 Thread dorit at il dot ibm dot com
--- Comment #19 from dorit at il dot ibm dot com 2006-07-23 19:03 --- > The fix we've agreed is best in principle is to speculatively increase > the DECL_ALIGN of vectorisable variables before compiling functions. > Dorit says that there is a patch related to this on the a

[Bug middle-end/28628] New: Not forcing alignment of arrays in structs with -fsection-anchors

2006-08-07 Thread dorit at il dot ibm dot com
Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com GCC build triplet: powerpc-linux GCC host triplet: powerpc-linux GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id

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

2006-08-07 Thread dorit at il dot ibm dot com
--- Comment #25 from dorit at il dot ibm dot com 2006-08-07 07:09 --- (In reply to comment #24) > Fixed, a new different bug for the missed optimization should be opened. It's PR28628. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27770

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread dorit at il dot ibm dot com
--- Comment #43 from dorit at il dot ibm dot com 2006-08-07 20:35 --- > I'm all for this. info gcc says that w/o a guarantee of alignment, loops are > duped, with an if selecting between vector and scalar loops, is this not > accurate? yes >I spent a day try

[Bug middle-end/28643] New: redundant phi-node in latch-block prevents vectorization

2006-08-07 Thread dorit at il dot ibm dot com
: dorit at il dot ibm dot com GCC build triplet: powerpc-linux GCC host triplet: powerpc-linux GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28643

[Bug tree-optimization/28643] redundant phi-node in latch-block prevents vectorization

2006-08-08 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2006-08-08 07:38 --- > Err, SSA copy prop should be enough, actually, since after copy-prop, > the phi will have no users (and they shouldn't care about code with no > uses that doesn't access memory). > Though it&#

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-09 Thread dorit at il dot ibm dot com
--- Comment #55 from dorit at il dot ibm dot com 2006-08-09 19:10 --- Subject: Re: [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3 > > Here's some questions I need to figure out: > (1) Why do I have to throw the -funsafe-math-optimiz

[Bug tree-optimization/27742] [4.2 regression] ICE with -ftree-vectorizer-verbose

2006-08-31 Thread dorit at il dot ibm dot com
--- Comment #9 from dorit at il dot ibm dot com 2006-08-31 08:08 --- I have been unsuccessful in reproducing this problem on a i386-redhat-linux. I don't get a failure compiling the testcase from comment 8. I tried to compile the testcase from comment 7 and got the following e

[Bug tree-optimization/26969] [4.1 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-08-31 Thread dorit at il dot ibm dot com
--- Comment #10 from dorit at il dot ibm dot com 2006-08-31 08:22 --- I think this can be closed? (I opened a missed-optimization PR instead - PR28643) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26969

[Bug tree-optimization/26969] [4.1 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-08-31 Thread dorit at il dot ibm dot com
--- Comment #12 from dorit at il dot ibm dot com 2006-09-01 05:43 --- oops - I didn't notice it was open against 4.1. So hopefully porting Victor's patch to 4.1 would fix it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26969

[Bug middle-end/28684] Imprecise -funsafe-math-optimizations definition

2006-09-11 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2006-09-11 10:57 --- > You could help by looking at the source code (there are only a few dozens > places mentioning flag_unsafe_math_optimizations) and auditing which places > would be more suited to a new flag_reassociate_fp

[Bug middle-end/29160] New: missed optimization: redundant casts prevent vectorization

2006-09-20 Thread dorit at il dot ibm dot com
Summary: missed optimization: redundant casts prevent vectorization Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot o

[Bug tree-optimization/29170] autovec cannot handle short+=short

2006-09-21 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2006-09-21 19:30 --- By the way, the testcase gets vectorized if you compile with -fwrapv. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29170

[Bug middle-end/29268] New: missed optimization: need to generalize realignment support in the vectorizer

2006-09-28 Thread dorit at il dot ibm dot com
nment support in the vectorizer Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at i

[Bug middle-end/29269] New: missing documentation for "vcond" (vector conditional operation)

2006-09-28 Thread dorit at il dot ibm dot com
Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29269

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

2007-02-06 Thread dorit at il dot ibm dot com
--- Comment #11 from dorit at il dot ibm dot com 2007-02-06 08:18 --- (In reply to comment #10) > One thing I can think of that this description misses is that the two > pointers must be based-on *different* restrict-qualified pointers, unless > that case is already handled

[Bug c++/30771] ice for legal code with -O2 -ftree-vectorize

2007-02-12 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2007-02-12 10:11 --- I'll look into it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30771

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

2007-02-12 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-02-12 14:23 --- I'm testing the patch below. (wasn;t able to reproduce the problem in the attched testcase, but here's a reduced testcase for the problem that Richi described - thanks!: int a[128]; int main() { short i;

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

2007-02-15 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2007-02-15 10:21 --- I'll look into it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30795

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

2007-02-18 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-02-18 16:42 --- patch: http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01555.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30795

[Bug c/30843] ice for legal code with -ftree-vectorize -O2

2007-02-18 Thread dorit at il dot ibm dot com
--- Comment #2 from dorit at il dot ibm dot com 2007-02-18 21:50 --- I was able to reproduce it. Here's a reduced testcase: void dacP98FillRGBMap( unsigned char *pBuffer ) { unsigned long dw, dw1; unsigned long *pdw = (unsigned long *)(pBuffer); for( dw = 256, dw1 =

[Bug c/30843] ice for legal code with -ftree-vectorize -O2

2007-02-19 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2007-02-19 08:28 --- > Looks like possibly some bad interaction between vectorization of induction > and > vectorization of strided-access. Will investigate. I looked into it with Ira, and looks like the problem is th

[Bug c/30858] ice for legal code with -O2 -ftree-vectorize

2007-02-19 Thread dorit at il dot ibm dot com
--- Comment #2 from dorit at il dot ibm dot com 2007-02-19 12:45 --- Reduced testcase: int foo (int ko) { int j,i; for (j = 0; j < ko; j++) i += (i > 10) ? -5 : 7; return i; } Looking into it... -- dorit at il dot ibm dot com changed: What|R

[Bug c/30858] ice for legal code with -O2 -ftree-vectorize

2007-02-19 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2007-02-19 12:56 --- (In reply to comment #0) Thanks for exercising the vectorizer and reporting these bugs! > On the wider issue of the quality of the vectorizer, I > have thrown most of Suse Linux 10.3 at it and it has crashed

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

2007-02-19 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2007-02-19 14:12 --- Looks like I wasn't careful enough with my fix for PR30771. Here is a fix for that fix I'm now testing: Index: tree-vect-analyze.c === ---

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

2007-02-20 Thread dorit at il dot ibm dot com
--- Comment #6 from dorit at il dot ibm dot com 2007-02-20 22:56 --- proposed patches - http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01734.html > I have thrown most of Suse Linux 10.3 at it and it has crashed > in a few places. would you mind giving these patches a try? (to see

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

2007-02-21 Thread dorit at il dot ibm dot com
--- Comment #8 from dorit at il dot ibm dot com 2007-02-21 19:31 --- > Is this acceptable ? sure, thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30858

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

2007-03-05 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2007-03-05 20:15 --- I'm travelling now, but can prepare a fix when I'm back (next week). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31041

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

2007-03-14 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-03-14 12:13 --- I also saw this on powerpc64, on a different testcase (vectorizing longs with -m64). seems like constant propagation during dom3 propagates the vector initializer into a BIT_FIELD_EXPR, which results in invalid gimple

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

2007-03-14 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2007-03-14 12:29 --- this is the testcase I have ICE-ing on powerpc64-yellowdog, when compiled with -ftree-vectorize -maltivec -m64 -O2: long stack_vars_sorted[32]; void partition_stack_vars (long stack_vars_num) { long si, n

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

2007-03-24 Thread dorit at il dot ibm dot com
--- Comment #7 from dorit at il dot ibm dot com 2007-03-24 08:00 --- patch: http://gcc.gnu.org/ml/gcc/2007-03/msg00918.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30784

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

2007-03-24 Thread dorit at il dot ibm dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com GCC build triplet: i386-linux GCC host triplet: i386-linux GCC target triplet: i386-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31333

[Bug target/31334] New: Bad codegen for vectorized induction with altivec

2007-03-24 Thread dorit at il dot ibm dot com
verity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com GCC build triplet: powerpc-linux GCC host triplet: powerpc-linux GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31334

[Bug tree-optimization/31460] if(a) a[i] = xxx; else a[i] = yyy; is not converted to if (a) ddd= xxx; else ddd = yyy; a[i] = ddd;

2007-04-03 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-04-03 19:56 --- yes, this is indeed a known problem (I don't know if there's a PR open for it). It is one of the tree-ifcvt enhancements that Victor was going to tackle for 4.3 (item (2.3) in http://gcc.gn

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

2007-04-03 Thread dorit at il dot ibm dot com
--- Comment #6 from dorit at il dot ibm dot com 2007-04-03 20:22 --- So I see Devang had sent a patch for this over a year ago: http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00167.html I don't know what ever happened to it. Maybe you want to give it a try? (you may need to implemen

[Bug target/31334] Bad codegen for vector initializer with constants prop'd into a vector initializer

2007-04-03 Thread dorit at il dot ibm dot com
--- Comment #8 from dorit at il dot ibm dot com 2007-04-03 20:46 --- (In reply to comment #7) > Something like: > (define_insn_and_split "altivec_dup" > [(set (match_operand:V 0 "register_operand" "v") > (vec_duplicate: (match_operand:

[Bug fortran/31561] FAIL: gfortran.dg/vect/vect-4.f90

2007-04-14 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-04-14 09:38 --- > I think the only thing that really matters is that the loop is vectorized. I > don't think the alignment details are important checking, even on platforms > where they are relevant. So we should remove

[Bug tree-optimization/25809] missed PRE optimization - move "invariant casts" out of loops

2007-04-16 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2007-04-17 07:22 --- > Doing cast motion actually causes about 25 *more* failures in the vectorizer > testsuite. > I'm closing this as won't fix since it seems there was no other reason to do > this. can you pleas

[Bug tree-optimization/25809] missed PRE optimization - move "invariant casts" out of loops

2007-04-16 Thread dorit at il dot ibm dot com
--- Comment #6 from dorit at il dot ibm dot com 2007-04-17 07:38 --- > can you please send me the patch so that I could look at this failures before > you close this PR? I'm going over my inbox top down, so I just saw that you had laready sent the patch... so I will l

[Bug tree-optimization/25809] missed PRE optimization - move "invariant casts" out of loops

2007-04-17 Thread dorit at il dot ibm dot com
--- Comment #7 from dorit at il dot ibm dot com 2007-04-17 19:31 --- > so I will look into it. (for reference: http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01103.html). So I guess this should be handled somewhere else. I'll open a new missed-optimization PR instead (not aga

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

2007-04-17 Thread dorit at il dot ibm dot com
--- Comment #2 from dorit at il dot ibm dot com 2007-04-17 20:10 --- > 2 more are under investigation: > no-section-anchors-vect-69.c > vect-reduc-dot-u16a.c In the first testcase, the vectorizer can only prove that the data reference in the third loop is aligned on 8 bytes

[Bug fortran/31615] testsuite failure in gfortran.dg/vect/vect-5.f90

2007-04-17 Thread dorit at il dot ibm dot com
--- Comment #1 from dorit at il dot ibm dot com 2007-04-18 06:42 --- could you please provide the .vect dump file, as generated with -fdump-tree-vect-details? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31615

[Bug fortran/31615] testsuite failure in gfortran.dg/vect/vect-5.f90

2007-04-18 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2007-04-18 10:18 --- > Created dump file using -fdump-tree-vect-details thanks. So I don't understand why we expect to version for 3 different data-references, since there are only 2 in the loop that is vectorized. But then I wo

[Bug fortran/31615] testsuite failure in gfortran.dg/vect/vect-5.f90

2007-04-18 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2007-04-19 07:27 --- (In reply to comment #4) > (In reply to comment #3) > > But then I wonder why we don't see the same failure on ia64? > Because the failing part of the testcase is only done on ilp32 targets: > ! {

[Bug fortran/31615] testsuite failure in gfortran.dg/vect/vect-5.f90

2007-04-25 Thread dorit at il dot ibm dot com
--- Comment #7 from dorit at il dot ibm dot com 2007-04-25 21:30 --- > Are you going to submit/install your patch? yes, I'll go ahead and submit the patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31615

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

2007-04-26 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2007-04-26 19:34 --- Created an attachment (id=13450) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13450&action=view) patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31699

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

2007-04-26 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-04-26 19:37 --- I'm testing the attched patch. The problem is that we don't compute the peel factor correctly (when peeling to align a store) when we have multiple data-types in the loop (the computation assumes that VF is

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

2007-04-26 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-04-27 05:44 --- patch: http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01739.html requires retesting on ia64 before I can commit it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31589

[Bug tree-optimization/20474] ICE while compiling openmotif-2.2.3 with -ftree-vectorize

2005-03-14 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-03-14 20:01 --- The problem is that we take the size_type of a void type, and pass null to fold_convert in vect_analyze_pointer_ref_access. So one thing to do is to make sure that we're dealing with a complete

[Bug tree-optimization/20474] ICE while compiling openmotif-2.2.3 with -ftree-vectorize

2005-03-17 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-03-17 20:51 --- patch: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01675.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20474

[Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux

2005-03-17 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-03-17 20:57 --- can you please send the output of compiling with -fdump-tree-vect-details? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501

[Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux

2005-03-20 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-03-20 12:26 --- Thanks. This patch should fix the problem (the message "Alignment of access forced using peeling" should not be printed when we're not going to vectorize the loop due to unsupported unalign

[Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux

2005-03-22 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-03-22 10:54 --- patch: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02063.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501

[Bug target/20603] New: SPEC ICE's on powerpc-darwin compiling with "-fprofile-arcs -O2 -mpowerpc64"

2005-03-23 Thread dorit at il dot ibm dot com
Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.7.0 GCC host triplet: powerpc-apple-darwin7.7.0 GCC target triplet: powerpc-apple-darwin7.7.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20603

[Bug tree-optimization/20626] [4.1 Regression] vect-80.c and vect-96.c fail on ia64-hpux

2005-03-27 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-03-27 12:36 --- patch: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02442.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20626

[Bug tree-optimization/18403] FAILs to vectorize testcases on ppc64-linux

2005-03-31 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-03-31 12:58 --- Another testcase that exhibits a similar problem: vect-5.f90 (patch: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02840.html) On powerpc64-linux (lp64) the second loop is not vectorized because the data

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

2007-05-02 Thread dorit at il dot ibm dot com
--- Comment #6 from dorit at il dot ibm dot com 2007-05-02 20:38 --- patch: http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00111.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31699

[Bug middle-end/31738] Fortran dot product vectorization is restricted

2007-05-08 Thread dorit at il dot ibm dot com
--- Comment #2 from dorit at il dot ibm dot com 2007-05-08 21:00 --- Here is what happens in the three loops that don't get vectorized: (1) the loop in testvectdp2: This is the loop we analyze: # prephitmp.192_37 = PHI # i_1 = PHI <1(3), i_44(5)> :; D.1437_32

[Bug tree-optimization/31873] New: missed optimization: we don't move "invariant casts" out of loops

2007-05-08 Thread dorit at il dot ibm dot com
ut of loops Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm d

[Bug tree-optimization/25809] missed PRE optimization - move "invariant casts" out of loops

2007-05-08 Thread dorit at il dot ibm dot com
--- Comment #8 from dorit at il dot ibm dot com 2007-05-09 07:14 --- > So I guess this should be handled somewhere else. I'll open a new > missed-optimization PR instead (not against PRE this time). thanks. This is now PR31873 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25809

[Bug tree-optimization/31945] New: missing type vector conversions patterns on spu

2007-05-16 Thread dorit at il dot ibm dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com GCC build triplet: spu GCC host triplet: spu GCC target triplet: spu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31945

[Bug tree-optimization/31946] New: missed vectorization due to too strict peeling-for-alignment policy

2007-05-16 Thread dorit at il dot ibm dot com
normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31946

[Bug middle-end/31738] Fortran dot product vectorization is restricted

2007-05-16 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2007-05-16 20:45 --- (In reply to comment #2) > Here is what happens in the three loops that don't get vectorized: > (1) the loop in testvectdp2: ... > so the vectorizer is ok, except that in this case D.1437_32 doesn

[Bug target/32107] New: bad codegen for vector initialization in Altivec

2007-05-27 Thread dorit at il dot ibm dot com
ersion: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com GCC build triplet: powerpc-linux GCC host triplet: powerpc-linux GCC targe

[Bug tree-optimization/32216] [4.3 Regression] ICE: verify_stmts failed (invalid reference prefix) with -ftree-vectorize

2007-06-05 Thread dorit at il dot ibm dot com
--- Comment #3 from dorit at il dot ibm dot com 2007-06-06 03:28 --- (In reply to comment #1) veclower expands things when it wrongly concludes that they are not supported by the target in vecor mode. For demotion/promotion/conversion kinda operations this may be because it does not

[Bug tree-optimization/32216] [4.3 Regression] ICE: verify_stmts failed (invalid reference prefix) with -ftree-vectorize

2007-06-06 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2007-06-06 08:33 --- (In reply to comment #4) > (In reply to comment #3) > > Probably something similar is required for the VEC_UNPACK_FLOAT_*_EXPR > > tree-codes ? > But these tree-codes are already there: sorry, I gues

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

2007-06-07 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-06-07 18:40 --- You're right. I'm testing this obvious patch: Index: tree-vect-analyze.c === *** tree-vect-analyze.c (revision 125526) --- tree-vect-analyze.

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-06-12 17:46 --- it's on my (long) todo list... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32309

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

2007-06-13 Thread dorit at il dot ibm dot com
--- Comment #1 from dorit at il dot ibm dot com 2007-06-13 08:41 --- Sorry about the breakage. Does it work for you if you change the testcase as follows?: Index: pr32224.c === --- pr32224.c (revision 125641) +++ pr32224

[Bug tree-optimization/32075] can't determine dependence between p->a[x+i] and p->a[x+i+1] where x is invariant but defined in the function

2007-06-18 Thread dorit at il dot ibm dot com
--- Comment #2 from dorit at il dot ibm dot com 2007-06-18 11:03 --- I see this in the vectorizer dump file (with mainline from a few days ago): (compute_affine_dependence (stmt_a = D.3027_19 = p_7->a[D.3026_18]) (stmt_b = p_7->a[D.3025_17] = D.3027_19) Data ref a: (Da

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

2007-06-18 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-06-18 11:08 --- I see this in the vectorizer dump file (with mainline from a few days ago): (compute_affine_dependence (stmt_a = D.1423_50 = (*a_49(D))[D.1422_48]) (stmt_b = (*a_49(D))[D.1420_51] = D.1425_54) Data ref a: (Data

[Bug rtl-optimization/32084] gfortran 4.3 13%-18% slower for induct.f90 than gcc 4.0-based competitor

2007-06-27 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2007-06-27 11:57 --- (In reply to comment #4) > (In reply to comment #3) > > The problem is in -ftree-vectorize > The difference is, that without -ftree-vectorize the inner loop (do k = 1, 9) > is completely unr

[Bug tree-optimization/24659] Conversions are not vectorized

2007-06-29 Thread dorit at il dot ibm dot com
--- Comment #19 from dorit at il dot ibm dot com 2007-06-29 16:46 --- testing this patch for Altivec: Index: config/rs6000/altivec.md === *** config/rs6000/altivec.md(revision 126053) --- config/rs6000/altivec.md

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

2007-07-01 Thread dorit at il dot ibm dot com
--- Comment #12 from dorit at il dot ibm dot com 2007-07-01 09:30 --- > Subject: Re: -ftree-vectorize results in internal compiler error on AMD64 > Zdenek's patch for cleaning the dataref analysis is also fixing this bug. > http://gcc.gnu.org/ml/gcc-patches/2007-05/msg

[Bug tree-optimization/23350] [4.1 Regression] ICE in vect_update_ivs_after_vectorizer, at tree-vect-transform.c:2418

2005-09-08 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-09-08 13:54 --- (In reply to comment #4) > This bit is actually included in Keith's versioning-for-alignment patch > (http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01372.html), which hopefully is > going to be

[Bug target/23188] [4.1 Regression] vect-reduc-* fail

2005-09-18 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-09-19 06:52 --- do these ia64 reduction testcase failures still occur? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23188

[Bug target/22148] gcc.dg/vect/vect-reduc-1* fail

2005-09-18 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-09-19 06:54 --- does this ia64 reduction testcase failure still occur? -- What|Removed |Added

[Bug middle-end/23989] New: DCE removes a loop when it shouldn't

2005-09-21 Thread dorit at il dot ibm dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: ppc64-yellowdog-li

[Bug tree-optimization/23989] [4.1 Regression] DCE removes a loop when it shouldn't

2005-09-21 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-09-21 13:16 --- Indeed. This bug can be closed now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23989

[Bug middle-end/23997] New: DCE removes a loop when it shouldn't

2005-09-21 Thread dorit at il dot ibm dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dorit at il dot ibm dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: ppc64-yellowdog-li

[Bug middle-end/23997] DCE removes a loop when it shouldn't

2005-09-21 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-09-21 13:46 --- I don't know how this happened - I didn't mean to open this PR again. This should be closed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23997

[Bug tree-optimization/23119] gcc.dg/vect/vect-105.c scan-tree-dump-times vectorized 1 loops 1 fails

2005-10-06 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2005-10-06 15:45 --- For some targets the vect_no_align keyword means that the target intrinsically cannot support the feature, and for other targets it means that the feature can potentially be supported but something is still missing in

[Bug target/24108] gcc.dg/vect/vect-76.c scan-tree-dump-times vectorized 1 loops 1 fails

2005-10-06 Thread dorit at il dot ibm dot com
--- Comment #1 from dorit at il dot ibm dot com 2005-10-06 15:46 --- see patch in: http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00284.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24108

[Bug tree-optimization/24262] [4.1 Regression] ICE: verify_ssa failed with -O -msse2 -ftree-vectorize

2005-10-12 Thread dorit at il dot ibm dot com
--- Comment #2 from dorit at il dot ibm dot com 2005-10-12 07:23 --- There are two problems here: 1) This is the data-reference structure created (using the same testcase but with floats instead of doubles): Created dr for A[D.1705_7] base_address: &A of

[Bug tree-optimization/24659] Conversions are not vectorized

2005-11-03 Thread dorit at il dot ibm dot com
--- Comment #2 from dorit at il dot ibm dot com 2005-11-03 17:11 --- vectorization of type conversions has recently been added to autovect-branch. It requires modeling the respective unpack and pack optabs in the machine description. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug tree-optimization/22236] [4.1 Regression] wrong code for casts and scev

2005-07-26 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-07-26 13:59 --- Subject: Re: [4.1 Regression] wrong code for casts and scev Hi Sebastian, The modifications you suggest will make the tests uninteresting - they were introduced with unknown loop-bound/offset on

[Bug tree-optimization/23083] internal compiler error: Segmentation fault

2005-07-27 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-07-27 10:11 --- patch: http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01776.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23083

[Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c

2005-07-27 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-07-27 10:35 --- patch: http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01776.html (I should have referred to it as a patch for PR23073 rather than the duplicate PR23083) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23073

[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x

2005-07-27 Thread dorit at il dot ibm dot com
--- Additional Comments From dorit at il dot ibm dot com 2005-07-27 10:38 --- This is triggered by tree-ifcvt (which is enabled by -ftree-vectorize) -- What|Removed |Added

  1   2   3   >