3 ms·
Didn't require that much coaxing. -O3 --fast-math, i7-avx architecture. What did you do to break it?! xor eax, eax .L2: vmovdqu xmm1, X
by rerdavies 1y ago
Didn't require that much coaxing. -O3 --fast-math, i7-avx architecture. What did you do to break it?!
xor eax, eax
.L2:
vmovdqu xmm1, XMMWORD PTR [rdx+rax]
vinsertf128 ymm1, ymm1, XMMWORD PTR [rdx+16+rax], 0x1
vmovdqu xmm0, XMMWORD PTR [rsi+rax]
vinsertf128 ymm0, ymm0, XMMWORD PTR [rsi+16+rax], 0x1
vorps ymm0, ymm0, ymm1
vmovdqu XMMWORD PTR [rdi+rax], xmm0
vextractf128 XMMWORD PTR [rdi+16+rax], ymm0, 0x1
add rax, 32
cmp rax, 4096
jne .L2
vzeroupper
ret
- the8472 1y agoIt was an optimization bug in llvm. https://godbolt.org/z/GqdPGarsn https://godbolt.org/z/GqdPGarsn We filed an issue, this one is fixed now. https://github.com/llvm/llvm-project/issues/65763 https://github.com/llvm/llvm-project/issues/65763