RE: [PATCH 1/2][GCC][Arm]: Fix MVE move from GPR -> GPR

2020-03-20 Thread Kyrylo Tkachov
Hi Andre, > -Original Message- > From: Andre Vieira (lists) > Sent: 20 March 2020 08:48 > To: gcc-patches@gcc.gnu.org > Cc: Kyrylo Tkachov > Subject: [PATCH 1/2][GCC][Arm]: Fix MVE move from GPR -> GPR > > Hi, > > This patch fixes the pattern mv

[PATCH 1/2][GCC][Arm]: Fix MVE move from GPR -> GPR

2020-03-20 Thread Andre Vieira (lists)
Hi, This patch fixes the pattern mve_mov for the case where both MVE vectors are in R registers and the move does not get optimized away.  I use the same approach as we do for NEON, where we use four register moves. Bootstrapped on arm-linux-gnueabihf and ran mve testsuite on arm-none-eabi.