https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117542
--- Comment #5 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- > Yes, something like this should work. I suggest to polish up a patch > with this also containing the backend pattern adjustments and post it > for review. The alternative is a convert optab for vec_pack_trunc, > or alternatively a vec_pack_trunc2. Sure, I'm testing.