Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement Interlocked for small types.#92974

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jkotas merged 67 commits intodotnet:mainfromMichalPetryka:small-interlocked
Jan 25, 2024
Merged
Changes from1 commit
Commits
Show all changes
67 commits
Select commitHold shift + click to select a range
4344057
Implement Interlocked for small types.
MichalPetrykaOct 3, 2023
d282722
Fix xarch assert
MichalPetrykaOct 3, 2023
4079320
Update PalRedhawkInline.h
MichalPetrykaOct 3, 2023
dae9d66
Update PalRedhawkInline.h
MichalPetrykaOct 4, 2023
4b74dba
Update threads.c
MichalPetrykaOct 4, 2023
c6935de
Simplify NAOT handling
MichalPetrykaOct 4, 2023
095567c
Fix build
MichalPetrykaOct 4, 2023
35a812f
Update atomic.h
MichalPetrykaOct 4, 2023
f55fb45
Update atomic.h
MichalPetrykaOct 4, 2023
b1c6dde
Update atomic.h
MichalPetrykaOct 4, 2023
8e80946
Fix windows intrinsics
MichalPetrykaOct 5, 2023
a25a4a3
Update comutilnative.cpp
MichalPetrykaOct 5, 2023
da399ca
Fix Windows builds
MichalPetrykaOct 5, 2023
79c07ff
Update icall-def.h
MichalPetrykaOct 6, 2023
7da080b
Fix icall-def.h
akoeplingerOct 6, 2023
37fdee1
Improve tests
MichalPetrykaOct 6, 2023
358c11b
Update InterlockedTests.cs
MichalPetrykaOct 6, 2023
b0f85fa
Remove small type normalization
MichalPetrykaOct 6, 2023
f406c21
Try to fix the intrinsics
MichalPetrykaOct 6, 2023
59dbd5e
Fix ARM64 build
MichalPetrykaOct 6, 2023
42f1c80
Try to fix XArch 66 prefix and ARM64
MichalPetrykaOct 7, 2023
70174d7
Fix typo
MichalPetrykaOct 7, 2023
f108f6d
Fix assert
MichalPetrykaOct 7, 2023
6d09d88
Code cleanup
MichalPetrykaOct 8, 2023
d3fbf3e
Update importercalls.cpp
MichalPetrykaOct 8, 2023
92b7497
Update importercalls.cpp
MichalPetrykaOct 8, 2023
0394523
Extend small types properly
MichalPetrykaOct 8, 2023
1ee1c3e
Add RISC-V asserts
MichalPetrykaOct 9, 2023
064b7b3
Merge remote-tracking branch 'origin/main' into small-interlocked
lambdageekOct 10, 2023
25a5194
c11 atomics interlocked ops for small types
lambdageekOct 10, 2023
22407e4
Simplify Windows atomics
MichalPetrykaOct 10, 2023
50893e2
Merge upstream
MichalPetrykaOct 11, 2023
0cc7d92
Restore NativeAOT fallbacks for other platforms
MichalPetrykaOct 11, 2023
868efdf
Merge upstream
MichalPetrykaOct 17, 2023
d8efc0d
Add more tests
MichalPetrykaOct 21, 2023
6c101a4
Format
MichalPetrykaOct 21, 2023
25e3ab4
Update Interlocked.cs
MichalPetrykaOct 21, 2023
3a3e60e
Merge upstream
MichalPetrykaOct 27, 2023
4ca06ff
Fix tests and comment
MichalPetrykaOct 27, 2023
1879669
Merge branch 'main' into small-interlocked
MichalPetrykaNov 3, 2023
5536554
Merge branch 'dotnet:main' into small-interlocked
MichalPetrykaDec 1, 2023
ed90e8b
Add emitOutputCV handling
MichalPetrykaDec 1, 2023
1c2a4cc
Merge
MichalPetrykaDec 10, 2023
fca6d47
Fix extension
MichalPetrykaDec 10, 2023
ca73b06
Use a slightly better fix
MichalPetrykaDec 10, 2023
d067d7f
More complete fix
MichalPetrykaDec 10, 2023
bbbadc0
Fix the fix
MichalPetrykaDec 10, 2023
1b8767b
Fix more places
MichalPetrykaDec 10, 2023
d357407
CR feedback
jkotasJan 10, 2024
724f66c
Merge branch 'main' into small-interlocked
MichalPetrykaJan 10, 2024
499ea14
Merge remote-tracking branch 'upstream/main' into small-interlocked
MichalPetrykaJan 20, 2024
55f7cc1
Fix corelib
MichalPetrykaJan 20, 2024
00cdcb7
Fix tests
MichalPetrykaJan 20, 2024
382d8ea
Add using
MichalPetrykaJan 20, 2024
1099743
Match NativeAOT #ifs
MichalPetrykaJan 20, 2024
82f6fbe
Update Interlocked.cs
MichalPetrykaJan 20, 2024
1a7c4a2
Fix test projects
MichalPetrykaJan 21, 2024
7f97233
Fix tests, try linking with libatomic
MichalPetrykaJan 21, 2024
ce412f9
Improve build test
MichalPetrykaJan 21, 2024
ec2c380
Fix tests
MichalPetrykaJan 23, 2024
7b8869a
Merge branch 'main' into small-interlocked
MichalPetrykaJan 23, 2024
2acc845
Merge remote-tracking branch 'upstream/main' into small-interlocked
MichalPetrykaJan 24, 2024
ea35c1e
Fix tests again
MichalPetrykaJan 24, 2024
35f840d
Remove libatomic
MichalPetrykaJan 24, 2024
de8f617
Merge remote-tracking branch 'upstream/main' into small-interlocked
MichalPetrykaJan 24, 2024
7af81b3
Cleanup, fix helper extension
MichalPetrykaJan 24, 2024
72e5bf8
Fix test corelib
MichalPetrykaJan 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Update atomic.h
  • Loading branch information
@MichalPetryka
MichalPetryka authoredOct 4, 2023
commitf55fb45d1f531dca444c7c3df514b5425926e45d
4 changes: 2 additions & 2 deletionssrc/mono/mono/utils/atomic.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -101,13 +101,13 @@ mono_atomic_dec_i64 (volatile gint64 *dest)
static inline guint8
mono_atomic_xchg_u8 (volatile guint8 *dest, guint8 exch)
{
returnInterlockedExchange ((BYTE volatile *)dest, (LONG)exch);
returnInterlockedExchange8 ((BYTE volatile *)dest, (LONG)exch);
}

static inline gint16
mono_atomic_xchg_i16 (volatile gint16 *dest, gint16 exch)
{
returnInterlockedExchange ((SHORT volatile *)dest, (LONG)exch);
returnInterlockedExchange116 ((SHORT volatile *)dest, (LONG)exch);
}

static inline gint32
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp