Skip to content

[ARM64_DYNAREC] Fixed xmm value lost in a loop - #4627

Merged
ptitSeb merged 1 commit into
ptitSeb:mainfrom
ksco:fix-arm-2
Oct 29, 2026
Merged

ptitSeb merged 1 commit into
ptitSeb:mainfrom
ksco:fix-arm-2

Conversation

@ksco

@ksco ksco commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator
pcmpestrm xmm0, xmm14, 0x2

In this opcode, sse_get_reg_empty() marked xmm0 old value as dead even when the same opcode had already read it, so loop merge points skipped storing it. And in the second iteration, the C helper of this opcode will have a stale value from memory.

```
pcmpestrm xmm0, xmm14, 0x2
```
In this opcode, `sse_get_reg_empty()` marked xmm0 old value as dead even when the same opcode had already read it, so loop merge points skipped storing it. And in the second iteration, the C helper of this opcode will have a stale value from memory.
@ptitSeb
ptitSeb merged commit 4df6988 into ptitSeb:main Oct 29, 2026
29 checks passed
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