[PR #202] tests: fix jcc when gas using same register for %0 and %1 #233

Open
opened 2026-01-31 21:30:22 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/qemu/qemu/pull/202

State: closed
Merged: No


The JCC test happening is not as expected to be:
For example v1 is in eax, and v2 is in edx.
But res is also in eax.
And it is being overwritten just before comparison.
Or for setCC the result is set to lower byte but ew bit register is being garbaged with v1 value.

**Original Pull Request:** https://github.com/qemu/qemu/pull/202 **State:** closed **Merged:** No --- The JCC test happening is not as expected to be: For example v1 is in eax, and v2 is in edx. But res is also in eax. And it is being overwritten just before comparison. Or for setCC the result is set to lower byte but ew bit register is being garbaged with v1 value.
claunia added the pull-request label 2026-01-31 21:30:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#233