https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77287
--- Comment #11 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Andrew Pinski from comment #10) > (In reply to Andrew Pinski from comment #9) > > (In reply to Hongtao.liu from comment #8) > > > Do we have IR for unsigned/signed saturation in gimple level? > > > > Not yet. I was just looking for that today due because of PR 51492. > > But there is a RFC out for it: > https://gcc.gnu.org/pipermail/gcc/2021-May/236015.html Oh, VEC_PACK_SAT_EXPR is exact what i needed for _mm256_packus_epi16, thanks for the pointer.