This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/3] [ARM] Addressing mode costs v3
- From: charles dot baylis at linaro dot org
- To: rearnsha at arm dot com, Ramana dot Radhakrishnan at arm dot com, pinskia at gmail dot com, kyrylo dot tkachov at arm dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Sep 2017 09:34:34 +0100
- Subject: [PATCH 0/3] [ARM] Addressing mode costs v3
- Authentication-results: sourceware.org; auth=none
From: Charles Baylis <charles.baylis@linaro.org>
This patch set includes the following updates from v2 [1]:
. addr_mode_costs table moved into struct tune_params from
struct cpu_cost_table (avoids overlap with AArch64 port)
. CPU data bus width now comes from a table entry in struct tune_params.
(Not intended to be 100% accurate, but sufficient for this
patch series)
. test cases for {pre,post}-indexed addressing
[1] https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01518.html and
https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01519.html
Charles Baylis (3):
[ARM] Add bus_width_bits to tune_params
[ARM] Refactor costs calculation for MEM.
[ARM] Add table of costs for AAarch32 addressing modes.
gcc/config/arm/arm-protos.h | 22 +++
gcc/config/arm/arm.c | 172 ++++++++++++++++++++----
gcc/testsuite/gcc.target/arm/addr-modes-float.c | 42 ++++++
gcc/testsuite/gcc.target/arm/addr-modes-int.c | 46 +++++++
gcc/testsuite/gcc.target/arm/addr-modes.h | 53 ++++++++
5 files changed, 310 insertions(+), 25 deletions(-)
create mode 100644 gcc/testsuite/gcc.target/arm/addr-modes-float.c
create mode 100644 gcc/testsuite/gcc.target/arm/addr-modes-int.c
create mode 100644 gcc/testsuite/gcc.target/arm/addr-modes.h
--
2.7.4