Update MOVE_RATIO cost for IA MCU
commit78c98e5400c2d80dd701b90ab49b7c846e30972d
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Aug 2015 15:24:44 +0000 (24 15:24 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Aug 2015 15:24:44 +0000 (24 15:24 +0000)
tree41ad8be694f1c00833f40ea0d94956cfb79276ce
parentbcaf4c15adb1ee2a41c3ed15de1ffe11c9895497
Update MOVE_RATIO cost for IA MCU

This patch updates MOVE_RATIO cost for IA MCU from 6 to 9 so that we
can unroll the loop completely for DOM with -mtune=iamcu.

gcc/

PR target/67329
* config/i386/i386.c (iamcu_cost): Set MOVE_RATIO cost to 9.

gcc/testsuite/

PR target/67329
* gcc.target/i386/pr67329.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227132 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr67329.c [new file with mode: 0644]