diff options
author | Vincent Fazio <vfazio@gmail.com> | 2025-03-31 18:29:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-31 18:29:12 (GMT) |
commit | 03f6c8e239723637811fd8d278661f5292351197 (patch) | |
tree | c644b28c03c3ef297608a1246695dbab2f78a690 /Python/bytecodes.c | |
parent | 0cd4befb02df07c0b320cd6246227c13e57b2efb (diff) | |
download | cpython-03f6c8e239723637811fd8d278661f5292351197.zip cpython-03f6c8e239723637811fd8d278661f5292351197.tar.gz cpython-03f6c8e239723637811fd8d278661f5292351197.tar.bz2 |
gh-131675: Fix `mi_atomic_yield` in mimalloc on 32-bit ARM (gh-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.
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Diffstat (limited to 'Python/bytecodes.c')
0 files changed, 0 insertions, 0 deletions