re PR tree-optimization/77621 (Internal compiler error for mtune=atom + msse2)
authorUros Bizjak <ubizjak@gmail.com>
Tue, 20 Sep 2016 17:36:03 +0000 (19:36 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 20 Sep 2016 17:36:03 +0000 (19:36 +0200)
commit9b1ba33cf61cc1ca76bacd1eb3a41fe0eb5d12e9
tree707be5437697970fac022b866b613f03254903f1
parentb276eda4b4e09dc1b8b265a30b41e1493abc3031
re PR tree-optimization/77621 (Internal compiler error for mtune=atom + msse2)

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

testsuite/ChangeLog:

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.

From-SVN: r240277
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr77621.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/vect-double-2.c