This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] AArch64 fix PR58460


On 03/10/13 11:54, Marcus Shawcroft wrote:
This fixes PR58460, the add and sub shifted register instruction forms
in AArch64 do not permit the stack register.  This patch removes k
constraint from the relevant patterns and adds reduced form of the test
case.

Regression test aarch64-none-elf.  Committed.

/Marcus


2013-10-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>

         PR target/58460
         * config/aarch64/aarch64.md (*adds_mul_imm_<mode>)
     (*subs_mul_imm_<mode>)
     (*add_<shift>_<mode>, *add_<shift>_si_uxtw,*add_mul_imm_<mode>)
     (*sub_<shift>_<mode>)
     (*sub_<shift>_si_uxtw,*sub_mul_imm_<mode>, *sub_mul_imm_si_uxtw):
     Remove k constraint.

2013-10-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>

         PR target/58460
         * gcc.target/aarch64/pr58460.c: New file.

I'll commit a backport of this to 4.8 tomorrow unless anyone objects....

Cheers
/Marcus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]