Created attachment 963 [details]
A script that demonstrates compiler flags that begin to fail for the half_float test
This unit test fails with compiler support of any of the following features
which are part of the "-march=ivybridge" architecture settings.
`-target-feature +fsgsbase -target-feature +rdrnd -target-feature +f16c`
VERIFY_IS_EQUAL( std::numeric_limits<half>::signaling_NaN().x, half(std::numeric_limits<float>::signaling_NaN()).x );
The failure is documented for both Mac/clang and Linux/gcc builds.
Using the "-mtune=native -march=native" compiler flags on recently (i.e. ~5 years ago) released CPU's demonstrates this issue.
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1780.