cppalliance / decimal

A C++14 implementation of IEEE 754 decimal floating point numbers
https://cppalliance.org/decimal/decimal.html
Boost Software License 1.0
21 stars 2 forks source link

wideint SIMD #613

Open mborland opened 4 months ago

mborland commented 4 months ago

There are operations like: https://github.com/cppalliance/decimal/blob/develop/include/boost/decimal/detail/wide-integer/uintwide_t.hpp#L888 which are ripe for packing into AVX2 / ARM NEON instructions instead of repeated calculations.

mborland commented 2 months ago

I think ADX instructions may be the right move for this on x64. They are designed for multi-precision like applications with chained add or mul.