diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-04-20 12:10:27 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-04-20 12:10:27 -0700 |
commit | 80200a182862bf7c19b51645ab8e7b9e15b65a90 (patch) | |
tree | 5b91cb3a7c9c07d75651461a98b1f5c59f0e1686 /Eigen/Core | |
parent | c7c2054bb519ad01039560254f9dda8698cb0cd9 (diff) |
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.
Diffstat (limited to 'Eigen/Core')
-rw-r--r-- | Eigen/Core | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/Core b/Eigen/Core index ac58f10c3..50040135f 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -204,7 +204,7 @@ #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 #define EIGEN_HAS_FP16_C #endif |