mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-30 07:44:10 +08:00
Don't attempt to leverage the _cvtss_sh and _cvtsh_ss instructions when compiling with clang since it's unclear which versions of clang actually support these instruction.
This commit is contained in:
parent
c7c2054bb5
commit
80200a1828
@ -204,7 +204,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__F16C__)
|
#if defined(__F16C__) && !defined(EIGEN_COMP_CLANG)
|
||||||
// We can use the optimized fp16 to float and float to fp16 conversion routines
|
// We can use the optimized fp16 to float and float to fp16 conversion routines
|
||||||
#define EIGEN_HAS_FP16_C
|
#define EIGEN_HAS_FP16_C
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user