Skip to content

Add test_atomic_c11 (C11 version of test_atomic_cxx). NFC#26930

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:test_atomic_c11
May 13, 2026
Merged

Add test_atomic_c11 (C11 version of test_atomic_cxx). NFC#26930
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:test_atomic_c11

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented May 12, 2026

No description provided.

@sbc100 sbc100 requested review from dschuff and juj May 12, 2026 22:22
@sbc100 sbc100 enabled auto-merge (squash) May 12, 2026 22:22
@sbc100 sbc100 force-pushed the test_atomic_c11 branch from b0a2272 to 76cc9e4 Compare May 12, 2026 23:12
printf("\n32 bits\n\n");
TEST(int, unsigned int, 0xFFFFFFFF, 0xF0F0F0F0, 0x0F0F0F0F);
printf("\n64 bits\n\n");
TEST(long long, unsigned long long, 0xFFFFFFFFFFFFFFFF,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include tests for 128-bit atomics here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats coming in a followup.

@sbc100 sbc100 merged commit c04ec60 into emscripten-core:main May 13, 2026
30 checks passed
@sbc100 sbc100 deleted the test_atomic_c11 branch May 13, 2026 07:46
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.

2 participants