https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941
--- Comment #42 from H.J. Lu <hjl.tools at gmail dot com> --- Created attachment 62020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62020&action=edit A new patch Here is a patch not to limit non all 0s/1s vector loads in the same loop. Please try it.