public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39724]  New: [cond-optab] reload_cse_simplify_operands complicates code on vax
@ 2009-04-10 12:58 bonzini at gnu dot org
  2009-05-12 12:07 ` [Bug target/39724] [4.5 Regression][cond-optab] " bonzini at gnu dot org
  2009-07-14 21:34 ` bonzini at gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: bonzini at gnu dot org @ 2009-04-10 12:58 UTC (permalink / raw)
  To: gcc-bugs

reload_cse_simplify_operandss likes to change (compare REG (const_int 0)) to a
compare between registers on VAX, when it has a register at hand whose value is
zero.  This pessimizes code and in some cases even introduces spurious compares
instead of using CC0.

/* -Os */

f(int count,double r,double *rho)
{
  int i, j, miny, maxy, hy;
  float help, d;
    for (hy = miny; hy<= maxy; hy++)
      while(j >=0)
        if ( d <= r) abort ();
}


-- 
           Summary: [cond-optab] reload_cse_simplify_operands complicates
                    code on vax
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bonzini at gnu dot org
OtherBugsDependingO 39714
             nThis:


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/39724] [4.5 Regression][cond-optab] reload_cse_simplify_operands complicates code on vax
  2009-04-10 12:58 [Bug target/39724] New: [cond-optab] reload_cse_simplify_operands complicates code on vax bonzini at gnu dot org
@ 2009-05-12 12:07 ` bonzini at gnu dot org
  2009-07-14 21:34 ` bonzini at gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: bonzini at gnu dot org @ 2009-05-12 12:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
            Summary|[cond-optab]                |[4.5 Regression][cond-optab]
                   |reload_cse_simplify_operands|reload_cse_simplify_operands
                   |complicates code on vax     |complicates code on vax
   Target Milestone|---                         |4.5.0


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/39724] [4.5 Regression][cond-optab] reload_cse_simplify_operands complicates code on vax
  2009-04-10 12:58 [Bug target/39724] New: [cond-optab] reload_cse_simplify_operands complicates code on vax bonzini at gnu dot org
  2009-05-12 12:07 ` [Bug target/39724] [4.5 Regression][cond-optab] " bonzini at gnu dot org
@ 2009-07-14 21:34 ` bonzini at gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: bonzini at gnu dot org @ 2009-07-14 21:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bonzini at gnu dot org  2009-07-14 21:34 -------
I cannot reproduce this anymore.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-14 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-10 12:58 [Bug target/39724] New: [cond-optab] reload_cse_simplify_operands complicates code on vax bonzini at gnu dot org
2009-05-12 12:07 ` [Bug target/39724] [4.5 Regression][cond-optab] " bonzini at gnu dot org
2009-07-14 21:34 ` bonzini at gnu dot org

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).