a64_emit_x64_memory: Correct bug in GenMemory128Accessors, misaligned stack

This commit is contained in:
Merry 2022-11-19 20:07:10 +00:00
parent e23d61d124
commit f2781c58b7

View file

@ -87,7 +87,7 @@ void A64EmitX64::GenMemory128Accessors() {
code.movaps(xword[code.ABI_PARAM3], xmm1);
code.movaps(xword[code.ABI_PARAM4], xmm2);
Devirtualize<&A64::UserCallbacks::MemoryWriteExclusive128>(conf.callbacks).EmitCall(code);
code.add(rsp, 8 + 16 + ABI_SHADOW_SPACE);
code.add(rsp, 8 + 32 + ABI_SHADOW_SPACE);
#else
code.sub(rsp, 8);
if (code.HasHostFeature(HostFeature::SSE41)) {