cppalliance / decimal

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

wideint SIMD #613

Open mborland opened 6 months ago

mborland commented 6 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 4 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.