public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-15792-4@http.gcc.gnu.org/bugzilla/>]
* [Bug rtl-optimization/15792] New: missed subreg optimization
@ 2004-06-03  4:27 pinskia at gcc dot gnu dot org
  2004-06-15 20:07 ` [Bug rtl-optimization/15792] " bangerth at dealii dot org
  2004-08-20 18:47 ` dann at godzilla dot ics dot uci dot edu
  0 siblings, 2 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-03  4:27 UTC (permalink / raw)
  To: gcc-bugs

int test(unsigned long long x) {
int g = (int)x|((int)(x>>32));
  if (g) gh();
}
int test1(unsigned long long x) {
  if (x) gh();
}

These two functions should produce the same asm but test produces better asm.
I noticed this when looking PR 11873.

-- 
           Summary: missed subreg optimization
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu
OtherBugsDependingO 11873
             nThis:


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


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

end of thread, other threads:[~2023-05-15  5:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-15792-6528@http.gcc.gnu.org/bugzilla/>
2006-01-18  4:45 ` [Bug rtl-optimization/15792] missed subreg optimization pinskia at gcc dot gnu dot org
2006-01-20 15:48 ` tony dot linthicum at amd dot com
2006-01-20 15:52 ` pinskia at gcc dot gnu dot org
2006-02-02 18:18 ` ian at airs dot com
2006-02-06 17:13 ` tony dot linthicum at amd dot com
2006-02-07  0:30 ` ian at airs dot com
2006-02-07  8:23 ` ian at airs dot com
2007-11-10  0:15 ` rask at gcc dot gnu dot org
     [not found] <bug-15792-4@http.gcc.gnu.org/bugzilla/>
2021-10-15  3:00 ` gabravier at gmail dot com
2023-05-15  5:34 ` pinskia at gcc dot gnu.org
2004-06-03  4:27 [Bug rtl-optimization/15792] New: " pinskia at gcc dot gnu dot org
2004-06-15 20:07 ` [Bug rtl-optimization/15792] " bangerth at dealii dot org
2004-08-20 18:47 ` dann at godzilla dot ics dot uci dot edu

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