On Wed, 2012-11-14 at 12:00 -0800, Andrew Pinski wrote: > I know exactly where this code comes from; I have looked at the > benchmark as one of the reason why I add expand_cond_expr_using_cmove > in the first place. Anyways you should look into removing > TARGET_PROMOTE_PROTOTYPES because I found that also fixes the problem > mentioned here. > > Thanks, > Andrew Pinski
Removing TARGET_PROMOTE_PROTOTYPES looks interesting but I don't know if it is possible for compatibility reasons. I am still looking at my example though, I see GCC doing: andi $5,$5,0x1 xori $5,$5,0x1 movz $2,$4,$5 When it should just do: andi $5,$5,0x1 movn $2,$4,$5 Steve Ellcey sell...@mips.com