https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82989
--- Comment #21 from sudi at gcc dot gnu.org --- Author: sudi Date: Tue Mar 20 10:54:42 2018 New Revision: 258677 URL: https://gcc.gnu.org/viewcvs?rev=258677&root=gcc&view=rev Log: [ARM][PR82989] Fix unexpected use of NEON instructions for shifts This patch fixes PR82989 so that we avoid NEON instructions when -mneon-for-64bits is not enabled. This is more of a short term fix for the real deeper problem of making an early decision of choosing or rejecting NEON instructions. There is now a new ticket PR84467 to deal with the longer term solution. (Please refer to the discussion in the bug report for more details). Sudi *** gcc/ChangeLog *** 2018-03-20 Sudakshina Das <sudi....@arm.com> PR target/82989 * config/arm/neon.md (ashldi3_neon): Update ?s for constraints to favor GPR over NEON registers. (<shift>di3_neon): Likewise. *** gcc/testsuite/ChangeLog *** 2018-03-20 Sudakshina Das <sudi....@arm.com> PR target/82989 * gcc.target/arm/pr82989.c: New test. Added: trunk/gcc/testsuite/gcc.target/arm/pr82989.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/neon.md trunk/gcc/testsuite/ChangeLog