public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/19331] [4.0 Regression] Inefficient code generated for bitfield assignment
Date: Sat, 08 Jan 2005 18:37:00 -0000	[thread overview]
Message-ID: <20050108183708.1096.qmail@sourceware.org> (raw)
In-Reply-To: <20050108182401.19331.giovannibajo@libero.it>


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-08 18:37 -------
Hmm, on PPC, the mainline produces much better code than 3.3.2.
3.3.2:
        lbz r6,69(r1)
        la r2,lo16(_params)(r7)
        lwz r3,48(r2)
        addi r1,r1,80
        rlwinm r5,r6,26,31,31
        rlwinm r4,r6,27,31,31
        rlwinm r0,r6,28,31,31
        rlwimi r3,r6,23,1,1
        rlwimi r3,r5,29,2,2
        rlwimi r3,r4,28,3,3
        rlwimi r3,r0,27,4,4
        stw r3,48(r2)

mainline:
        lwz r2,60(r1)
        lwz r0,48(r9)
        addi r1,r1,80
        rlwimi r0,r2,7,1,1
        rlwimi r0,r2,7,2,2
        rlwimi r0,r2,7,3,3
        rlwimi r0,r2,7,4,4
        stw r0,48(r9)


-- 


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


  parent reply	other threads:[~2005-01-08 18:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-08 18:24 [Bug rtl-optimization/19331] New: " giovannibajo at libero dot it
2005-01-08 18:24 ` [Bug rtl-optimization/19331] " giovannibajo at libero dot it
2005-01-08 18:26 ` pinskia at gcc dot gnu dot org
2005-01-08 18:27 ` giovannibajo at libero dot it
2005-01-08 18:28 ` [Bug middle-end/19331] " pinskia at gcc dot gnu dot org
2005-01-08 18:28 ` [Bug rtl-optimization/19331] " giovannibajo at libero dot it
2005-01-08 18:28 ` [Bug middle-end/19331] " giovannibajo at libero dot it
2005-01-08 18:37 ` pinskia at gcc dot gnu dot org [this message]
2005-01-08 19:02 ` pinskia at gcc dot gnu dot org
2005-01-27  0:23 ` steven at gcc dot gnu dot org
2005-02-01  0:33 ` pinskia at gcc dot gnu dot org
2005-02-01  5:57 ` pinskia at gcc dot gnu dot org
2005-03-13 15:08 ` [Bug middle-end/19331] [4.0/4.1 " giovannibajo at libero dot it
2005-03-13 22:34 ` cvs-commit at gcc dot gnu dot org
2005-03-13 23:29 ` [Bug middle-end/19331] [4.0 " pinskia at gcc dot gnu dot org
2005-03-14  3:49 ` cvs-commit at gcc dot gnu dot org
2005-03-14  3:58 ` pinskia 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=20050108183708.1096.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).