https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109690
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- Created attachment 55002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55002&action=edit Patch that introduces mulv2si3 The compiled code with -march=znver1 is now the same as without the flag: loop: vmovq a(%rip), %xmm0 sall a+8(%rip) vpslld $1, %xmm0, %xmm0 vmovq %xmm0, a(%rip) ret