Skip to content

Commit

Permalink
Don't use _Float16 on non-SSE2 x86
Browse files Browse the repository at this point in the history
  • Loading branch information
mcatanzaro authored and mr-c committed May 23, 2024
1 parent a1ce45c commit 40f4d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simde/simde-f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ SIMDE_BEGIN_DECLS_
defined(SIMDE_X86_AVX512FP16_NATIVE) || \
(defined(SIMDE_ARCH_X86_SSE2) && HEDLEY_GCC_VERSION_CHECK(12,0,0)) || \
(defined(SIMDE_ARCH_AARCH64) && HEDLEY_GCC_VERSION_CHECK(7,0,0) && !defined(__cplusplus)) || \
((defined(SIMDE_ARCH_X86) || defined(SIMDE_ARCH_AMD64)) && SIMDE_DETECT_CLANG_VERSION_CHECK(15,0,0)) || \
((defined(SIMDE_ARCH_X86_SSE2) || defined(SIMDE_ARCH_AMD64)) && SIMDE_DETECT_CLANG_VERSION_CHECK(15,0,0)) || \
(!(defined(SIMDE_ARCH_X86) || defined(SIMDE_ARCH_AMD64)) && SIMDE_DETECT_CLANG_VERSION_CHECK(6,0,0))) || \
defined(SIMDE_ARCH_RISCV_ZVFH)
/* We haven't found a better way to detect this. It seems like defining
Expand Down

0 comments on commit 40f4d28

Please sign in to comment.