Increase MOVE_RATIO to 17 for Lakemont
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 18 Aug 2016 14:59:46 +0000 (14:59 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 18 Aug 2016 14:59:46 +0000 (07:59 -0700)
commit89c8878092d773cf3803a98e60d5632635199125
tree42c64794804f79c6cf3bad6bfeede489b468d2ac
parent2c71d454eb6c35af8bf64d4c15621bb380f494ab
Increase MOVE_RATIO to 17 for Lakemont

Larger MOVE_RATIO will always make code faster.  17 is the number with
smaller code sizes for Lakemont.

gcc/

PR target/72839
* config/i386/i386.c (lakemont_cost): Set MOVE_RATIO to 17.

gcc/testsuite/

PR target/72839
* gcc.target/i386/pr72839.c: New test.

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