re PR target/65768 (sub-optimimal code for constant Uses in loop)
authorKugan Vivekanandarajah <kuganv@linaro.org>
Sat, 16 May 2015 09:35:52 +0000 (09:35 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Sat, 16 May 2015 09:35:52 +0000 (09:35 +0000)
commit26c666565d347bd91fb86466d68ed578ac798ea6
tree1810ca7bd19bd34a16802c9d9cce41f623ef1b23
parente24ba4ab129b4506c413831c3392d47119482c22
re PR target/65768 (sub-optimimal code for constant Uses in loop)

gcc/ChangeLog:

2015-05-16  Kugan Vivekanandarajah  <kuganv@linaro.org>
    Zhenqiang Chen  <zhenqiang.chen@linaro.org>

PR target/65768
* config/arm/arm.h (DONT_EARLY_SPLIT_CONSTANT): New macro.
* config/arm/arm.md (subsi3, andsi3, iorsi3, xorsi3, movsi): Keep some
 large constants in register instead of splitting them.

gcc/testsuite/ChangeLog:

2015-05-16  Kugan Vivekanandarajah  <kuganv@linaro.org>
    Zhenqiang Chen  <zhenqiang.chen@linaro.org>

PR target/65768
* gcc.target/arm/maskdata.c: New test.

Co-Authored-By: Zhenqiang Chen <zhenqiang.chen@linaro.org>
From-SVN: r223235
gcc/ChangeLog
gcc/config/arm/arm.h
gcc/config/arm/arm.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/maskdata.c [new file with mode: 0644]