Re: [Xen-devel] [PATCH 4/6] x86emul: reduce FPU handling code size

2016-12-07 Thread Andrew Cooper
On 07/12/16 15:16, Jan Beulich wrote: On 07.12.16 at 16:06, wrote: >> On 06/12/16 14:13, Jan Beulich wrote: >>> @@ -3670,6 +3652,7 @@ x86_emulate( >>> >>> case 0xd8: /* FPU 0xd8 */ >>> host_and_vcpu_must_have(fpu); >>> +get_fpu(X86EMUL_FPU_fpu, &fic); >>> swit

Re: [Xen-devel] [PATCH 4/6] x86emul: reduce FPU handling code size

2016-12-07 Thread Jan Beulich
>>> On 07.12.16 at 16:06, wrote: > On 06/12/16 14:13, Jan Beulich wrote: >> @@ -3670,6 +3652,7 @@ x86_emulate( >> >> case 0xd8: /* FPU 0xd8 */ >> host_and_vcpu_must_have(fpu); >> +get_fpu(X86EMUL_FPU_fpu, &fic); >> switch ( modrm ) >> { >> case 0x

Re: [Xen-devel] [PATCH 4/6] x86emul: reduce FPU handling code size

2016-12-07 Thread Andrew Cooper
On 06/12/16 14:13, Jan Beulich wrote: > @@ -3670,6 +3652,7 @@ x86_emulate( > > case 0xd8: /* FPU 0xd8 */ > host_and_vcpu_must_have(fpu); > +get_fpu(X86EMUL_FPU_fpu, &fic); > switch ( modrm ) > { > case 0xc0 ... 0xc7: /* fadd %stN,%st */ > @@ -3715,