-
Notifications
You must be signed in to change notification settings - Fork 253
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
SIMDE is swapping the definition of SIMDE_MM_HINT_T0 and T2 #1186
Comments
Thank you for your report @galanhir ; can you send us a pull request with a fix? |
I will confirm that |
I hereby confirm that I have also noted that Intel documentation (https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_prefetch) states:
which seems to indicate at least a mismatch btw At the end of the day, that sounds like a great deal of confusion between supported compilers. Maybe, this calls for a delicate compiler filtering, with different definitions for I am not clear about the situation of A session of I have verified that the mapping on |
maybe, something like:
Might get tricky though, some of those defines are extensions, or otherwise not always defined by every compiler... ?
There are Intel produced pdf's out there that also give the currently used enums. I think there is some copy & paste going with the online guide... |
On one hand, the prefetch macros are originally defined
_MM_HINT_T0
(resp,T2
) by Intel as:On the other hand, SIMDE is defining
eventually identifying one for the other in case of
SIMDE_X86_SSE_ENABLE_NATIVE_ALIASES
:This is probably wrong, as it ends up swapping
_MM_HINT_T0
and_MM_HINT_T2
when built nativelly for Intel x86 targets.The text was updated successfully, but these errors were encountered: