Skip to content

Add prefetch support for Windows on X64 and AArch64#56

Draft
raneashay wants to merge 1 commit intomicrosoft:mainfrom
raneashay:ashay/fix-windows-prefetch
Draft

Add prefetch support for Windows on X64 and AArch64#56
raneashay wants to merge 1 commit intomicrosoft:mainfrom
raneashay:ashay/fix-windows-prefetch

Conversation

@raneashay
Copy link

This patch largely mimics the prefetch support for Linux on X64 and
AArch64 to apply for Windows. One key change, however, is that instead
of using inline assembly, which isn't supported by MSVC, this patch uses
compiler builtins (__prefetch2() on AArch64 and _mm_prefetch() on
X64).

This patch largely mimics the prefetch support for Linux on X64 and
AArch64 to apply for Windows.  One key change, however, is that instead
of using inline assembly, which isn't supported by MSVC, this patch uses
compiler builtins (`__prefetch2()` on AArch64 and `_mm_prefetch()` on
X64).
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

Successfully merging this pull request may close these issues.

1 participant