vlib: add x.atomics (implement native_x86-64_atomics in V and assembly, without depending on an external C library)#26529
Merged
Conversation
1715c9b to
2dd7acf
Compare
Contributor
Author
|
I fixed the code, there was a problem with the "al" clobber in compilation with tcc, I removed it as it was unnecessary. And msvc, judging by the jobs, doesn't support inline assembly |
041b7a2 to
64dd89b
Compare
spytheman
reviewed
Feb 9, 2026
spytheman
reviewed
Feb 9, 2026
spytheman
reviewed
Feb 9, 2026
spytheman
reviewed
Feb 9, 2026
spytheman
reviewed
Feb 9, 2026
spytheman
reviewed
Feb 9, 2026
spytheman
reviewed
Feb 9, 2026
cb82b75 to
c213766
Compare
spytheman
reviewed
Feb 9, 2026
spytheman
reviewed
Feb 9, 2026
Contributor
|
(rebased over master to get ahead of the other changes that can break the CI indirectly) |
Contributor
|
@RbPyer Sorry for the late review. Thank you, excellent work. |
spytheman
approved these changes
Feb 12, 2026
…e; use `#flag -Wl,--undefined=panicUnaligned` to fix -prod builds that use -flto with gcc and clang
3c61810 to
7193b06
Compare
Contributor
|
@RbPyer have you looked at arm64 support yet? |
Contributor
Author
At the moment, I'm approaching the point of finalizing a stable API for x86-64, after which I will add support for arm64 |
cestef
pushed a commit
to cestef/v
that referenced
this pull request
Mar 9, 2026
…ly, without depending on an external C library (impl vlang#26474) (vlang#26529)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#26474