public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/30961]  New: redundant reg/mem stores/moves
@ 2007-02-25 18:26 pluto at agmk dot net
  2007-03-05 11:11 ` [Bug target/30961] [4.2 regression] " pluto at agmk dot net
                   ` (39 more replies)
  0 siblings, 40 replies; 41+ messages in thread
From: pluto at agmk dot net @ 2007-02-25 18:26 UTC (permalink / raw)
  To: gcc-bugs

float convert( unsigned in )
{
        float f;
        __builtin_memcpy( &f, &in, sizeof( in ) );
        return f;
}

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

gcc-4.2.0-20070221

$ g++ temp.cpp -O2 -S

_Z7convertj:
        movl    %edi, -4(%rsp)
        movss   -4(%rsp), %xmm1
        movaps  %xmm1, %xmm0
        ret

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


-- 
           Summary: redundant reg/mem stores/moves
           Product: gcc
           Version: 4.2.0
            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=30961


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

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

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-25 18:26 [Bug target/30961] New: redundant reg/mem stores/moves pluto at agmk dot net
2007-03-05 11:11 ` [Bug target/30961] [4.2 regression] " pluto at agmk dot net
2007-04-11 19:00 ` [Bug target/30961] [4.2/4.3 " pluto at agmk dot net
2007-04-11 21:40 ` steven at gcc dot gnu dot org
2007-05-11 17:22 ` steven at gcc dot gnu dot org
2007-05-11 17:26 ` steven at gcc dot gnu dot org
2007-05-11 17:28 ` steven at gcc dot gnu dot org
2007-05-11 20:42 ` steven at gcc dot gnu dot org
2007-05-12 17:24 ` hjl at lucon dot org
2007-05-12 17:47 ` steven at gcc dot gnu dot org
2007-05-12 18:03 ` hjl at lucon dot org
2007-05-12 21:27 ` hjl at lucon dot org
2007-05-13  5:36 ` hjl at lucon dot org
2007-05-13 19:08 ` hjl at lucon dot org
2007-06-30  9:11 ` [Bug target/30961] [4.1/4.2/4.3 " pinskia at gcc dot gnu dot org
2007-07-04  3:05 ` mmitchel at gcc dot gnu dot org
2007-07-31 18:29 ` pluto at agmk dot net
2007-07-31 19:36 ` hjl at lucon dot org
2007-08-01 11:30 ` [Bug target/30961] [4.1/4.2 " pluto at agmk dot net
2007-08-02 14:21 ` hjl at lucon dot org
2007-08-06 17:49 ` pluto at agmk dot net
2007-08-06 18:02 ` [Bug target/30961] [4.1/4.2/4.3 " hjl at lucon dot org
2007-08-06 18:28 ` pluto at agmk dot net
2007-08-06 21:39 ` pluto at agmk dot net
2007-08-07  0:22 ` hjl at lucon dot org
2007-08-07  7:22 ` pluto at agmk dot net
2007-08-07 12:57 ` hjl at lucon dot org
2007-08-07 17:52 ` pluto at agmk dot net
2007-08-07 17:53 ` pluto at agmk dot net
2007-08-07 18:11 ` hjl at lucon dot org
2007-08-07 21:20 ` pluto at agmk dot net
2007-08-08  0:33 ` hjl at lucon dot org
2007-08-08  3:01 ` hjl at lucon dot org
2007-08-08 21:50 ` pluto at agmk dot net
2007-08-27 14:50 ` jakub at gcc dot gnu dot org
2007-08-27 18:38 ` hjl at lucon dot org
2007-11-06 17:30 ` hjl at lucon dot org
2007-11-06 19:19 ` hjl at gcc dot gnu dot org
2008-07-04 22:00 ` [Bug target/30961] [4.2 " jsm28 at gcc dot gnu dot org
2009-02-13 16:00 ` hjl dot tools at gmail dot com
2009-03-30 21:40 ` 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).