diff options
author | Claudiu Zissulescu <claziss@gmail.com> | 2020-03-03 10:34:50 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gmail.com> | 2020-03-03 10:34:50 +0200 |
commit | 02ae0e08a93f41022d1584054cf6111548c0d954 (patch) | |
tree | 8da1ac71aaa4a037a8a6ff0d1b7fe6d05c3a0115 /gcc/explow.c | |
parent | 9c3044a210d69d475f76e4e269752e21ca4d3ac0 (diff) | |
download | gcc-02ae0e08a93f41022d1584054cf6111548c0d954.zip gcc-02ae0e08a93f41022d1584054cf6111548c0d954.tar.gz gcc-02ae0e08a93f41022d1584054cf6111548c0d954.tar.bz2 |
arc: Update legitimate small data address.
All ARC's small data adressing is using address scaling feature of the
load/store instructions (i.e., the address is made of a general
pointer plus a shifted offset. The shift amount depends on the
addressing mode). This patch is checking the offset of an address if
it fits the scalled constraint. If so, a small data access is
generated. This patch fixes execute' pr93249 failure.
gcc/
xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (leigitimate_small_data_address_p): Check if an
address has an offset which fits the scalling constraint for a
load/store operation.
(legitimate_scaled_address_p): Update use
leigitimate_small_data_address_p.
(arc_print_operand): Likewise.
(arc_legitimate_address_p): Likewise.
(legitimate_small_data_address_p): Likewise.
Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
Diffstat (limited to 'gcc/explow.c')
0 files changed, 0 insertions, 0 deletions