Re: [patch] Simplify further in combine

2011-03-16 Thread Richard Henderson
On 03/16/2011 08:01 AM, Chung-Lin Tang wrote: > * 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. Ok. r~

[patch] Simplify further in combine

2011-03-16 Thread Chung-Lin Tang
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-