Skip to content

Commit

Permalink
[ARM64_DYNAREC] Small fixes to sse info retreiving on signal
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Jan 2, 2025
1 parent 967c73e commit da6b799
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/dynarec/arm64/dynarec_arm64_arch.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ void adjust_arch(dynablock_t* db, x64emu_t* emu, ucontext_t* p, uintptr_t x64pc)
}
}
if(arch->sse) {
//printf_log(LOG_INFO, " sse ");
arch_sse_t* sse = (arch_sse_t*)((uintptr_t)arch + sz);
//printf_log(LOG_INFO, " sse[%x (fpsimd=%p)] ", sse->sse, fpsimd);
sz += sizeof(arch_sse_t);
for(int i=0; i<16; ++i)
if(fpsimd && (sse->sse>>i)&1) {
Expand All @@ -226,8 +226,7 @@ void adjust_arch(dynablock_t* db, x64emu_t* emu, ucontext_t* p, uintptr_t x64pc)
} else {
idx = XMM0 + i;
}

emu->xmm[i].u128 = fpsimd->vregs[i];
emu->xmm[i].u128 = fpsimd->vregs[idx];
}
}
//printf_log(LOG_INFO, "\n");
Expand Down

0 comments on commit da6b799

Please sign in to comment.