On 12/13/2012 09:25 AM, Ian Bolton wrote: > This patch significantly reduces the number of redundant > uxtw instructions seen in a variety of programs. > > (There are further patterns that can be done, but I have them > in a separate patch that's still in development.)
What do you get if you enable flag_ree, as we do for x86_64? In theory this should avoid even more extensions... C.f. common/config/i386/i386-common.c: static const struct default_options ix86_option_optimization_table[] = { /* Enable redundant extension instructions removal at -O2 and higher. */ { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 }, r~