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/60863] Incorrect codegen in ix86_expand_clear for -Os


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60863

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Apr 17 15:19:34 2014
New Revision: 209488

URL: http://gcc.gnu.org/viewcvs?rev=209488&root=gcc&view=rev
Log:
Generate "xor reg, reg" if optimizing for size

    PR target/60863
    * config/i386/i386.c (ix86_expand_clear): Remove outdated
    comment.  Check optimize_insn_for_size_p instead of
    optimize_insn_for_speed_p.

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


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