[Bug target/79544] vec_sra (unsigned long long,foo) generating vsrd instead of vsrad

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 15 21:10:00 GMT 2017


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.


More information about the Gcc-bugs mailing list