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

_InterlockedCompareExchange128 not implemented on Windows #34599

Closed
llvmbot opened this issue Nov 8, 2017 · 3 comments
Closed

_InterlockedCompareExchange128 not implemented on Windows #34599

llvmbot opened this issue Nov 8, 2017 · 3 comments
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 8, 2017

Bugzilla Link 35251
Resolution FIXED
Resolved on Dec 14, 2017 11:33
Version trunk
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @RKSimon

Extended Description

_InterlockedCompareExchange128 (an MSVC intrinsic) is declared on line 280 of intrin.h, but there is no implementation (that I could find), and using:
#pragma intrinsic(_InterlockedCompareExchange128)

Produces:
error: '_InterlockedCompareExchange128' is not a recognized builtin; consider including <intrin.h> to access non-builtin intrinsics [-Werror,-Wignored-pragma-intrinsic]
#pragma intrinsic(_InterlockedCompareExchange128)

@llvmbot
Copy link
Collaborator Author

llvmbot commented Nov 8, 2017

I should also mention that when using the function, I get the following linker error:
f:\path\to\lld-link.exe: warning: test.o: undefined symbol: _InterlockedCompareExchange128

@llvmbot
Copy link
Collaborator Author

llvmbot commented Nov 29, 2017

I'm working on implementing this.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 14, 2017

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category
Projects
None yet
Development

No branches or pull requests

1 participant