[PATCH, AArch64] Negate and set flags in shift mode

Marcus Shawcroft marcus.shawcroft@gmail.com
Thu Apr 11 02:04:00 GMT 2013


OK. Thanks.
/Marcus

On 10 April 2013 11:32, Hurugalawadi, Naveen
<Naveen.Hurugalawadi@caviumnetworks.com> wrote:
> Hi,
>
> Please find attached the patch that implements negs instruction
> with shift for aarch64 target.
> Testcase have been added for negs instruction.
>
> Please review the same and let me know if there should be any
> modifications in the patch.
>
> Build and tested on aarch64-thunder-elf (using Cavium's internal
> simulator). No new regressions.
>
> Thanks,
> Naveen
>
> gcc/
>
> 2013-04-10   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
>
>         * config/aarch64/aarch64.c (aarch64_select_cc_mode): Allow NEG
>         code in CC_NZ mode.
>         * config/aarch64/aarch64.md (*neg_<shift><mode>3_compare0): New
>         pattern.
>
> gcc/testsuite/
>
> 2013-04-10   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
>
>         * gcc.target/aarch64/negs.c: New.



More information about the Gcc-patches mailing list