Open yurivict opened 3 years ago
The attached testcases test_sse.cpp and test_avx.cpp fail on FreeBSD 12.2 with clang-10:
test_sse.cpp
test_avx.cpp
[yuri@yv /tmp/llvm-asm-failure]$ c++ -O2 -fPIC -o test_sse.gcc.o -msse -c test_sse.cpp test_sse.cpp:9:39: error: expected relocatable expression "movups 0x00 + %[xs], %%xmm0\n\t" ^ <inline asm>:2:2: note: instantiated into assembly here movups %xmm0, 0x00 + (%rax) ^ 1 error generated. [yuri@yv /tmp/llvm-asm-failure]$ c++ -O2 -fPIC -o test_sse.gcc.o -msse -c test_avx.cpp test_avx.cpp:9:40: error: expected relocatable expression "vmovups 0x00 + %[xs], %%ymm0\n\t" ^ <inline asm>:2:2: note: instantiated into assembly here vmovups %ymm0, 0x00 + (%rax) ^ 1 error generated.
Originally spotted by the author of LSP-plugins Vladimir Sadovnikov: https://github.com/sadko4u/lsp-plugins/issues/154#issuecomment-728394467
@llvm/issue-subscribers-backend-x86
Author: yuri@FreeBSD (yurivict)
Extended Description
The attached testcases
test_sse.cpp
andtest_avx.cpp
fail on FreeBSD 12.2 with clang-10:Originally spotted by the author of LSP-plugins Vladimir Sadovnikov: https://github.com/sadko4u/lsp-plugins/issues/154#issuecomment-728394467