From 96d84180d90d1f26f5085127cae81ddf81af094c Mon Sep 17 00:00:00 2001 From: Theodore Dubois Date: Tue, 12 Jun 2018 16:33:57 -0700 Subject: [PATCH] Handle undefined flags for imul --- tools/undefined-flags.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/undefined-flags.c b/tools/undefined-flags.c index 48190841fd..5356e989ca 100644 --- a/tools/undefined-flags.c +++ b/tools/undefined-flags.c @@ -65,6 +65,7 @@ int undefined_flags_mask(int pid, struct cpu_state *cpu) { read(modrm); switch (REG(modrm)) { case 4: return S|Z|A|P; // mul + case 5: return S|Z|A|P; // imul } break; }