This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Improve bit-test-branch pattern to avoid unnecessary register clobber
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Jiong Wang <jiong dot wang at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 Jan 2015 15:05:53 +0000
- Subject: Re: [PATCH][AArch64] Improve bit-test-branch pattern to avoid unnecessary register clobber
- Authentication-results: sourceware.org; auth=none
- References: <548EFFE8 dot 9040703 at arm dot com> <54B6F4BE dot 2000200 at redhat dot com> <54BCDC5F dot 6090301 at arm dot com> <20150119103410 dot GE1405 at tucnak dot redhat dot com> <CAJA7tRY=qcMMcG6VkrOU6Wq_zcc0Y+qh6KDhtzoXkkx=7Ck2Eg at mail dot gmail dot com> <20150119105834 dot GF1405 at tucnak dot redhat dot com> <54C7A132 dot 7090502 at arm dot com>
On 27 January 2015 at 14:31, Jiong Wang <jiong.wang@arm.com> wrote:
> 2015-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
> Jiong Wang <jiong.wang@arm.com>
>
> gcc/
> * config/aarch64/aarch64.md (tb<optab><mode>1): Clobber CC reg instead
> of scratch reg.
> (cb<optab><mode>1): Likewise.
> * config/aarch64/iterators.md (bcond): New define_code_attr.
OK /Marcus
> gcc/testsuite/
> * gcc.dg/long_branch.c: New testcase.