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/70465] [5/6/7 Regression] Poor code for x87 asm


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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 26 08:46:36 2017
New Revision: 244921

URL: https://gcc.gnu.org/viewcvs?rev=244921&root=gcc&view=rev
Log:
        PR target/70465
        * reg-stack.c (emit_swap_insn): Instead of fld a; fld b; fxchg %st(1);
        emit fld b; fld a; if possible.

        * gcc.target/i386/pr70465.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr70465.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/reg-stack.c
    trunk/gcc/testsuite/ChangeLog

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