We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Windows Desktop ARM and ARM64 failed to build for _mm_mfence() not aviliable.
bx/include/bx/inline/cpu.inl
Line 97 in be10327
_mm_mfence();
Line 11 in be10327
MemoryBarrier()
We should let Windows build call MemoryBarrier() instead assume we have x86.
The text was updated successfully, but these errors were encountered:
Try:
inline void memoryBarrier() { #if BX_COMPILER_MSVC # if BX_CPU_ARM MemoryBarrier(); # else _mm_mfence(); # endif // BX_CPU_ARM #else __sync_synchronize(); #endif // BX_COMPILER }
Sorry, something went wrong.
I think we should use (!BX_CPU_X86) for this scenario.
(!BX_CPU_X86)
Successfully merging a pull request may close this issue.
Windows Desktop ARM and ARM64 failed to build for _mm_mfence() not aviliable.
bx/include/bx/inline/cpu.inl
Line 97 in be10327
_mm_mfence();
which only work on x86 andbx/include/bx/inline/cpu.inl
Line 11 in be10327
MemoryBarrier()
for WinRT.We should let Windows build call MemoryBarrier() instead assume we have x86.
The text was updated successfully, but these errors were encountered: