diff options
author | Freddy Ye <freddy.ye@intel.com> | 2024-03-09 13:49:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-09 13:49:15 +0800 |
commit | fc0fc768cc2122c81fd37aa59d9f31fc0d5694d8 (patch) | |
tree | 1a0ce8178aad8df03a032e133b0aa10cd1470812 /llvm/lib/Object/ArchiveWriter.cpp | |
parent | c58c8278f98c189d149d5f062b8d4f56efcada90 (diff) | |
download | llvm-fc0fc768cc2122c81fd37aa59d9f31fc0d5694d8.zip llvm-fc0fc768cc2122c81fd37aa59d9f31fc0d5694d8.tar.gz llvm-fc0fc768cc2122c81fd37aa59d9f31fc0d5694d8.tar.bz2 |
[X86] Finally handle target of __builtin_ia32_cmp[p|s][s|d] from avx into sse/sse2/avx (#84136)
This patch relands #67410 and fixes the cmpfail below:
#include <immintrin.h>
__attribute__((target("avx"))) void test(__m128 a, __m128 b) {
_mm_cmp_ps(a, b, 14);
}
According to Intel SDM, SSE/SSE2 instructions cmp[p|s][s|d] are
supported when imm8 is in range of [0, 7]
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions