ср, 22 янв. 2025 г. в 23:53, Georg-Johann Lay <a...@gjlay.de>:
>
> As it turns out, logical 32-bit shifts with an offset of 25..30 can
> be performed in 7 instructions or less.  This beats the 7 instruc-
> tions required for the default code of a shift loop.
> Plus, with zero overhead, these cases can be 3-operand.
>
> This is only relevant for -Oz because with -Os, 3op shifts are
> split with -msplit-bit-shift (which is not performed with -Oz).
>
> Passes without new regressions.  Ok for trunk?

Ok. Please apply.

Denis

Reply via email to