Re: [SH] PR 54089 - Improve software dynamic shifts

2012-09-10 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: This patch does two things... 1) The dynamic shift cost is set to be the same if HW dynamic shifts are available. This improves code size for SH2A a little (-2 KByte on CSiBE for -m2a-single -O2). 2) Improve code around library function calls for

[SH] PR 54089 - Improve software dynamic shifts

2012-09-09 Thread Oleg Endo
Hello, This patch does two things... 1) The dynamic shift cost is set to be the same if HW dynamic shifts are available. This improves code size for SH2A a little (-2 KByte on CSiBE for -m2a-single -O2). 2) Improve code around library function calls for software dynamic shifts (logical right +