re PR target/91498 (STV change in r274481 causes 300.twolf regression on Haswell)
authorRichard Biener <rguenther@suse.de>
Tue, 20 Aug 2019 08:45:56 +0000 (08:45 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Aug 2019 08:45:56 +0000 (08:45 +0000)
commitf386ca413862152954a0ac73a7a2294fd6bbae1a
tree187d264f19f780dc3017bafd91827a194cdd32f0
parenta9fcfec30f70c30883f53d4b1bd533fbea0e9fb2
re PR target/91498 (STV change in r274481 causes 300.twolf regression on Haswell)

2019-08-20  Richard Biener  <rguenther@suse.de>

PR target/91498
* config/i386/i386-features.c (general_scalar_chain::convert_op):
Use (vec_merge (vec_duplicate..)) style vector from scalar move.
(convert_scalars_to_vector): Add timode_p parameter and use it
to guard TImode-only operation.
(pass_stv::gate): Adjust so STV runs twice for TARGET_64BIT.
(pass_stv::execute): Pass down timode_p.

* gcc.target/i386/minmax-7.c: New testcase.

From-SVN: r274694
gcc/ChangeLog
gcc/config/i386/i386-features.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/minmax-7.c [new file with mode: 0644]