[Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 24 10:45:00 GMT 2017


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

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 24 10:44:56 2017
New Revision: 254039

URL: https://gcc.gnu.org/viewcvs?rev=254039&root=gcc&view=rev
Log:
        PR target/82628
        * config/i386/i386.md (addcarry<mode>, subborrow<mode>): Change
        patterns to better describe from which operation the CF is computed.
        (addcarry<mode>_0, subborrow<mode>_0): New patterns.
        * config/i386/i386.c (ix86_expand_builtin) <case handlecarry>: Pass
        one LTU with [DT]Imode and another one with [SD]Imode.  If arg0
        is 0, use _0 suffixed expanders instead of emitting a comparison
        before it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md


More information about the Gcc-bugs mailing list