public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hutchinsonandy at aim dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/35860] [4.3 Regression] [avr] code bloat caused by -fsplit-wide-types
Date: Wed, 16 Apr 2008 13:10:00 -0000	[thread overview]
Message-ID: <20080416131014.31099.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35860-9820@http.gcc.gnu.org/bugzilla/>



------- Comment #8 from hutchinsonandy at aim dot com  2008-04-16 13:10 -------
Subject: Re:  [4.3 Regression] [avr] code bloat caused by
 -fsplit-wide-types

Yes, indeed, I have patches in progress for AVR  that do split 
operation to take more advantage of lowering but the "bug" is still an 
issue then.

For example, if the testcase was using PLUS instead or OR, I will not 
be able to split instruction. (anything with carried "status" is 
problematic with reload and - as yet - cannot be split)

The  problem will merely propagate backwards until it gets blocked by 
unsplit wide mode operation (PLUS, COMPARE, SUB, MULT and probabley 
calls). Simply put, it will occur where ever a wide mode value meets a 
set of subregs. Here it will determine there is a conflict - even if 
there is not one.





-----Original Message-----
From: steven at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org>
To: hutchinsonandy@aim.com
Sent: Wed, 16 Apr 2008 4:59 am
Subject: [Bug target/35860] [4.3 Regression] [avr] code bloat caused by 
-fsplit-wide-types




------- Comment #7 from steven at gcc dot gnu dot org  2008-04-16 08:59 
-------
I agree with Paolo in comment #6.  One purpose of the lower-subreg path 
was to
allow backends to *not* define insns that it doesn't have.  The 
expanders will
generate inline code for such patterns at expand time, with sets to 
subregs.
Before GCC had lower-subreg, this would lead to awful code, but now 
that we
split the subregs out to pseudos it ought to work just fine.

Sadly, even i386 still hasn't been modified to benefit from this work...


--


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


-- 


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


  parent reply	other threads:[~2008-04-16 13:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-07 21:36 [Bug c/35860] New: " a dot kaiser at gmx dot net
2008-04-07 21:38 ` [Bug target/35860] " pinskia at gcc dot gnu dot org
2008-04-09 19:05 ` eric dot weddington at atmel dot com
2008-04-09 19:24 ` hutchinsonandy at aim dot com
2008-04-09 22:09 ` [Bug target/35860] [avr] " eric dot weddington at atmel dot com
2008-04-13  0:34 ` [Bug target/35860] [4.3 Regression] " hutchinsonandy at gcc dot gnu dot org
2008-04-15 12:27 ` bonzini at gnu dot org
2008-04-16  8:59 ` steven at gcc dot gnu dot org
2008-04-16 13:10 ` hutchinsonandy at aim dot com [this message]
2008-06-11 11:12 ` [Bug target/35860] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-06-12 10:17 ` jakub at gcc dot gnu dot org
2008-08-27 22:08 ` jsm28 at gcc dot gnu dot org
2009-01-24 10:26 ` rguenth at gcc dot gnu dot org
2009-08-04 12:39 ` [Bug target/35860] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-05-22 18:23 ` [Bug target/35860] [4.3/4.4/4.5/4.6 " rguenth 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=20080416131014.31099.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).