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 wrong-code bug in right-shift SISD patterns


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


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