Skip to content

x86 sse2: add powerpc*-darwin support for simde_mm_pause#1319

Merged
mr-c merged 1 commit intosimd-everywhere:masterfrom
barracuda156:darwin
Sep 9, 2025
Merged

x86 sse2: add powerpc*-darwin support for simde_mm_pause#1319
mr-c merged 1 commit intosimd-everywhere:masterfrom
barracuda156:darwin

Conversation

@barracuda156
Copy link
Contributor

See: #1313

Copy link
Collaborator

@mr-c mr-c left a comment

Choose a reason for hiding this comment

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

Thank you!

@mr-c mr-c changed the title sse2.h: fix simde_mm_pause for powerpc*-darwin x86 sse2: add powerpc*-darwin support for simde_mm_pause Sep 9, 2025
@mr-c mr-c enabled auto-merge (rebase) September 9, 2025 12:00
Comment on lines +5248 to +5252
#if defined(__APPLE__)
__asm__ __volatile__ ("or r27,r27,r27" ::: "memory");
#else
__asm__ __volatile__ ("or 27,27,27" ::: "memory");
#endif
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good to know! If you are looking for other software that will also need patching this way, look at https://codesearch.debian.net/search?q=%22or+27%2C27%2C27%22&literal=1&perpkg=1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you. Yeah, it was fixed here and there like microsoft/mimalloc@cd91590 and seqan/seqan3@c62f2cb but I am sure many more instances exist.

@mr-c mr-c merged commit 94c6d55 into simd-everywhere:master Sep 9, 2025
126 checks passed
@barracuda156 barracuda156 deleted the darwin branch September 9, 2025 15:52
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