https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79544 --- Comment #1 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Note that this is indeed wrong because the semantics of vec_sra are to duplicate the sign bit even for unsigned inputs.