Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Thumb instruction tracing for Arm32 #254

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

arichardson
Copy link
Member

No description provided.

@arichardson arichardson force-pushed the arm-tracing-thumb branch 2 times, most recently from c14bb00 to 3e2424e Compare June 20, 2024 19:45
@@ -14033,11 +14033,18 @@ void aarch64_sve_change_el(CPUARMState *env, int old_el,
#endif

#ifdef CONFIG_TCG_LOG_INSTR
void HELPER(arm_log_instr)(CPUARMState *env, target_ulong pc, uint32_t opcode)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the switch from target_ulong to uint64_t? Is it to avoid having to call tcg_temp_free? I guess there isn't a tcg_constant_tl you could use instead of tcg_const_tl?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that qemu-sysmte-aarch64 and qemu-system-arm both need to call this and for the former tl is 64-bit and the latter makes it 32. So the simplest solution was to just use 64 unconditionally.

@arichardson arichardson merged commit 4e7686c into dev Jul 24, 2024
51 checks passed
@arichardson arichardson deleted the arm-tracing-thumb branch July 24, 2024 20:29
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