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

2020-04-15 Thread Masami Hiramatsu
On Fri, 10 Apr 2020 10:22:30 +0900 Masami Hiramatsu 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)") > > - # chec

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

2020-04-09 Thread Masami Hiramatsu
Add insn_is_fpu(insn) which tells that the insn is whether touch the FPU/SSE/MMX register or the instruction of FP coprocessor. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Add {FPU} to FWAIT/WAIT and FEMMS. - Split INAT_FPU and INAT_MODRM. - Remove a blank line typo. --- arch/x86/in