p12tic / libsimdpp

Portable header-only C++ low level SIMD library
Boost Software License 1.0
1.24k stars 129 forks source link

Support for float16 types. #94

Open p12tic opened 7 years ago

p12tic commented 7 years ago

New architectures support not only conversions to/from IEEE754 16-bit float types, but also operations on them. The availability of the API could be indicated by SIMDPP_HAS_FLOAT16_SIMD, SIMDPP_HAS_FLOAT32_TO_FLOAT16_CONVERSION and SIMDPP_HAS_FLOAT16_TO_FLOAT32_CONVERSION macros.