mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-04-09 14:53:33 +02:00
block_of_code: Remove vzeroupper
This commit is contained in:
@@ -105,12 +105,6 @@ void BlockOfCode::GenRunCode() {
|
||||
align();
|
||||
run_code = getCurr<RunCodeFuncType>();
|
||||
|
||||
// As we currently do not emit AVX instructions, AVX-SSE transition may occur.
|
||||
// We avoid the transition penalty by calling vzeroupper.
|
||||
if (DoesCpuSupport(Xbyak::util::Cpu::tAVX)) {
|
||||
vzeroupper();
|
||||
}
|
||||
|
||||
// This serves two purposes:
|
||||
// 1. It saves all the registers we as a callee need to save.
|
||||
// 2. It aligns the stack so that the code the JIT emits can assume
|
||||
|
||||
Reference in New Issue
Block a user