Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 31, 2025

Use the standard __ARM_ARCH macro, which is supported by GCC and Clang.

The branching logic for of __ARMEL__ has been removed so if the target
architecture supports v7+ instructions, a yield is emitted, otherwise a nop
is emitted. This covers both big and little endian scenarios.
(cherry picked from commit 03f6c8e)

Co-authored-by: Vincent Fazio vfazio@gmail.com
Signed-off-by: Vincent Fazio vfazio@gmail.com

…hongh-131784)

Use the standard `__ARM_ARCH` macro, which is supported by GCC and Clang.

The branching logic for of `__ARMEL__` has been removed so if the target
architecture supports v7+ instructions, a yield is emitted, otherwise a nop
is emitted. This covers both big and little endian scenarios.
(cherry picked from commit 03f6c8e)

Co-authored-by: Vincent Fazio <vfazio@gmail.com>
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
@colesbury colesbury merged commit 4913b6f into python:3.13 Mar 31, 2025
38 checks passed
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.

3 participants