Skip to content

Conversation

@c722996
Copy link

@c722996 c722996 commented Mar 11, 2025

For decoding ETM with thumb mode, we should also update the m_last_IS value from the instruction decoder.
Otherwise, the decoded ISA might be incorrect when handling the later context/atom element.
It might reflect an incorrect A32/T32 ISA.

@c722996
Copy link
Author

c722996 commented May 27, 2025

Friendly ping.

@mikel-armbb
Copy link
Contributor

This certainly requires further investigation.

The solution provided may not work in a speculative trace environment as the m_last_IS var is only used to update the context element at the time the single context packet is seen and before it is added to the element stack.

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.

2 participants