-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[Win/X86] Make _m_prefetch[w] builtins to avoid winnt.h conflicts #115099
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
Changes from 3 commits
e5f485a
80e6138
2c07705
452f72b
371d448
57f92b7
445ad48
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -146,8 +146,13 @@ let Attributes = [Const, NoThrow, RequiredVectorWidth<256>], Features = "avx" in | |
| // current formulation is based on what was easiest to recognize from the | ||
| // pre-TableGen version. | ||
|
|
||
| let Features = "mmx", Attributes = [NoThrow, Const] in { | ||
| def _mm_prefetch : X86NoPrefixBuiltin<"void(char const *, int)">; | ||
| let Features = "mmx", Header = "immintrin.h", Attributes = [NoThrow, Const] in { | ||
| def _mm_prefetch : X86LibBuiltin<"void(char const *, int)">; | ||
| } | ||
|
|
||
| let Features = "mmx", Header = "intrin.h", Attributes = [NoThrow, Const] in { | ||
| def _m_prefetch : X86LibBuiltin<"void(void *)">; | ||
| def _m_prefetchw : X86LibBuiltin<"void(void volatile const *)">; | ||
|
||
| } | ||
|
|
||
| let Features = "sse", Attributes = [NoThrow] in { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.