[AArch64] Peephole for SUBS
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 5 Jun 2017 08:46:28 +0000 (08:46 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 5 Jun 2017 08:46:28 +0000 (08:46 +0000)
commite49d8b68a2330971c75ba7ff625c770e6f2ce2b9
treebe6bd4a64d2062626d61c19853f1a02db7860203
parent4456f65d431f2869fc4d82f43d05b6ac1c9f568f
[AArch64] Peephole for SUBS

* config/aarch64/aarch64.c (define_peephole2 above
*sub_<shift>_<mode>): New peephole.

* gcc.target/aarch64/subs_compare_1.c: New test.

From-SVN: r248869
gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/subs_compare_1.c [new file with mode: 0644]