When -march=cascadelake is added, we generate vmovdqa x(%rip), %ymm0 vpcmpq $1, x(%rip), %ymm0, %k0 vpmovm2q %k0, %ymm0 vmovdqa %ymm0, x(%rip)
instead of vmovdqa x(%rip), %ymm1 vmovdqa x(%rip), %ymm0 vpcmpgtq %ymm1, %ymm0, %ymm0 vmovdqa %ymm0, x(%rip) Compile avx2-vpcmpgtq-1.c with -fno-fuse-ops-with-volatile-access to generate vpcmpgtq instead of vpcmpq. PR target/122343 * gcc.target/i386/avx2-vpcmpgtq-1.c: Compile with -fno-fuse-ops-with-volatile-access. -- H.J.
