[Bug tree-optimization/37416] [4.4 Regression] Failure to return number of loop iterations

2008-11-22 Thread irar at il dot ibm dot com
--- Comment #2 from irar at il dot ibm dot com 2008-11-22 15:08 --- (In reply to comment #1) > This bug is shamefully incomplete. There is no way anyone willing to give > this > a look can know what to look for. > For example, a few things one would have to know before he/

[Bug tree-optimization/38464] [4.4 Regression] vect/costmodel/ppc/costmodel-slp-12.c fails to vectorize

2008-12-11 Thread irar at il dot ibm dot com
--- Comment #2 from irar at il dot ibm dot com 2008-12-11 08:02 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|NEW

[Bug tree-optimization/38529] [4.3/4.4 regression] ICE with nested loops

2008-12-15 Thread irar at il dot ibm dot com
-- irar at il dot ibm dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug tree-optimization/38529] [4.3/4.4 regression] ICE with nested loops

2008-12-15 Thread irar at il dot ibm dot com
-- irar at il dot ibm dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |irar at il dot ibm dot com |dot org

[Bug tree-optimization/37194] [4.3/4.4 Regression] Autovectorization of small constant iteration loop degrades performance

2008-12-30 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2008-12-30 14:57 --- (In reply to comment #6) > t.i:3: note: Vectorization may not be profitable. > why doesn't the cost model then disallow vectorization here? This is misleading. It only means that there exists loop boun

[Bug tree-optimization/37194] [4.3/4.4 Regression] Autovectorization of small constant iteration loop degrades performance

2009-01-05 Thread irar at il dot ibm dot com
--- Comment #8 from irar at il dot ibm dot com 2009-01-05 13:58 --- To handle unknown alignment of data, the vectorizer creates a prolog loop to peel a statically unknown number of scalar iterations (0<=nhttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=37194

[Bug tree-optimization/38721] [alias-improvements] vectorizer miscompiles gfortran.fortran-torture/execute/elemental.f90 at -O3

2009-01-05 Thread irar at il dot ibm dot com
--- Comment #1 from irar at il dot ibm dot com 2009-01-05 13:19 --- Here is a reduced testcase: program test_elemental implicit none integer, dimension (2, 4) :: a integer, dimension (2, 4) :: b integer(kind = 8), dimension(2) :: c a = reshape ((/2, 3, 4, 5, 6, 7, 8, 9

[Bug tree-optimization/37194] [4.3/4.4 Regression] Autovectorization of small constant iteration loop degrades performance

2009-01-08 Thread irar at il dot ibm dot com
--- Comment #12 from irar at il dot ibm dot com 2009-01-08 09:25 --- (In reply to comment #11) > fixed for 4.3.3? > Thanks. No, still waiting for approval. -- irar at il dot ibm dot com changed: What|Removed

[Bug tree-optimization/38529] [4.3 regression] ICE with nested loops

2009-01-10 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2009-01-11 07:48 --- Fixed on 4.3 branch as well. -- irar at il dot ibm dot com changed: What|Removed |Added

[Bug tree-optimization/37194] [4.3 Regression] Autovectorization of small constant iteration loop degrades performance

2009-01-10 Thread irar at il dot ibm dot com
--- Comment #14 from irar at il dot ibm dot com 2009-01-11 07:57 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|REOPENED

[Bug tree-optimization/37021] Fortran Complex reduction / multiplication not vectorized

2009-01-25 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2009-01-25 09:12 --- (In reply to comment #5) > So, > 4) The vectorized version sucks because we have to use peeling for niters > because we need to unroll the loop once and cannot apply SLP here. What do you mean by "u

[Bug tree-optimization/37021] Fortran Complex reduction / multiplication not vectorized

2009-01-25 Thread irar at il dot ibm dot com
--- Comment #8 from irar at il dot ibm dot com 2009-01-25 12:17 --- (In reply to comment #7) > > > Q1: does SLP work with reductions at all? > > > > No. SLP currently originates from groups of strided stores. > Ah, I see. In this loop we have two reductions, so

[Bug tree-optimization/38968] Complex matrix product is not vectorized

2009-01-26 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2009-01-26 13:09 --- (In reply to comment #2) > Now, I wonder why we do not just use alignment + misalign in that case. I think you are right. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38968

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-05 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2009-05-05 12:41 --- Reproduced on x86_64-suse-linux. Seems that, somehow, the vectorized version of loop in line 29 is performed, even though the number of scalar iterations is 1. -- irar at il dot ibm dot com changed

[Bug tree-optimization/40074] [4.4/4.5 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:944

2009-05-10 Thread irar at il dot ibm dot com
--- Comment #13 from irar at il dot ibm dot com 2009-05-10 09:20 --- (In reply to comment #12) > Well, that revision only enabled vectorization support for more things... > (which is probably what makes this a regression in the first place). Right, I think it is something

[Bug tree-optimization/40074] [4.4/4.5 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:944

2009-05-10 Thread irar at il dot ibm dot com
--- Comment #14 from irar at il dot ibm dot com 2009-05-10 11:00 --- I am testing: Index: tree-vect-data-refs.c === --- tree-vect-data-refs.c (revision 147329) +++ tree-vect-data-refs.c (working copy

[Bug tree-optimization/40074] [4.4/4.5 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:944

2009-05-11 Thread irar at il dot ibm dot com
--- Comment #18 from irar at il dot ibm dot com 2009-05-11 12:45 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/40233] New: Test failures with "alignment of array elements is greater than element size"

2009-05-24 Thread irar at il dot ibm dot com
ment of array elements is greater than element size" Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org

[Bug middle-end/40240] [4.5 regression] ICE in execute_cse_reciprocals, at tree-ssa-math-opts.c:469

2009-05-25 Thread irar at il dot ibm dot com
--- Comment #2 from irar at il dot ibm dot com 2009-05-25 08:20 --- (In reply to comment #1) > this is likely being fixed by Ira I committed the fix. Could you please check if it really fixes this one as well? Thanks, Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40240

[Bug middle-end/40244] [4.5 Regression] Revision147829 caused extra failures

2009-05-26 Thread irar at il dot ibm dot com
--- Comment #1 from irar at il dot ibm dot com 2009-05-26 08:58 --- (In reply to comment #0) > On Linux/ia64, revision 147829: > http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00806.html > caused: > FAIL: Matrix4f -O3 compilation from source Could you please provide some inf

[Bug tree-optimization/40254] [4.5 Regression] SPEC2006 403.gcc miscompares

2009-05-27 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2009-05-27 08:43 --- The bug is in data-refs analysis for basic blocks: two accesses that are not adjacent (reload.c:1370) are considered as adjacent, and, therefore, get vectorized together, causing the wrong code generation. -- irar

[Bug tree-optimization/40254] [4.5 Regression] SPEC2006 403.gcc miscompares

2009-05-27 Thread irar at il dot ibm dot com
--- Comment #5 from irar at il dot ibm dot com 2009-05-27 09:59 --- I'll test this patch tomorrow: Index: tree-data-ref.c === --- tree-data-ref.c (revision 147903) +++ tree-data-ref.c (working copy) @@ -7

[Bug middle-end/40244] [4.5 Regression] Revision 147829 caused extra failures

2009-05-30 Thread irar at il dot ibm dot com
--- Comment #5 from irar at il dot ibm dot com 2009-05-30 16:53 --- (In reply to comment #4) > (In reply to comment #1) > > (In reply to comment #0) > > > On Linux/ia64, revision 147829: > > > http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00806.html > > &

[Bug testsuite/40244] [4.5 Regression] Revision 147829 caused extra failures

2009-05-30 Thread irar at il dot ibm dot com
-- irar at il dot ibm dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |irar at il dot ibm dot com |dot org

[Bug testsuite/40244] [4.5 Regression] Revision 147829 caused extra failures

2009-05-31 Thread irar at il dot ibm dot com
--- Comment #8 from irar at il dot ibm dot com 2009-05-31 09:04 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/39129] The meaning of 'BB' in "too many BBs in loop"

2009-05-31 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2009-05-31 10:55 --- So, will "too many basic blocks in loop" be good enough? Because this is what it is, the reason that the loop form is not suitable for the vectorizer is that there are too many basic blocks in it.

[Bug tree-optimization/39129] The meaning of 'BB' in "too many BBs in loop"

2009-05-31 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2009-05-31 12:33 --- For non-empty latch block we actually print "not vectorized: unexpected loop form." So I can change it to "not vectorized: non-empty latch block", and instead of "too many BBs" I c

[Bug tree-optimization/39129] The meaning of 'BB' in "too many BBs in loop"

2009-06-01 Thread irar at il dot ibm dot com
--- Comment #9 from irar at il dot ibm dot com 2009-06-01 08:20 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|NEW

[Bug tree-optimization/40348] Powerpc spe segfaults in vectorizing powf (a[i], 0.5f)

2009-06-07 Thread irar at il dot ibm dot com
--- Comment #2 from irar at il dot ibm dot com 2009-06-07 07:59 --- So, I guess this patch fixes it? Thanks, Ira Index: tree-vect-patterns.c === --- tree-vect-patterns.c(revision 148035) +++ tree-vect-patterns.c

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-15 Thread irar at il dot ibm dot com
--- Comment #12 from irar at il dot ibm dot com 2009-06-15 09:58 --- (In reply to comment #9) > The patch in comment #8 fixes the failures reported in comment #7. I now see > (powerpc-apple-darwin9 with -m64): > FAIL: gcc.dg/vect/vect-42.c scan-tree-dump-times vect "Align

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-16 Thread irar at il dot ibm dot com
--- Comment #17 from irar at il dot ibm dot com 2009-06-16 07:36 --- Dominique, Could you please try this patch (I changed (!a && !b) to !(a || b)). Thanks, Ira Index: vect-42.c === --- vect-42.c (revisio

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-16 Thread irar at il dot ibm dot com
--- Comment #19 from irar at il dot ibm dot com 2009-06-16 10:18 --- (In reply to comment #18) > > Could you please try this patch (I changed (!a && !b) to !(a || b)). > I am currently regtesting on my ppc and it takes a long time. Meanwhile I am > not sure to unders

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-16 Thread irar at il dot ibm dot com
--- Comment #21 from irar at il dot ibm dot com 2009-06-16 11:08 --- (In reply to comment #20) > What are the expected patterns for the 3 variables > with -m32 and -m64? I am not sure, this is why I asked you if the target is ([istarget *-*-darwin*] && [is-effecti

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-17 Thread irar at il dot ibm dot com
--- Comment #23 from irar at il dot ibm dot com 2009-06-17 08:22 --- (In reply to comment #22) > My understanding is that ([istarget *-*-darwin*] && [is-effective-target > lp64]) > should return false for -m32 and true for -m64. At least it is how it works on >

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-17 Thread irar at il dot ibm dot com
--- Comment #25 from irar at il dot ibm dot com 2009-06-17 11:06 --- (In reply to comment #24) > If I add to vect-42.c (with my patch) the line > > /* { dg-final { scan-tree-dump-times "bla bla bla" 1 "vect" { target vector_alignment_reachable } } } */ ...

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-17 Thread irar at il dot ibm dot com
--- Comment #29 from irar at il dot ibm dot com 2009-06-17 12:40 --- Oh, so the first dump you attached (in comment #11) was for -m32. Now it makes sense. I think, we have to distinguish between vect_no_align and the other cases. I will prepare a patch tomorrow. Thanks, Ira

[Bug middle-end/40475] [4.5 Regression] gcc.dg/vect/vect-nest-cycle-[12].c

2009-06-17 Thread irar at il dot ibm dot com
--- Comment #1 from irar at il dot ibm dot com 2009-06-17 12:46 --- Could you please attach a vectorizer dump for one of them? I need to know what prevented vectorization. Thanks, Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40475

[Bug middle-end/40475] [4.5 Regression] gcc.dg/vect/vect-nest-cycle-[12].c

2009-06-18 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2009-06-18 07:17 --- Created an attachment (id=18017) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18017&action=view) patch to fix the tests Thanks. It's misalignment. Could you please check the attached patch? -- ir

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-18 Thread irar at il dot ibm dot com
--- Comment #31 from irar at il dot ibm dot com 2009-06-18 08:03 --- Created an attachment (id=18019) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18019&action=view) patch to fix vect-42.c I think the easiest way to fix it is to change the test to have one vetorizable loo

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-18 Thread irar at il dot ibm dot com
--- Comment #33 from irar at il dot ibm dot com 2009-06-18 09:14 --- Created an attachment (id=18020) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18020&action=view) fix vect-42.c OK, now I understand why we need two loops here (we need to pass the arrays as parameters t

[Bug testsuite/40475] [4.5 Regression] gcc.dg/vect/vect-nest-cycle-[12].c

2009-06-21 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2009-06-21 07:32 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/40542] [4.3/4.4/4.5 Regression] vectorizes access to volatile array

2009-06-28 Thread irar at il dot ibm dot com
--- Comment #2 from irar at il dot ibm dot com 2009-06-28 10:57 --- So, the solution is to prevent vectorization of volatile types, like in the patch below? Index: tree-vect-data-refs.c === --- tree-vect-data-refs.c

[Bug tree-optimization/40542] [4.3/4.4/4.5 Regression] vectorizes access to volatile array

2009-06-30 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2009-06-30 12:02 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|NEW

[Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow)

2009-07-04 Thread irar at il dot ibm dot com
--- Comment #27 from irar at il dot ibm dot com 2009-07-05 06:48 --- (In reply to comment #23) > because there are two reductions in that loop which I think the vectorizer > cannot handle: Actually, the vectorizer can vectorize two reductions. I think, the problem is in cond_e

[Bug tree-optimization/40770] Vectorization of complex types, vectorization of sincos missing

2009-07-16 Thread irar at il dot ibm dot com
--- Comment #2 from irar at il dot ibm dot com 2009-07-16 12:29 --- pr40770.c:20: note: ==> examining statement: sincostmp.21_1 = __builtin_cexpi (D.1625_3); pr40770.c:20: note: get vectype for scalar type: complex double pr40770.c:20: note: not vectorized: unsupported data-t

[Bug tree-optimization/40770] Vectorization of complex types, vectorization of sincos missing

2009-07-16 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2009-07-16 17:31 --- (In reply to comment #3) > > make_vector_type returns NULL for this type. > Yes - there is no vector type for complex double. But the vectorizer > could query for a vector type for the complex component

[Bug tree-optimization/40801] internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1096

2009-07-19 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2009-07-19 09:35 --- Testing a fix. Ira -- irar at il dot ibm dot com changed: What|Removed |Added AssignedTo

[Bug tree-optimization/40770] Vectorization of complex types, vectorization of sincos missing

2009-07-20 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2009-07-20 11:18 --- AFAIU, querying for the component type of complex type is not difficult to implement. I think, that loop-based vectorization is preferable here, so we should stay with vectorization factor of 2 for doubles. The next

[Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow)

2009-07-20 Thread irar at il dot ibm dot com
--- Comment #28 from irar at il dot ibm dot com 2009-07-20 12:03 --- I've just committed a patch that adds support of cond_expr in reductions in nested cycles (http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01124.html). cond_expr cannot be vectorized in reduction of inner-most

[Bug tree-optimization/40801] internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1096

2009-07-26 Thread irar at il dot ibm dot com
--- Comment #5 from irar at il dot ibm dot com 2009-07-26 07:04 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow)

2009-07-26 Thread irar at il dot ibm dot com
--- Comment #32 from irar at il dot ibm dot com 2009-07-26 07:48 --- (In reply to comment #30) > Regarding the just committed inline version: It would be interesting to know > whether it is vectorizable (with/without -ffinite-math-only [i.e. > -ffast-math]). It depends on wh

[Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow)

2009-07-27 Thread irar at il dot ibm dot com
--- Comment #34 from irar at il dot ibm dot com 2009-07-27 08:36 --- (In reply to comment #33) > Using the example from comment 23 with ... > gfortran shows: test.f90:12: note: not vectorized: unsupported use in stmt. > and needs 2.272s. (By comparison. 4.4 needs 3.688s.) Th

[Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow)

2009-07-27 Thread irar at il dot ibm dot com
--- Comment #38 from irar at il dot ibm dot com 2009-07-27 12:44 --- I am not sure that that kind of computation can be generated automatically, since in general the order of caclulation of cond_expr cannot be changed. However, the loop can be split: for (i = 0; i < end

[Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow)

2009-07-28 Thread irar at il dot ibm dot com
--- Comment #41 from irar at il dot ibm dot com 2009-07-28 08:12 --- That requires pattern recognition. MIN/MAX_EXPR are recognized by the first phiopt pass, so MIN/MAXLOC should be either also recognized there or in the vectorizer. (The phiopt pass transforms if clause to MIN/MAX_EXPR

[Bug middle-end/37150] vectorizer misses some loops

2009-08-06 Thread irar at il dot ibm dot com
--- Comment #10 from irar at il dot ibm dot com 2009-08-06 10:49 --- Yes. The problem is that only a basic implementation was added. To vectorize this code several improvements must be done: support stmt group sizes greater than vector size, allow loads and stores to the same location

[Bug tree-optimization/41008] [4.5 Regression] ICE in vect_is_simple_reduction, at tree-vect-loop.c:1708

2009-08-09 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2009-08-09 12:15 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug tree-optimization/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-12 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2009-08-12 12:14 --- Looks like a problem in data-ref analysis: Creating dr for this_6(D)->_M_x[__k_87] ... base_address: this_6(D) offset from base address: 0 constant offset from base address: 0 step

[Bug tree-optimization/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-12 Thread irar at il dot ibm dot com
--- Comment #8 from irar at il dot ibm dot com 2009-08-13 05:40 --- (In reply to comment #7) > Oh. Did you manage to reduce or reproduce with a smaller testcase? No, I just looked at the vectorized loops. The guilty one is bin/../lib/gcc/x86_64-unknown-linux-gnu/4.

[Bug tree-optimization/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-13 Thread irar at il dot ibm dot com
--- Comment #10 from irar at il dot ibm dot com 2009-08-13 11:34 --- Reduced testcase: #include #include #define N 4 long int a[N]; int main () { int k; for (k = 0; k < N; ++k) a[k] = a[k] != 5 ? 12 : 10; for (k = 0; k < N; ++k) printf ("%u ", a[k])

[Bug tree-optimization/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-13 Thread irar at il dot ibm dot com
--- Comment #11 from irar at il dot ibm dot com 2009-08-13 11:36 --- Created an attachment (id=18350) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18350&action=view) The assembly for the long int version (wrong code) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41019

[Bug tree-optimization/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-13 Thread irar at il dot ibm dot com
--- Comment #12 from irar at il dot ibm dot com 2009-08-13 11:37 --- Created an attachment (id=18351) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18351&action=view) The assembly for the int version (correct) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41019

[Bug tree-optimization/25211] [4.1/4.2 Regression] verify_ssa ICE for mesa with -Os -ftree-loop-linear

2005-12-14 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2005-12-14 13:11 --- I think the reason why this ICE occurs with my patch (http://gcc.gnu.org/viewcvs?view=rev&rev=102356) is that my patch enables data-refs analysis for INDIRECT_REFs. Similar ICE in PR 20256 happens also before my p

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

2005-12-18 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2005-12-18 08:15 --- I failed to reproduce this ICE on ppc and i686. Vectorizer's dump file can help. -- irar at il dot ibm dot com changed: What|Removed |

[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-09-13 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2006-09-13 08:32 --- I think, the problem here is that we only check SMT and not NMT. I am preparing a patch to fix this. NMT is stored in ptr_info_def of data-ref, and only if it does not exist, SMT will be checked. -- irar at il dot

[Bug tree-optimization/18438] vectorizer failed for vector matrix multiplication

2006-09-19 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2006-09-19 07:10 --- > t.c:20: note: not vectorized: mixed data-types > t.c:20: note: can't determine vectorization factor. > > Removing flags[i] = true; Multiple data-types vectorization is already supported in the aut

[Bug tree-optimization/19049] not vectorizing a fortran loop

2006-09-19 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2006-09-19 07:29 --- Even though vectorization of strided accesses is already implemented in the autovect branch (and will be committed to the mainline 4.3), this case contains a store with a gap (store to a[i] without a store to a[i-1

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

2006-10-18 Thread irar at il dot ibm dot com
--- Comment #15 from irar at il dot ibm dot com 2006-10-18 11:03 --- (In reply to comment #13) > We need to check if above patch fixes PR26969 as well. Checked, it does not. -- irar at il dot ibm dot com changed: What|Removed |Ad

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

2007-01-28 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2007-01-28 10:45 --- The current versions of both mainline and autovect branch do not ICE. Strided loads are not implemented for SSE. I opened a PR 30211 for it. I think this PR can be closed. Ira -- irar at il dot ibm dot com changed

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

2007-01-28 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2007-01-28 11:38 --- I tried to reproduce this on x86 with current autovect branch and mainline with .../g++ -fpreprocessed tmp.ii -S -O3 -ftree-vectorize -msse2 -ansi -fdump-tree-vect-details. It doesn't not ICE, and the loop is vecto

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

2007-02-19 Thread irar at il dot ibm dot com
--- Comment #5 from irar at il dot ibm dot com 2007-02-19 11:18 --- Subject: Re: ice for legal code with -ftree-vectorize -O2 I know what the problem is. If we don't remove the store while iterating, we can't get it later (the si), can we? Ira "

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

2007-02-19 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2007-02-19 12:41 --- Sorry about the last comment, it was sent by mistake. Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30843

[Bug bootstrap/30921] New: Bootstrap failure with -ftree-vectorize on i386

2007-02-21 Thread irar at il dot ibm dot com
RMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: irar at il dot ibm dot com GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux

[Bug bootstrap/30921] Bootstrap failure with -ftree-vectorize on i386

2007-02-22 Thread irar at il dot ibm dot com
--- Comment #1 from irar at il dot ibm dot com 2007-02-22 07:58 --- Here is the ChangeLog entry for that patch: 2007-02-09 Richard Henderson <[EMAIL PROTECTED]> * config/i386/constraints.md (Ym): New constraint. * config/i386/i386.md (movsi_1): Change Y2

[Bug bootstrap/30921] Bootstrap failure with -ftree-vectorize on i386

2007-02-22 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2007-02-22 08:22 --- (In reply to comment #2) > (In reply to comment #0) > > Bootstrap with vectorization enabled fails on i386 starting from revision > > 121767: > > http://gcc.gnu.org/viewcvs?view=rev&revisio

[Bug tree-optimization/24309] [4.1/4.2/4.3 Regression] ICE with -O3 -ftree-loop-linear

2007-03-05 Thread irar at il dot ibm dot com
--- Comment #15 from irar at il dot ibm dot com 2007-03-05 09:30 --- I tried the reduced testcase on powerpc with -ftree-loop-linear and both -O2 and -O3 on 4.1, 4.2 and 4.3, and it works fine. Ira -- irar at il dot ibm dot com changed: What|Removed

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

2007-03-11 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2007-03-11 10:33 --- Harsha, could you please attach vectorizer's dump file (produced with -fdump-tree-vect-details)? Thanks, Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25371

[Bug tree-optimization/31343] New: ICE in data-refs dependence testing

2007-03-25 Thread irar at il dot ibm dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: irar at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31343

[Bug tree-optimization/31343] ICE in data-refs dependence testing

2007-03-25 Thread irar at il dot ibm dot com
--- Comment #1 from irar at il dot ibm dot com 2007-03-25 10:02 --- Created an attachment (id=13281) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13281&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31343

[Bug tree-optimization/32806] New: Missing optimization to remove backword dependencies

2007-07-18 Thread irar at il dot ibm dot com
for (i=0; ihttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=32806

[Bug bootstrap/33031] Bootstrap fails on gcc/tree.c

2007-08-09 Thread irar at il dot ibm dot com
--- Comment #1 from irar at il dot ibm dot com 2007-08-09 08:44 --- I got this too on x86_64-linux. I guess the guilty patch is r127306 | chaoyingfu | 2007-08-09 01:29:12 +0300 (Thu, 09 Aug 2007) | 213 lines since it added the function fixed_zerop: * tree.c

[Bug tree-optimization/33447] New: Non-empty latch block prevents loop vectorization

2007-09-16 Thread irar at il dot ibm dot com
-optimization Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: irar at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33447

[Bug middle-end/33449] [4.3 regression] ICE for fortran code with -O2 -ftree-vectorize

2007-09-17 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2007-09-17 08:59 --- (In reply to comment #3) > I can reproduce that on x86_64-linux with trunk rev. 128442. Dorit's fix is revision 128514, so it is not supposed to work on 128442... Anyway, I am trying to reproduce this ICE o

[Bug middle-end/33449] [4.3 regression] ICE for fortran code with -O2 -ftree-vectorize

2007-09-17 Thread irar at il dot ibm dot com
--- Comment #5 from irar at il dot ibm dot com 2007-09-17 09:54 --- (In reply to comment #4) > Anyway, I am trying to reproduce this ICE on x86_64-linux now, with the > current > trunk (128538). It doesn't ICE for me. (The loop gets vectorized). Ira -- http

[Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along

2007-09-30 Thread irar at il dot ibm dot com
--- Comment #1 from irar at il dot ibm dot com 2007-09-30 09:42 --- I managed to reproduce it. Here http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01559.html Richard suggested to add a GTY(()) to struct spu_builtin_description spu_builtins[] = { #define DEF_BUILTIN(fcode, icode, name

[Bug middle-end/33597] Internal compiler error while compiling libswcale from ffmpeg

2007-09-30 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2007-09-30 10:37 --- (In reply to comment #5) > Patch in testing: Thanks for fixing this! (I've just started to test the exact same patch :)) Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33597

[Bug target/33505] Vectorizer (or spu target builtins) and PCH don't get along

2007-10-02 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2007-10-02 09:22 --- (In reply to comment #2) > This is kinda on my list of stuff to forward port from the internal PS3 > toolchain. Maybe I can help with testing this patch for mainline? Thanks, Ira -- http://gcc.gnu.org/bu

[Bug tree-optimization/33680] [4.3 Regression] ICE when compilling elbg.c from ffmpeg (vectorizer)

2007-10-07 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2007-10-07 12:31 --- (In reply to comment #3) I get: pr33680.c: In function גfג: pr33680.c:1: error: expected an SSA_NAME object pr33680.c:1: error: in statement D.1618_93 = D.1556 /[ex] 4; pr33680.c:1: internal compiler error: verify_ssa

[Bug tree-optimization/33680] [4.3 Regression] ICE when compilling elbg.c from ffmpeg (vectorizer)

2007-10-09 Thread irar at il dot ibm dot com
--- Comment #9 from irar at il dot ibm dot com 2007-10-09 12:49 --- (In reply to comment #8) > If you use force_gimple_operand_bsi, it takes care of that itself. Thanks! I will try to see if we can use it. The problem is we don't have a bsi, we insert those stm

[Bug tree-optimization/33680] [4.3 Regression] ICE when compilling elbg.c from ffmpeg (vectorizer)

2007-10-10 Thread irar at il dot ibm dot com
--- Comment #11 from irar at il dot ibm dot com 2007-10-10 13:23 --- I understand that those symbols have to be renamed, I am just saying that maybe it should be done in the gimplifier and not in the vectorizer. But since force_gimple_operand_bsi also goes through the statements list

[Bug tree-optimization/33680] [4.3 Regression] ICE when compilling elbg.c from ffmpeg (vectorizer)

2007-10-11 Thread irar at il dot ibm dot com
--- Comment #13 from irar at il dot ibm dot com 2007-10-11 10:43 --- Maybe we can fix DCE not to eliminate such vars? Or somehow fix split_constant_offset? The following patch changes the base from (int[0:D.1553] *) newcentroid.1_22 + (long unsigned int) dim_4(D) * 8 to (int[0:D.1553

[Bug tree-optimization/33680] [4.3 Regression] ICE when compilling elbg.c from ffmpeg (vectorizer)

2007-10-11 Thread irar at il dot ibm dot com
--- Comment #14 from irar at il dot ibm dot com 2007-10-11 12:34 --- BTW, without this patch http://gcc.gnu.org/ml/gcc-patches/2007-07/msg02122.html there is no ICE and the loop gets vectorized. Ira -- irar at il dot ibm dot com changed: What|Removed

[Bug tree-optimization/33680] [4.3 Regression] ICE when compilling elbg.c from ffmpeg (vectorizer)

2007-10-15 Thread irar at il dot ibm dot com
--- Comment #16 from irar at il dot ibm dot com 2007-10-15 10:42 --- This patch fixes the ICE and doesn't cause regressions in the vectorizer testsuite: Index: tree-data-ref.c === --- tree-data-ref.c (revision 1

[Bug tree-optimization/33804] ICE in vect_transform_stmt, at tree-vect-transform.c:6131 with -ftree-vectorize

2007-10-18 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2007-10-18 08:33 --- It works fine for me (and the loop gets SLPed) on powerpc-64 and x86_64. Could you please run it with -fdump-tree-vect-details and attach the dump file? Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33804

[Bug tree-optimization/33812] New: Vectorizer testcases fail

2007-10-18 Thread irar at il dot ibm dot com
ity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: irar at il dot ibm dot com GCC build triplet: powerpc64-suse-linux GCC host triplet: powerpc64-suse-linux GCC target triplet: powerpc64-suse-linux http://

[Bug tree-optimization/33804] ICE in vect_transform_stmt, at tree-vect-transform.c:6131 with -ftree-vectorize

2007-10-21 Thread irar at il dot ibm dot com
--- Comment #5 from irar at il dot ibm dot com 2007-10-21 08:45 --- (In reply to comment #4) > Created an attachment (id=14370) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14370&action=view) [edit] > Vectorization dump file > Thanks! The vectorizer fails i

[Bug rtl-optimization/33846] [4.3 Regression] ICE in trunc_int_for_mode, at explow.c:55

2007-10-21 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2007-10-21 11:02 --- The problem is with vector shift with scalar shift argument. For the code created by the vectorizer: vect_var_.49_103 = ~vect_var_.47_101; vect_var_.50_105 = vect_var_.49_103 >> 31; (ashiftrt:V4SI (no

[Bug tree-optimization/33804] ICE in vect_transform_stmt, at tree-vect-transform.c:6131 with -ftree-vectorize

2007-10-21 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2007-10-21 12:52 --- The solution can be just not check if the vectorization is worthwhile during the transformation. The decision whether to vectorize or not should be made during the analysis anyway. The vectorization factor can get

[Bug tree-optimization/20122] Wrong code with gcc 4.0 tree-vectorizer

2005-02-24 Thread irar at il dot ibm dot com
--- Additional Comments From irar at il dot ibm dot com 2005-02-24 13:41 --- I found the problem that causes this. I'll send the patch next week. Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20122

[Bug tree-optimization/20122] Wrong code with gcc 4.0 tree-vectorizer

2005-03-02 Thread irar at il dot ibm dot com
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |irar at il dot ibm dot com |dot org | Status|NEW

[Bug tree-optimization/20122] Wrong code with gcc 4.0 tree-vectorizer

2005-03-02 Thread irar at il dot ibm dot com
--- Additional Comments From irar at il dot ibm dot com 2005-03-02 12:45 --- Fixed in http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01788.html. Waiting for review. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20122

  1   2   3   4   >