https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is true, but I think even for vector >> scalar and scalar >> scalar shifts it will be quite rare to support logical and not support arithmetic shifts. And on x86, as can be seen in the PR98856 changes, yes, this way of expressing it is possible, but not always the shortest.