[Bug tree-optimization/77621] [6 Regression] Internal compiler error for mtune=atom + msse2

2016-09-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621

Uroš Bizjak  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #23 from Uroš Bizjak  ---
Fixed for gcc-6.3+

[Bug tree-optimization/77621] [6 Regression] Internal compiler error for mtune=atom + msse2

2016-09-25 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621

--- Comment #22 from uros at gcc dot gnu.org ---
Author: uros
Date: Sun Sep 25 17:07:37 2016
New Revision: 240475

URL: https://gcc.gnu.org/viewcvs?rev=240475=gcc=rev
Log:
Backport from mainline
2016-09-21  Richard Biener  
Jakub Jelinek  

PR tree-optimization/77621
* tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Split
group at non-vectorizable stmts.

Backport from mainline
2016-09-20  Uros Bizjak  

PR target/77621
* config/i386/i386.c (ix86_preferred_simd_mode) :
Don't return word_mode for !TARGET_VECTORIZE_DOUBLE.
(ix86_add_stmt_cost): Penalize DFmode vector operations
for !TARGET_VECTORIZE_DOUBLE.

testsuite/ChangeLog:

Backport from mainline
2016-09-21  Richard Biener  
Jakub Jelinek  

PR tree-optimization/77621
* gcc.dg/pr77621.c: New testcase.

Backport from mainline
2016-09-20  Uros Bizjak  

PR target/77621
* gcc.target/i386/pr77621.c: New test.
* gcc.target/i386/vect-double-2.c: Update scan-tree-dump-times
pattern, loop should vectorize with -mtune=atom.


Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr77621.c
branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr77621.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/i386/i386.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/vect-double-2.c
branches/gcc-6-branch/gcc/tree-vect-data-refs.c

[Bug tree-optimization/77621] [6 Regression] Internal compiler error for mtune=atom + msse2

2016-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621

Richard Biener  changed:

   What|Removed |Added

  Known to work||7.0
Summary|[6/7 Regression] Internal   |[6 Regression] Internal
   |compiler error for  |compiler error for
   |mtune=atom + msse2  |mtune=atom + msse2
  Known to fail||6.2.0

--- Comment #21 from Richard Biener  ---
Fixed on trunk sofar.