On Mon, Apr 27, 2020 at 2:22 PM Andre Vieira (lists) <andre.simoesdiasvie...@arm.com> wrote: > > Hi, > > The code change that caused this regression was not meant to affect neon > code-gen, however I missed the REG fall through. This patch makes sure > we only get the left-hand of the PLUS if it is indeed a PLUS expr. > > I suggest that in gcc-11 this code is cleaned up, as I do not think we > even need the overlap checks, NEON only loads from or stores to FP > registers and these can't be used in its addressing modes. > > Bootstrapped arm-linux-gnueabihf with '--enable-checking=yes,rtl' for > armv7-a and amrv8-a. > > Is this OK for trunk? >
Also for GCC-10 ? Ramana > gcc/ChangeLog: > 2020-04-27 Andre Vieira <andre.simoesdiasvie...@arm.com> > > * config/arm/arm.c (output_move_neon): Only get the first operand, > if addr is PLUS. >