re PR tree-optimization/71488 (Wrong code for vector comparisons with ivybridge and...
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 23 Jun 2016 16:58:54 +0000 (18:58 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 23 Jun 2016 16:58:54 +0000 (18:58 +0200)
commitf6d1b868c179eb6ad51dcab054a59d1fa1f6fa9f
tree8d3330a153a530c0b2644a6eb355e2c1fe9cd65c
parent49677530089e2a5016b3e0d11df4b2e1f1f59b65
re PR tree-optimization/71488 (Wrong code for vector comparisons with ivybridge and westmere targets)

PR tree-optimization/71488
* gcc.target/i386/i386.exp (check_effective_target_sse4): Move to ...
* lib/target-supports.exp: ... here.
(check_sse4_hw_available): New procedure.
(check_effective_target_sse4_runtime): Ditto.
* g++.dg/pr71488.C (dg-additional-options): Use -msse4 instead of
-march=westmere for sse4_runtime targets.
* gcc.dg/vect/vect-bool-cmp.c: Include "tree-vect.h".
(dg-additional-options): Use for sse4_runtime targets.
(main): Call check_vect ().
(dg-final): Perform scan only for sse4_runtime targets.

From-SVN: r237738
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr71488.C
gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c
gcc/testsuite/gcc.target/i386/i386.exp
gcc/testsuite/lib/target-supports.exp