]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-125444: Fix illegal instruction for older Arm architectures (GH-125574...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 16 Oct 2024 14:48:40 +0000 (16:48 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Oct 2024 14:48:40 +0000 (14:48 +0000)
commit18b9079ddbc149d6b99c922630c246812e4d8ae7
tree0b62be5b5fc890c3353462d083abb72d5e4c1585
parente3ae56468254004544b0a02f069a78214c964c36
[3.13] gh-125444: Fix illegal instruction for older Arm architectures (GH-125574) (GH-125595)

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.
(cherry picked from commit feda9aa73ab95d17a291db22c416146f8e70edeb)

Co-authored-by: Diego Russo <diego.russo@arm.com>
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]