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

Masami Hiramatsu mhiramat at kernel.org
Wed Apr 15 08:23:31 UTC 2020


On Fri, 10 Apr 2020 10:22:30 +0900
Masami Hiramatsu <mhiramat at kernel.org> 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 at kernel.org>


More information about the amd-gfx mailing list