mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-26 21:47:06 +02:00
fix movaps being evil
This commit is contained in:
parent
21bb1b8210
commit
f1fdb389a4
1 changed files with 1 additions and 5 deletions
|
|
@ -365,11 +365,7 @@ void A64EmitX64::EmitA64GetQ(A64EmitContext& ctx, IR::Inst* inst) {
|
||||||
const auto addr = xword[code.ABI_JIT_PTR + offsetof(A64JitState, vec) + sizeof(u64) * 2 * static_cast<size_t>(vec)];
|
const auto addr = xword[code.ABI_JIT_PTR + offsetof(A64JitState, vec) + sizeof(u64) * 2 * static_cast<size_t>(vec)];
|
||||||
|
|
||||||
const Xbyak::Xmm result = ctx.reg_alloc.ScratchXmm(code);
|
const Xbyak::Xmm result = ctx.reg_alloc.ScratchXmm(code);
|
||||||
if (code.HasHostFeature(HostFeature::AVX)) {
|
code.movaps(result, addr);
|
||||||
code.vmovaps(result, addr);
|
|
||||||
} else {
|
|
||||||
code.movaps(result, addr);
|
|
||||||
}
|
|
||||||
ctx.reg_alloc.DefineValue(code, inst, result);
|
ctx.reg_alloc.DefineValue(code, inst, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue