Oleg Endo <oleg.e...@t-online.de> wrote:
> The attached patch reorganizes the SH left shift patterns.  The final
> generated shift insns don't differ much, but it seems to have some
> positive side effects on register allocation in some cases. 
> 
> Tested with
> make -k check RUNTESTFLAGS="--target_board=sh-sim
> \{-m2/-ml,-m2/-mb,-m2a/-mb,-m2a-single/-mb,-m4/-ml,-m4/-mb,-m4-single/-ml,
> -m4-single/-mb,-m4a-single/-ml,-m4a-single/-mb}"
> 
> and no new failures.
> CSiBE result-size for '-O2 -m4-single -ml -mpretend-cmove' shows a
> little bit of noise here and there (total ~ -200 bytes)
> Same for '-O2 -m2 -ml' (no dynamic shifts, total ~ -400 bytes) but with
> a few improvements (bzip2/compress.c -180 bytes).
> 
> OK?

OK.

Regards,
        kaz

Reply via email to