From 2d909afb0e4ca40b8bef13143fcb575f51260b80 Mon Sep 17 00:00:00 2001 From: Igor Pissolati Date: Thu, 15 Jan 2026 17:00:15 -0300 Subject: [PATCH] Disable AVX --- src/analyzer/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/analyzer/main.cpp b/src/analyzer/main.cpp index 33cc45c1..59d63fde 100644 --- a/src/analyzer/main.cpp +++ b/src/analyzer/main.cpp @@ -510,10 +510,11 @@ namespace if (leaf == 1) { - // NOTE: We hard-code these values to disable SSE4.x + // NOTE: We hard-code these values to disable SSE4.x and AVX + // See: https://github.com/momo5502/sogen/issues/560 emu.reg(x86_register::eax, 0x000906EA); emu.reg(x86_register::ebx, 0x00100800); - emu.reg(x86_register::ecx, 0xFFE2F38F); + emu.reg(x86_register::ecx, 0xEFE2F38F); emu.reg(x86_register::edx, 0xBFEBFBFF); return instruction_hook_continuation::skip_instruction;