[ARM] Fix small multiply feature
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 4 Apr 2017 16:24:18 +0000 (16:24 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Tue, 4 Apr 2017 16:24:18 +0000 (16:24 +0000)
commita1527a93a6a7dcc031b917db1e6ff7efa8916c4a
treebc35abe43e30f51545d485d92fda19d26c329fe4
parent8734bc723261fe8a0ba3b354f94519dfa60562ce
[ARM] Fix small multiply feature

2017-04-03  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR target/80307
    * config/arm/arm.c (thumb1_rtx_costs): Give a cost of 32
    instructions for small multiply cores.

    gcc/testsuite/
    PR target/80307
    * gcc.target/arm/small-multiply-m0-1.c: Do not skip test if not
    targeting any CPU or architecture.
    * gcc.target/arm/small-multiply-m0-2.c: Likewise.
    * gcc.target/arm/small-multiply-m0-3.c: Likewise.
    * gcc.target/arm/small-multiply-m0plus-1.c: Likewise.
    * gcc.target/arm/small-multiply-m0plus-2.c: Likewise.
    * gcc.target/arm/small-multiply-m0plus-3.c: Likewise.
    * gcc.target/arm/small-multiply-m1-1.c: Likewise.
    * gcc.target/arm/small-multiply-m1-2.c: Likewise.
    * gcc.target/arm/small-multiply-m1-3.c: Likewise.

From-SVN: r246682
12 files changed:
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/small-multiply-m0-1.c
gcc/testsuite/gcc.target/arm/small-multiply-m0-2.c
gcc/testsuite/gcc.target/arm/small-multiply-m0-3.c
gcc/testsuite/gcc.target/arm/small-multiply-m0plus-1.c
gcc/testsuite/gcc.target/arm/small-multiply-m0plus-2.c
gcc/testsuite/gcc.target/arm/small-multiply-m0plus-3.c
gcc/testsuite/gcc.target/arm/small-multiply-m1-1.c
gcc/testsuite/gcc.target/arm/small-multiply-m1-2.c
gcc/testsuite/gcc.target/arm/small-multiply-m1-3.c