On 8/12/22 16:19, Robin Dapp wrote:
> Hi,
> 
> vec_select can handle dynamic/runtime masks nowadays.  Therefore we can
> get rid of the UNSPEC_VEC_EXTRACT that was preventing further
> optimizations like combining instructions with vec_extract patterns.
> 
> Bootstrapped and regtested. No regressions.
> 
> Is it OK?
> 
> Regards
>  Robin
> 
> gcc/ChangeLog:
> 
>       * config/s390/s390.md: Remove UNSPEC_VEC_EXTRACT.
>       * config/s390/vector.md: Rewrite patterns to use vec_select.
>       * config/s390/vx-builtins.md (vec_scatter_element<V_HW_2:mode>_SI):
>       Likewise.

Ok. Thanks!

Andreas

Reply via email to