Re: [PATCH v3] x86: insn: Add insn_is_fpu()

From: Masami Hiramatsu
Date: Wed Apr 15 2020 - 04:23:50 EST


On Fri, 10 Apr 2020 10:22:30 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> @@ -318,10 +331,14 @@ function convert_operands(count,opnd, i,j,imm,mod)
> if (match(opcode, rex_expr))
> flags = add_flags(flags, "INAT_MAKE_PREFIX(INAT_PFX_REX)")
>
> - # check coprocessor escape : TODO
> - if (match(opcode, fpu_expr))
> + # x87 escape opcode needs MODRM
> + if (match(ext, x87_expr))

Oops, it must be match(opcode, x87_expr). I'll fix it.

Thanks,

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>