re PR target/78794 (We noticed ~9% regression in 32-bit mode for 462.libquntum on...
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 13 Dec 2016 17:15:35 +0000 (18:15 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 13 Dec 2016 17:15:35 +0000 (18:15 +0100)
commit80e66af3c885e9b0137a8de22578ceca58c1453e
treea51fd76f8e6b74c7243970b1ee256661a069c6d8
parent6479f45b31c13f30f1de2ac4ff8d7a0e0084b864
re PR target/78794 (We noticed ~9% regression in 32-bit mode for 462.libquntum on Avoton after r243202)

PR target/78794
* config/i386/i386.c (dimode_scalar_chain::compute_convert_gain):
Calculate additional gain for andnot for targets without BMI.

testsuite/ChangeLog:

PR target/78794
* gcc.target/i386/pr78794.c: New test.

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