public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49903] [avr] Redundant comparisons in binary-search switch/case expansion Date: Sun, 14 Aug 2011 09:12:00 -0000 [thread overview] Message-ID: <bug-49903-4-KjAKIPzFHj@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-49903-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49903 --- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-08-14 09:10:20 UTC --- Author: gjl Date: Sun Aug 14 09:10:13 2011 New Revision: 177744 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177744 Log: * PR target/49903 * config/avr/avr.md (UNSPEC_IDENTITY): New c_enum. (branch_unspec): New insn. (branch): Beauty farm. * config/avr/avr.c (compare_condition): Use JUMP_P. Test SET_SRC to be IF_THEN_ELSE. (avr_compare_pattern, avr_reorg_remove_redundant_compare): New static functions. (avr_reorg): Use them. Use next_real_insn instead of NEXT_INSN. Use CONST_INT_P. Beauty. Modified: trunk/gcc/ChangeLog trunk/gcc/config/avr/avr.c trunk/gcc/config/avr/avr.md
next prev parent reply other threads:[~2011-08-14 9:10 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-07-29 15:01 [Bug target/49903] New: AVR: Redundant comparisons in binary-seach " gjl at gcc dot gnu.org 2011-07-29 15:08 ` [Bug target/49903] [avr] Redundant comparisons in binary-search " eric.weddington at atmel dot com 2011-07-29 16:11 ` gjl at gcc dot gnu.org 2011-08-02 0:12 ` rth at gcc dot gnu.org 2011-08-11 17:44 ` gjl at gcc dot gnu.org 2011-08-11 17:44 ` gjl at gcc dot gnu.org 2011-08-12 23:39 ` hp at gcc dot gnu.org 2011-08-14 9:12 ` gjl at gcc dot gnu.org [this message] 2011-08-14 9:22 ` gjl at gcc dot gnu.org
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=bug-49903-4-KjAKIPzFHj@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).