> -----Original Message----- > From: Andre Vieira (lists) <andre.simoesdiasvie...@arm.com> > Sent: 29 April 2020 13:37 > To: gcc-patches@gcc.gnu.org > Cc: Kyrylo Tkachov <kyrylo.tkac...@arm.com> > Subject: [PATCH][GCC-8][Aarch64]: Backport Force TImode values into even > registers > > Hi, > > This is a backport from trunk/gcc-9 that I think we need now that we > have backported the casp LSE instructions. > > Bootstrapped and regression tested on aarch64. > > Is this OK for gcc-8?
Ok. Thanks, Kyrill > > Cheers, > Andre > > The LSE CASP instruction requires values to be placed in even > register pairs. A solution involving two additional register > classes was rejected in favor of the much simpler solution of > simply requiring all TImode values to be aligned. > > gcc/ChangeLog: > 2020-04-29 Andre Vieira <andre.simoesdiasvie...@arm.com> > > Backport from mainline. > 2018-10-31 Richard Henderson <richard.hender...@linaro.org> > > * config/aarch64/aarch64.c (aarch64_hard_regno_mode_ok): Force > 16-byte modes held in GP registers to use an even regno.