When, by mistake, one overload is not selected, the code usually falls back to common via inheritance.
Tests are silently passing but the behavior is not what is intended.
One recent example is in #1266
Possible solutions:
- Have some mode where (with a macro or something similar) one can disable all common fallbacks (or print a compile time warning).
This enables power users to have a first diagnosis of their xsimd code without diving in assembly.
- HARD: Test for specific instructions in compile code.
When, by mistake, one overload is not selected, the code usually falls back to
commonvia inheritance.Tests are silently passing but the behavior is not what is intended.
xsimd/include/xsimd/types/xsimd_common_arch.hpp
Line 27 in c3a8d37
One recent example is in #1266
Possible solutions:
This enables power users to have a first diagnosis of their xsimd code without diving in assembly.