This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Fix wrong-code bug in right-shift SISD patterns
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>
- Date: Fri, 20 Feb 2015 13:56:04 +0000
- Subject: Re: [PATCH][AArch64] Fix wrong-code bug in right-shift SISD patterns
- Authentication-results: sourceware.org; auth=none
- References: <54E4791D dot 4080401 at arm dot com>
On 18 February 2015 at 11:35, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:
> Ok for trunk and 4.9?
>
> Thanks,
> Kyrill
>
> 2015-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/aarch64/aarch64.md (*aarch64_lshr_sisd_or_int_<mode>3):
> Mark operand 0 as earlyclobber in 2nd alternative.
> (1st define_split below *aarch64_lshr_sisd_or_int_<mode>3):
> Write negated shift amount into QI lowpart operand 0 and use it
> in the shift step.
> (2nd define_split below *aarch64_lshr_sisd_or_int_<mode>3): Likewise.
>
> 2015-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * gcc.target/aarch64/sisd-shft-neg_1.c: New test.
OK /Marcus