https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863
--- Comment #17 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Hongtao Liu from comment #16) > > Unfortunately, x86 has no vector mode .SAT_TRUNC instruction. > No, AVX512 supports both signed and unsigned saturation Indeed. BTW: PACKUSmn (despite the name) is not what we are looking for.