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 rtl-optimization/55952] x86 FPU, unnecessary fxch instruction


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55952

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Latest trunk gcc generates:

        flds    4(%esp)
        fldz
        fucomip %st(1), %st
        fstp    %st(0)
        fld1
        fchs
        fld1
        fcmovnbe        %st(1), %st
        fstp    %st(1)
        ret

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