Thank you for your review. All 4 patches are pushed. Claudiu ________________________________ From: Jeff Law <l...@redhat.com> Sent: Friday, February 28, 2020 11:15 PM To: Claudiu Zissulescu <claz...@gmail.com>; gcc-patches@gcc.gnu.org <gcc-patches@gcc.gnu.org> Cc: Claudiu Zissulescu <claz...@synopsys.com>; Francois Bedard <fbed...@synopsys.com>; andrew.burg...@embecosm.com <andrew.burg...@embecosm.com> Subject: Re: [PATCH 4/4] arc: Update legitimate small data address.
On Wed, 2020-02-26 at 16:59 +0200, Claudiu Zissulescu wrote: > 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 <claz...@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. OK. jeff >