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

2007-06-29 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2007-06-29 08:53 --- (In reply to comment #15) Just for the record, the only remaining x86 conversion (sse 4) is vectorized BUILT_IN_LRINT that uses cvtpd2dq. The problem here is that n_in n_out, so we probably need to apply narrowing

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

2007-06-29 Thread uros at gcc dot gnu dot org
--- Comment #17 from uros at gcc dot gnu dot org 2007-06-29 10:30 --- Subject: Bug 24659 Author: uros Date: Fri Jun 29 10:30:06 2007 New Revision: 126111 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126111 Log: PR tree-optimization/24659 * tree-vect-transform.c

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

2007-06-29 Thread ubizjak at gmail dot com
--- Comment #18 from ubizjak at gmail dot com 2007-06-29 10:38 --- Fully implemented in mainline. (BTW: A PPC maintainer should implement missing patterns for altivec as outlined in Comment #14.) -- ubizjak at gmail dot com changed: What|Removed

[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/24659] Conversions are not vectorized

2007-05-17 Thread uros at gcc dot gnu dot org
--- Comment #13 from uros at gcc dot gnu dot org 2007-05-17 07:31 --- Subject: Bug 24659 Author: uros Date: Thu May 17 06:31:05 2007 New Revision: 124784 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124784 Log: PR tree-optimization/24659 * optabs.h (enum

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

2007-05-17 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2007-05-17 07:45 --- Altivec PPC has int-float cvt insn and provides signed/unsigned vec_unpack v8hi insn. It should be trivial to implement short-float and unsigned short-float conversions by providing vec_unpacks_float_lo_v8hi,

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

2007-05-17 Thread ubizjak at gmail dot com
--- Comment #15 from ubizjak at gmail dot com 2007-05-17 08:28 --- Just for the record, the only remaining x86 conversion (sse 4) is vectorized BUILT_IN_LRINT that uses cvtpd2dq. The problem here is that n_in n_out, so we probably need to apply narrowing modifier to

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

2007-05-15 Thread ubizjak at gmail dot com
--- Comment #12 from ubizjak at gmail dot com 2007-05-15 15:06 --- Patch for several other missing conversions: http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00966.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24659

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

2007-04-22 Thread uros at gcc dot gnu dot org
--- Comment #9 from uros at gcc dot gnu dot org 2007-04-22 19:45 --- Subject: Bug 24659 Author: uros Date: Sun Apr 22 19:45:06 2007 New Revision: 124045 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124045 Log: 2007-04-22 Uros Bizjak [EMAIL PROTECTED] PR

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

2007-04-22 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2007-04-22 20:08 --- float-double and double-float conversions are new vectorized. For a slightly different test: --cut here-- void test_fp (float *a, double *b) { int i; for (i = 0; i 4; i++) b[i] = (double) a[i]; } void

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

2007-04-22 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2007-04-22 20:10 --- (In reply to comment #10) float-double and double-float conversions are new vectorized. For a slightly different test: The test is actually: --cut here-- float a[16]; int b[16]; double c[16]; void test_fd (void) {

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

2007-04-21 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2007-04-21 19:43 --- Patch for double-float conversions at http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01346.html. -- ubizjak at gmail dot com changed: What|Removed |Added

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

2007-01-07 Thread tehila at il dot ibm dot com
--- Comment #7 from tehila at il dot ibm dot com 2007-01-07 08:03 --- Right, the vectorizer currently supports conversions only between integral types. Support for type conversions that involve also floating-point types are in the works. --

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

2007-01-06 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2007-01-06 17:47 --- (In reply to comment #2) vectorization of type conversions has recently been added to autovect-branch. It requires modeling the respective unpack and pack optabs in the machine description. Hm, there is no

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

2007-01-05 Thread stuart at apple dot com
--- Comment #3 from stuart at apple dot com 2007-01-05 18:27 --- Created an attachment (id=12862) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12862action=view) vectorized assembly output from ICC v9.1 Generated from the indefinite loop variant of the testcase on OS X 10.4.7,

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

2007-01-05 Thread stuart at apple dot com
--- Comment #4 from stuart at apple dot com 2007-01-05 18:30 --- I ran the testcase through ICC, and it unrolled the loops without vectorizing them. However, making the loops indefinite gets us the desired, vectorized result. Here is the modified, indefinite loop version of the

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

2007-01-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-01-05 18:39 --- SPU has vectorizable conversion also. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

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

2005-11-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-03 16:24 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[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. --