diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-05-04 17:05:28 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco@gcc.gnu.org> | 2017-05-04 17:05:28 +0000 |
commit | 2fae724a1e13e63c996dd23b3885be99fe0fea5d (patch) | |
tree | d0b14a0c36f6aa1aa9e3d1f363e98485143d487e /gcc/cp/parser.c | |
parent | 8eef60973dd0f6a2d791fa6a3ae8ab2201b08c10 (diff) | |
download | gcc-2fae724a1e13e63c996dd23b3885be99fe0fea5d.zip gcc-2fae724a1e13e63c996dd23b3885be99fe0fea5d.tar.gz gcc-2fae724a1e13e63c996dd23b3885be99fe0fea5d.tar.bz2 |
All cores which add a cpu_addrcost_table use a non-zero value for HI and TI...
All cores which add a cpu_addrcost_table use a non-zero value for
HI and TI mode shifts (a non-zero value for general indexing also
applies to all shifts). Given this, it makes no sense to use a
different setting in generic_addrcost_table. So change it so that
all supported cores, including -mcpu=generic, now generate the same:
int f(short *p, short *q, long x) { return p[x] + q[x]; }
lsl x2, x2, 1
ldrsh w3, [x0, x2]
ldrsh w0, [x1, x2]
add w0, w3, w0
ret
gcc/
* config/aarch64/aarch64.c (generic_addrcost_table):
Change HI/TI mode setting.
From-SVN: r247606
Diffstat (limited to 'gcc/cp/parser.c')
0 files changed, 0 insertions, 0 deletions