From: Andy H <hutchinsonandy@aim.com>
To: gcc-patches@gcc.gnu.org, Anatoly Sokolov <aesok@post.ru>,
"Weddington, Eric" <eweddington@cso.atmel.com>
Subject: Re: PING [PATCH, AVR ] Fix PR19154 Bit Test patch
Date: Sat, 17 Oct 2009 03:39:00 -0000 [thread overview]
Message-ID: <4AD921B9.2020503@aim.com> (raw)
In-Reply-To: <4AC007B2.7020808@aim.com>
Anatoly,
could you post your approval of this patch
Andy
Andy H wrote:
> The attached patch creates a full set of patterns to match common bit
> test and jump for AVR target.
>
> These are typically creted by expressions such as
>
> if (x & 0x4000) ...
>
> The expanded can be picked up by combine pass and turned into single
> sbxx instructions.
> The existing patterns failed to match due to limited coverage of modes
> producing sub-optimal code.
>
> Zero extract patterns are provide for all modes up to DI. Similar AND
> patterns are provided upto SI mode
> The latter are used by older peephole patterns and historically
> matched to some RTL for bit test.
>
> Tested with no regressions on todays HEAD rev 152226
>
> Ok to comit to 4.5 HEAD?
>
>
> Target is avr-unknown-none
> Host is i686-pc-linux-gnu
>
> === gcc Summary ===
>
> # of expected passes 49145
> # of unexpected failures 167
> # of unexpected successes 12
> # of expected failures 99
> # of unresolved testcases 39
> # of untested testcases 8
> # of unsupported tests 1806
>
> (SAME BEFORE AFTER PATCH)
>
> 2009-09-27 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
>
> PR mid/19154
> * avr.md (QIDI): Add new mode iterator.
> (sbrx_branch<mode>): Create new zero extract bit, test and jump
> patterns for all QI thru DI modes combinations.
> (sbrx_and_branch<mode>): Create new and based bit test and jump
> patterns for QI thru SI modes.
>
next prev parent reply other threads:[~2009-10-17 1:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-28 1:39 Andy H
2009-10-17 3:39 ` Andy H [this message]
2009-10-18 12:16 ` Anatoly Sokolov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AD921B9.2020503@aim.com \
--to=hutchinsonandy@aim.com \
--cc=aesok@post.ru \
--cc=eweddington@cso.atmel.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).