This is the mail archive of the gcc-patches@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] |
Hi, this patch adds slightly more simplification in try_combine(), under -fexpensive-optimizations, by calling subst() to both i2 and i1. Supplied is an ARM testcase where this resulted in one less redundant ZERO_EXTEND insn under ARMv6 and above. Bootstrapped and tested on i686 and x86_64, cross-tested on ARM-Linux using QEMU, all with no regressions. Okay for trunk? Thanks, Chung-Lin 2011-03-16 Chung-Lin Tang <cltang@codesourcery.com> * combine.c (try_combine): Do simplification only call of subst() on i2 even when i1 is present. Update comments. testsuite/ * gcc.target/arm/unsigned-extend-1.c: New testcase.
Attachment:
combine.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |