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/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode


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

--- Comment #16 from uros at gcc dot gnu.org ---
Author: uros
Date: Sun Oct 22 18:05:17 2017
New Revision: 253985

URL: https://gcc.gnu.org/viewcvs?rev=253985&root=gcc&view=rev
Log:
        PR target/82628
        * config/i386/i386.md (cmp<dwi>_doubleword): New pattern.
        * config/i386/i386.c (ix86_expand_branch) <case E_TImode>:
        Expand with cmp<dwi>_doubleword.

testsuite/ChangeLog:

        PR target/82628
        * gcc.dg/torture/pr82628.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82628.c
Modified:
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog

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