re PR rtl-optimization/78634 (30% performance drop after r242832.)
authorBernd Schmidt <bernds@redhat.com>
Mon, 23 Jan 2017 16:17:33 +0000 (16:17 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 23 Jan 2017 16:17:33 +0000 (16:17 +0000)
commite9c4fbe9c1eff61ffe2aa31c67cef2ffd346f674
tree7bf4e542d8044a3f0fe9963033e40db0f94ed55e
parent8539a302cdc56a76a797a18a83d5d68d9cd9f94a
re PR rtl-optimization/78634 (30% performance drop after r242832.)

PR rtl-optimization/78634
* config/i386/i386.c (ix86_max_noce_ifcvt_seq_cost): New function.
(TARGET_MAX_NOCE_IFCVT_SEQ_COST): Define.
* ifcvt.c (noce_try_cmove): Add missing cost check.

testsuite/
PR rtl-optimization/78634
* gcc.target/i386/funcspec-11.c: Also pass -mtune=i686.

From-SVN: r244816
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/funcspec-11.c