This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242314 - in /branches/ARM/sve-branch/gcc: test...


Author: rsandifo
Date: Fri Nov 11 17:39:21 2016
New Revision: 242314

URL: https://gcc.gnu.org/viewcvs?rev=242314&root=gcc&view=rev
Log:
Improve ivopts handling of offset multiples

This patch makes ivopts detect whether the target requires an
address offset to be a multiple of a particular value (often but
not necessarily the mode size).  This is then one of the things
that get_address_cost has to consider when deciding whether an
offset is valid.

The patch also improves the detection of offset ranges for
variable-sized modes.

Added:
    branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_load_const_offset_2.c
    branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_load_const_offset_3.c
Modified:
    branches/ARM/sve-branch/gcc/tree-ssa-loop-ivopts.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]