Re: [SH] PR 54089 - Add support for rotcl instruction

2012-11-06 Thread Kaz Kojima
Oleg Endo wrote: > This patch adds support for SH's rotcl instruction. > While working on it, I've noticed that the DImode left shift by one insn > was not used anymore, and instead ended up as 'x + x'. This > transformation was happening before/during RTL expansion. The fix for > it was to adju

[SH] PR 54089 - Add support for rotcl instruction

2012-11-05 Thread Oleg Endo
Hello, This patch adds support for SH's rotcl instruction. While working on it, I've noticed that the DImode left shift by one insn was not used anymore, and instead ended up as 'x + x'. This transformation was happening before/during RTL expansion. The fix for it was to adjust the costs for DIm