From 2505dee5e8d6eebf34fbce382b0a88359acfb052 Mon Sep 17 00:00:00 2001 From: SarahW Date: Sat, 24 Mar 2018 16:59:00 +0000 Subject: [PATCH] Fix minor bug in Pentium prefix timing. --- src/codegen_timing_pentium.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen_timing_pentium.c b/src/codegen_timing_pentium.c index a142024..4194e3a 100644 --- a/src/codegen_timing_pentium.c +++ b/src/codegen_timing_pentium.c @@ -962,7 +962,7 @@ void codegen_timing_pentium_prefix(uint8_t prefix, uint32_t fetchdat) last_prefix = prefix; return; } - if (prefix == 0x0f && (opcode & 0xf0) == 0x80) + if (prefix == 0x0f && (fetchdat & 0xf0) == 0x80) { /*On Pentium 0fh prefix is 'free' when used on conditional jumps*/ last_prefix = prefix;