Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for denormal numbers on Intel: what about other cpus? #4

Open
mmesiti opened this issue Jul 24, 2021 · 0 comments
Open

Fix for denormal numbers on Intel: what about other cpus? #4

mmesiti opened this issue Jul 24, 2021 · 0 comments

Comments

@mmesiti
Copy link
Contributor

mmesiti commented Jul 24, 2021

This piece of code

#if defined __SSE3__ && defined __GNUC__
  _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
  _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
#endif

fixes the problem of denormal numbers on intel cpus
(even when using icc, since icc actually defines __GNUC__)

What about cpus of other vendors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant