Re: [SH] PR 54089 - Convert dyn left shifts to constant shifts

2012-07-29 Thread Kaz Kojima
Oleg Endo wrote: > In cases where dynamic shifts are available, the ashlsi3_d pattern is > picked first and never converted back to a short sequence of constant > shifts. Preferring short constant shift sequences over dynamic shifts > can potentially reduce the need for an extra register to hold

[SH] PR 54089 - Convert dyn left shifts to constant shifts

2012-07-29 Thread Oleg Endo
Hello, In cases where dynamic shifts are available, the ashlsi3_d pattern is picked first and never converted back to a short sequence of constant shifts. Preferring short constant shift sequences over dynamic shifts can potentially reduce the need for an extra register to hold the shift count.

[SH] PR 54089 - Convert dyn left shifts to constant shifts

2012-07-29 Thread Oleg Endo
Hello, In cases where dynamic shifts are available, the ashlsi3_d pattern is picked first and never converted back to a short sequence of constant shifts. Preferring short constant shift sequences over dynamic shifts can potentially reduce the need for an extra register to hold the shift count.