This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/14552] compiled trivial vector intrinsic code is ineffiencent


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-12 16:38 -------
Using a tempary variable I can get it down to 5 instructions (including the return):
        movq    w, %mm0
        psllw   $1, %mm0
        movq    %mm0, dw
        movq    %mm0, w
        ret

The problem is that global variables create the pessimize code so this is a dup of bug 12395.

*** This bug has been marked as a duplicate of 12395 ***

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]