Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
[3.13] gh-125444: Fix illegal instruction for older Arm architectures (GH-125574)#125595
Merged
colesbury merged 1 commit intopython:3.13fromOct 16, 2024
Merged
Conversation
…ythonGH-125574)On Arm v5 it is not possible to get the thread ID via c13 registerhence the illegal instruction. The c13 register started to providethread ID since Arm v6K architecture variant. Other variants ofArm v6 (T2, Z and base) don’t provide the thread ID via c13.For the sake of simplicity we group v5 and v6 together andconsider that instructions for Arm v7 only.(cherry picked from commitfeda9aa)Co-authored-by: Diego Russo <diego.russo@arm.com>
This was referencedOct 16, 2024
colesbury approved these changesOct 16, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading.Please reload this page.
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 commitfeda9aa)
Co-authored-by: Diego Russodiego.russo@arm.com