]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125444: Fix illegal instruction for older Arm architectures (#125574)
authorDiego Russo <diego.russo@arm.com>
Wed, 16 Oct 2024 13:13:07 +0000 (14:13 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Oct 2024 13:13:07 +0000 (09:13 -0400)
commitfeda9aa73ab95d17a291db22c416146f8e70edeb
tree3cda4862cb41df69a1d4b192cb6701aa55a178c3
parent51410d8bdcfe0fd215f94a098dc6cd0919c648a1
gh-125444: Fix illegal instruction for older Arm architectures (#125574)

On Arm v5 it is not possible to get the thread ID via c13 register
hence the illegal instruction. The c13 register started to provide
thread ID since Arm v6K architecture variant. Other variants of
Arm v6 (T2, Z and base) don’t provide the thread ID via c13.
For the sake of simplicity we group v5 and v6 together and
consider that instructions for Arm v7 only.
Include/internal/mimalloc/mimalloc/prim.h
Include/object.h
Misc/NEWS.d/next/Core_and_Builtins/2024-10-16-12-12-39.gh-issue-125444.9tG2X6.rst [new file with mode: 0644]