[Bug optimization/14552] compiled trivial vector intrinsic code contains nearly twice as many instructions as needed

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 12 15:47:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-12 15:46 -------
The poblem is that you also need -fomit-frame-pointer  to get the same code as the human generated 
code:
test:
        movq    w, %mm1
        psllw   $1, %mm1
        movq    %mm1, w
        movq    w, %mm0
        movq    %mm0, dw
        ret

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


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



More information about the Gcc-bugs mailing list