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 target/14552] compiled trivial vector intrinsic code is inefficient



------- Comment #25 from astrange at ithinksw dot com  2008-03-19 19:39 -------
Actually the first generates-
        subl    $12, %esp
        movq    _w, %mm0
        paddw   %mm0, %mm0
        movq    %mm0, _w
        movq    _w, %mm0
        movq    %mm0, _dw
        addl    $12, %esp
        ret

which is better than the code in the original report but still has a useless
store/reload.


-- 


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]