Skip to content

Commit

Permalink
[ARM64_DYNAREC] Fixed a potential issue with AVX.0F 50 opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Mar 8, 2025
1 parent c2f73e6 commit e8a7bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynarec/arm64/dynarec_arm64_avx_0f.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ uintptr_t dynarec64_AVX_0F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int
// EX is an xmm reg
q0 = fpu_get_scratch(dyn, ninst);
for(int l=0; l<1+vex.l; ++l) {
if(!l) { GETEX(v0, 0, 0); } else { GETEY(v0); }
if(!l) { GETEX_Y(v0, 0, 0); } else { GETEY(v0); }
SQXTN_16(q0, v0); // reduces the 4 32bits to 4 16bits
VMOVQDto(x1, q0, 0);
LSRx(x1, x1, 15);
Expand Down

0 comments on commit e8a7bef

Please sign in to comment.