re PR target/70322 (STV doesn't optimize andn)
authorUros Bizjak <uros@gcc.gnu.org>
Sun, 4 Dec 2016 14:38:05 +0000 (15:38 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 4 Dec 2016 14:38:05 +0000 (15:38 +0100)
commit6b7d84532342ed038a07d850ddacf7a86106a998
tree7e3242ff6da9239e948b52cac4248cba291a04c3
parentc818397a989cda38cf335a411360307dea311c99
re PR target/70322 (STV doesn't optimize andn)

PR target/70322
* config/i386/i386.c (dimode_scalar_to_vector_candidate_p): Handle NEG.
(dimode_scalar_chain::compute_convert_gain): Ditto.
(dimode_scalar_chain::convert_insn): Ditto.

testsuite/ChangeLog:

PR target/70322
* gcc.target/i386/pr70322-4.c: New test.

From-SVN: r243228
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr70322-4.c [new file with mode: 0644]