public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/14552] New: compiled trivial vector intrinsic code contains nearly twice as many instructions as needed
@ 2004-03-12 13:15 michaelni at gmx dot at
  2004-03-12 13:20 ` [Bug optimization/14552] " michaelni at gmx dot at
                   ` (18 more replies)
  0 siblings, 19 replies; 21+ messages in thread
From: michaelni at gmx dot at @ 2004-03-12 13:15 UTC (permalink / raw)
  To: gcc-bugs

See attached source, gcc  -O3 -mtune=pentium3 -march=pentium3 -S 
generates: 
test: 
        movq    w, %mm1 
        pushl   %ebp 
        movl    %esp, %ebp 
        popl    %ebp 
        psllw   $1, %mm1 
        movq    %mm1, w 
        movq    w, %mm0 
        movq    %mm0, dw 
        ret 
 
human generates: 
movq w, %mm1 
paddw %mm1,%mm1 
movq %mm1, w 
movq %mm1,dw 
ret

-- 
           Summary: compiled trivial vector intrinsic code contains nearly
                    twice as many instructions as needed
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michaelni at gmx dot at
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: pentium3-debian-linux
GCC target triplet: pentium3-debian-linux


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


^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <bug-14552-4523@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-11-21 11:29 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-12 13:15 [Bug optimization/14552] New: compiled trivial vector intrinsic code contains nearly twice as many instructions as needed michaelni at gmx dot at
2004-03-12 13:20 ` [Bug optimization/14552] " michaelni at gmx dot at
2004-03-12 15:47 ` pinskia at gcc dot gnu dot org
2004-03-12 16:26 ` michaelni at gmx dot at
2004-03-12 16:30 ` [Bug optimization/14552] compiled trivial vector intrinsic code is ineffiencent pinskia at gcc dot gnu dot org
2004-03-12 16:38 ` pinskia at gcc dot gnu dot org
2004-03-12 17:11 ` michaelni at gmx dot at
2004-03-12 17:15 ` pinskia at gcc dot gnu dot org
2004-04-07  3:00 ` pinskia at gcc dot gnu dot org
2004-05-31  3:01 ` [Bug target/14552] " pinskia at gcc dot gnu dot org
2005-01-12  6:26 ` pinskia at gcc dot gnu dot org
2005-01-12  6:32 ` pinskia at gcc dot gnu dot org
2005-01-12 15:31 ` pinskia at gcc dot gnu dot org
2005-01-18 11:34 ` rth at gcc dot gnu dot org
2005-04-05  1:52 ` pinskia at gcc dot gnu dot org
2005-06-22 10:14 ` uros at kss-loka dot si
2005-07-21  8:47 ` uros at kss-loka dot si
2005-09-13 21:09 ` fjahanian at apple dot com
2005-09-13 21:13 ` pinskia at gcc dot gnu dot org
2005-09-15 11:39 ` uros at kss-loka dot si
     [not found] <bug-14552-4523@http.gcc.gnu.org/bugzilla/>
2005-11-21 11:29 ` pluto at agmk dot net

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