public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/33008]  New: [4.1/4.2 regression] code pessimization after -fforce-mem removal.
@ 2007-08-07  7:19 pluto at agmk dot net
  2007-09-26 19:14 ` [Bug target/33008] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2007-08-07  7:19 UTC (permalink / raw)
  To: gcc-bugs

unsigned short load( void* p )
{
        unsigned short v;
        __builtin_memcpy( &v, p, sizeof( v ) );
        return v;
}

recent 4.2 branch produces:

load:   movzwl  (%rdi), %eax
        movw    %ax, -2(%rsp)
        movzwl  %ax, %eax
        ret

revsion 101665 produces optimal code:

load:   movzwl  (%rdi), %eax
        ret

the regression was introduced by Fariborz Jahanian:
http://gcc.gnu.org/viewcvs?view=rev&revision=101666


-- 
           Summary: [4.1/4.2 regression] code pessimization after -fforce-
                    mem removal.
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-linux


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


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

* [Bug target/33008] [4.1/4.2 regression] code pessimization after -fforce-mem removal.
  2007-08-07  7:19 [Bug target/33008] New: [4.1/4.2 regression] code pessimization after -fforce-mem removal pluto at agmk dot net
@ 2007-09-26 19:14 ` pinskia at gcc dot gnu dot org
  2007-09-28  3:56 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-26 19:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
   Target Milestone|---                         |4.2.2


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


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

* [Bug target/33008] [4.1/4.2 regression] code pessimization after -fforce-mem removal.
  2007-08-07  7:19 [Bug target/33008] New: [4.1/4.2 regression] code pessimization after -fforce-mem removal pluto at agmk dot net
  2007-09-26 19:14 ` [Bug target/33008] " pinskia at gcc dot gnu dot org
@ 2007-09-28  3:56 ` mmitchel at gcc dot gnu dot org
  2007-10-09 19:27 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-09-28  3:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug target/33008] [4.1/4.2 regression] code pessimization after -fforce-mem removal.
  2007-08-07  7:19 [Bug target/33008] New: [4.1/4.2 regression] code pessimization after -fforce-mem removal pluto at agmk dot net
  2007-09-26 19:14 ` [Bug target/33008] " pinskia at gcc dot gnu dot org
  2007-09-28  3:56 ` mmitchel at gcc dot gnu dot org
@ 2007-10-09 19:27 ` mmitchel at gcc dot gnu dot org
  2008-02-01 17:04 ` jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-09 19:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mmitchel at gcc dot gnu dot org  2007-10-09 19:21 -------
Change target milestone to 4.2.3, as 4.2.2 has been released.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.2                       |4.2.3


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


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

* [Bug target/33008] [4.1/4.2 regression] code pessimization after -fforce-mem removal.
  2007-08-07  7:19 [Bug target/33008] New: [4.1/4.2 regression] code pessimization after -fforce-mem removal pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2007-10-09 19:27 ` mmitchel at gcc dot gnu dot org
@ 2008-02-01 17:04 ` jsm28 at gcc dot gnu dot org
  2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 17:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jsm28 at gcc dot gnu dot org  2008-02-01 16:54 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.3                       |4.2.4


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


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

* [Bug target/33008] [4.1/4.2 regression] code pessimization after -fforce-mem removal.
  2007-08-07  7:19 [Bug target/33008] New: [4.1/4.2 regression] code pessimization after -fforce-mem removal pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2008-02-01 17:04 ` jsm28 at gcc dot gnu dot org
@ 2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
  2008-07-04 22:50 ` [Bug target/33008] [4.2 " jsm28 at gcc dot gnu dot org
  2009-03-30 22:14 ` jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jsm28 at gcc dot gnu dot org  2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


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


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

* [Bug target/33008] [4.2 regression] code pessimization after -fforce-mem removal.
  2007-08-07  7:19 [Bug target/33008] New: [4.1/4.2 regression] code pessimization after -fforce-mem removal pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
@ 2008-07-04 22:50 ` jsm28 at gcc dot gnu dot org
  2009-03-30 22:14 ` jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2008-07-04 22:49 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2 regression] code   |[4.2 regression] code
                   |pessimization after -fforce-|pessimization after -fforce-
                   |mem removal.                |mem removal.


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


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

* [Bug target/33008] [4.2 regression] code pessimization after -fforce-mem removal.
  2007-08-07  7:19 [Bug target/33008] New: [4.1/4.2 regression] code pessimization after -fforce-mem removal pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2008-07-04 22:50 ` [Bug target/33008] [4.2 " jsm28 at gcc dot gnu dot org
@ 2009-03-30 22:14 ` jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 22:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2009-03-30 22:14 -------
Closing 4.2 branch, fixed in 4.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to fail|                            |4.2.5
      Known to work|                            |4.3.0
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.0


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


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

end of thread, other threads:[~2009-03-30 22:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-07  7:19 [Bug target/33008] New: [4.1/4.2 regression] code pessimization after -fforce-mem removal pluto at agmk dot net
2007-09-26 19:14 ` [Bug target/33008] " pinskia at gcc dot gnu dot org
2007-09-28  3:56 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:27 ` mmitchel at gcc dot gnu dot org
2008-02-01 17:04 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
2008-07-04 22:50 ` [Bug target/33008] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 22:14 ` jsm28 at gcc dot 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).