[clang] [X86][AVX10] Permit AVX512 options/features used together with AVX10 (PR #71318)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 13 03:45:20 PST 2023
ronlieb wrote:
smallest example and used latest upstream llvm build from this morning
#include <immintrin.h>
void log_d_scalar(double a_input)
{
__m128d va, ve;
ve = _mm_getexp_sd(va, va);
}
clang++ -march=haswell t.cpp
t.cpp:8:10: error: always_inline function '_mm_getexp_sd' requires target feature 'avx512f', but would be inlined into function 'log_d_scalar' that is compiled without support for 'avx512f'
8 | ve = _mm_getexp_sd(va, va);
| ^
1 error generated.
https://github.com/llvm/llvm-project/pull/71318
More information about the cfe-commits
mailing list