This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] Tests for arm_restrict_it patterns in thumb2.md
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Wed, 24 Feb 2016 14:18:47 +0000
- Subject: Re: [PATCH][ARM] Tests for arm_restrict_it patterns in thumb2.md
- Authentication-results: sourceware.org; auth=none
- References: <56B472A7 dot 9040102 at foss dot arm dot com>
On Fri, Feb 5, 2016 at 10:00 AM, Kyrill Tkachov
<kyrylo.tkachov@foss.arm.com> wrote:
> Hi all,
>
> I've been auditing the patterns in the arm backend that were added/modified
> for -mrestrict-it
> and I've come up with a few runtime tests that end up generating those
> patterns.
> This patch contains 4 tests for 4 patterns that have paths specific to
> -mrestrict-it.
>
> There were some patterns like thumb2_mov_negscc_strict_it and
> thumb2_mov_notscc_strict_it
> that I could not generate at all, because the earlier RTL optimisers always
> generated some
> equivalent but different (and at least as good) so these splitters never
> matched.
> I think we could safely remove them, but not at this stage.
>
> These tests should give us a bit more test coverage into the -mrestrict-it
> functionality.
>
> Ok for trunk?
OK - thanks for the audit.
Ramana
>
> Thanks,
> Kyrill
>
> 2016-02-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * gcc.target/arm/cond_sub_restrict_it.c: New test.
> * gcc.target/arm/condarith_restrict_it.c: Likewise.
> * gcc.target/arm/movcond_restrict_it.c: Likewise.
> * gcc.target/arm/negscc_restrict_it.c: Likewise.