public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bonzini at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/40741] code size explosion for integer comparison
Date: Wed, 28 Oct 2009 10:18:00 -0000	[thread overview]
Message-ID: <20091028101752.14044.qmail@sourceware.org> (raw)
In-Reply-To: <bug-40741-17659@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from bonzini at gnu dot org  2009-10-28 10:17 -------
Subject: Bug 40741

Author: bonzini
Date: Wed Oct 28 10:17:29 2009
New Revision: 153650

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153650
Log:
2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

        PR rtl-optimization/40741
        * config/arm/arm.c (thumb1_rtx_costs): IOR or XOR with
        a small constant is cheap.
        * config/arm/arm.md (andsi3, iorsi3): Try to place the result of
        force_reg on the LHS.
        (xorsi3): Likewise, and split the XOR if the constant is complex
        and not in Thumb mode.

2009-10-28  Paolo Bonzini  <bonzini@gnu.org>

        PR rtl-optimization/40741
        * gcc.target/arm/thumb-branch1.c: New.

Added:
    trunk/gcc/testsuite/gcc.target/arm/thumb-branch1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/arm/arm.md
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40741


  parent reply	other threads:[~2009-10-28 10:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14  8:41 [Bug target/40741] New: " carrot at google dot com
2009-07-14  8:41 ` [Bug target/40741] " carrot at google dot com
2009-07-14  9:23 ` rguenth at gcc dot gnu dot org
2009-07-14  9:27 ` steven at gcc dot gnu dot org
2009-07-14 10:08 ` bonzini at gnu dot org
2009-07-14 10:34 ` bonzini at gnu dot org
2009-07-14 22:42 ` bonzini at gnu dot org
2009-10-28 10:18 ` bonzini at gcc dot gnu dot org [this message]
2009-10-28 10:44 ` bonzini at gnu dot org
2009-10-29 16:53 ` law at gcc dot gnu dot 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=20091028101752.14044.qmail@sourceware.org \
    --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: 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).