Re: [Xen-devel] [PATCH 2/4] x86emul: centralize put_fpu() invocations

2017-03-13 Thread Jan Beulich
>>> On 13.03.17 at 12:55, wrote: > On 13/03/17 11:03, Jan Beulich wrote: >> @@ -1006,22 +1007,31 @@ do { >> rc = _get_fpu(_type, _fic, ctxt, ops); \ >> if ( rc ) goto done;\ >> } while (0) >>

Re: [Xen-devel] [PATCH 2/4] x86emul: centralize put_fpu() invocations

2017-03-13 Thread Andrew Cooper
On 13/03/17 11:03, Jan Beulich wrote: > ..., splitting parts of it into check_*() macros. This is in > preparation of making ->put_fpu() do further adjustments to register > state. (Some of the check_xmm() invocations could be avoided, as in > some of the cases no insns handled there can actually

[Xen-devel] [PATCH 2/4] x86emul: centralize put_fpu() invocations

2017-03-13 Thread Jan Beulich
..., splitting parts of it into check_*() macros. This is in preparation of making ->put_fpu() do further adjustments to register state. (Some of the check_xmm() invocations could be avoided, as in some of the cases no insns handled there can actually raise #XM, but I think we're better off