arm-cores.def: Add support for -mcpu=cortex-m0.small-multiply,cortex-m0plus.small...
authorHale Wang <hale.wang@arm.com>
Thu, 6 Nov 2014 07:02:30 +0000 (07:02 +0000)
committerHale Wang <halewang@gcc.gnu.org>
Thu, 6 Nov 2014 07:02:30 +0000 (07:02 +0000)
commit45ea41fe8a833e4605ce0a1af794530030d483e4
treee98251d1647ed505ef5315995b1d1ee5ae231df6
parent3db7c8e4b4bef047836ad61ba8a0e5319869ad97
arm-cores.def: Add support for -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply...

2014-11-06  Hale Wang  <Hale.Wang@arm.com>

* config/arm/arm-cores.def: Add support for
-mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
cortex-m1.small-multiply.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/arm-tune.md: Regenerate.
* config/arm/arm.c: Update the rtx-costs for MUL.
* config/arm/bpabi.h: Handle
-mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
cortex-m1.small-multiply.
* doc/invoke.texi: Document
-mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
cortex-m1.small-multiply.
* testsuite/gcc.target/arm/small-multiply-m0-1.c: New test case.
* testsuite/gcc.target/arm/small-multiply-m0-2.c: Likewise.
* testsuite/gcc.target/arm/small-multiply-m0-3.c: Likewise.
* testsuite/gcc.target/arm/small-multiply-m0plus-1.c: Likewise.
* testsuite/gcc.target/arm/small-multiply-m0plus-2.c: Likewise.
* testsuite/gcc.target/arm/small-multiply-m0plus-3.c: Likewise.
* testsuite/gcc.target/arm/small-multiply-m1-1.c: Likewise.
* testsuite/gcc.target/arm/small-multiply-m1-2.c: Likewise.
* testsuite/gcc.target/arm/small-multiply-m1-3.c: Likewise.

From-SVN: r217175
16 files changed:
gcc/ChangeLog
gcc/config/arm/arm-cores.def
gcc/config/arm/arm-tables.opt
gcc/config/arm/arm-tune.md
gcc/config/arm/arm.c
gcc/config/arm/bpabi.h
gcc/doc/invoke.texi
gcc/testsuite/gcc.target/arm/small-multiply-m0-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/small-multiply-m0-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/small-multiply-m0-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/small-multiply-m0plus-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/small-multiply-m0plus-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/small-multiply-m0plus-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/small-multiply-m1-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/small-multiply-m1-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/small-multiply-m1-3.c [new file with mode: 0644]