diff options
author | 2019-05-20 17:19:20 -0700 | |
---|---|---|
committer | 2019-05-20 17:19:20 -0700 | |
commit | 3eb5ad0ed0519c379314e07c3fec770f07804ef8 (patch) | |
tree | 5c339064d34ea7ae70f18f222f3c16dc5a53bbf2 /Eigen/src/Core/util | |
parent | e92486b8c34272f6eae563665fc89b7f0abb902f (diff) |
Enable support for F16C with Clang. The required intrinsics were added here: https://reviews.llvm.org/D16177
and are part of LLVM 3.8.0.
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r-- | Eigen/src/Core/util/ConfigureVectorization.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/ConfigureVectorization.h b/Eigen/src/Core/util/ConfigureVectorization.h index 2f6136ebc..1514975d1 100644 --- a/Eigen/src/Core/util/ConfigureVectorization.h +++ b/Eigen/src/Core/util/ConfigureVectorization.h @@ -372,7 +372,7 @@ #endif #endif -#if defined(__F16C__) && !defined(EIGEN_COMP_CLANG) +#if defined(__F16C__) && (!defined(EIGEN_COMP_CLANG) || EIGEN_COMP_CLANG>=380) // We can use the optimized fp16 to float and float to fp16 conversion routines #define EIGEN_HAS_FP16_C #endif |