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

2020-04-09 Thread Masami Hiramatsu
On Thu, 9 Apr 2020 16:32:12 +0200 Peter Zijlstra wrote: > On Thu, Apr 09, 2020 at 01:09:11AM +0900, Masami Hiramatsu wrote: > > 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 Hi

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

2020-04-09 Thread Peter Zijlstra
On Thu, Apr 09, 2020 at 04:32:12PM +0200, Peter Zijlstra wrote: > On Thu, Apr 09, 2020 at 01:09:11AM +0900, Masami Hiramatsu wrote: > > 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: Mas

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

2020-04-09 Thread Peter Zijlstra
On Thu, Apr 09, 2020 at 01:09:11AM +0900, Masami Hiramatsu wrote: > 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 > --- Sadly, it turns out I need "FWAIT" too, which I tried