Re: [Xen-devel] [PATCH 5/8] x86emul: support TBM insns

2017-01-16 Thread Jan Beulich
>>> On 16.01.17 at 15:52, wrote: > On 16/01/17 11:36, Jan Beulich wrote: > On 13.01.17 at 19:48, wrote: >>> On 13/01/17 15:32, Jan Beulich wrote: --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@ -1355,6 +1355,7 @@ static bool vcpu_has

Re: [Xen-devel] [PATCH 5/8] x86emul: support TBM insns

2017-01-16 Thread Andrew Cooper
On 16/01/17 11:36, Jan Beulich wrote: On 13.01.17 at 19:48, wrote: >> On 13/01/17 15:32, Jan Beulich wrote: >>> --- a/xen/arch/x86/x86_emulate/x86_emulate.c >>> +++ b/xen/arch/x86/x86_emulate/x86_emulate.c >>> @@ -1355,6 +1355,7 @@ static bool vcpu_has( >>> #define vcpu_has_cr8_legacy() vcp

Re: [Xen-devel] [PATCH 5/8] x86emul: support TBM insns

2017-01-16 Thread Jan Beulich
>>> On 13.01.17 at 19:48, wrote: > On 13/01/17 15:32, Jan Beulich wrote: >> --- a/xen/arch/x86/x86_emulate/x86_emulate.c >> +++ b/xen/arch/x86/x86_emulate/x86_emulate.c >> @@ -1355,6 +1355,7 @@ static bool vcpu_has( >> #define vcpu_has_cr8_legacy() vcpu_has(0x8001, ECX, 4, ctxt, ops) >> #d

Re: [Xen-devel] [PATCH 5/8] x86emul: support TBM insns

2017-01-13 Thread Andrew Cooper
On 13/01/17 15:32, Jan Beulich wrote: > --- a/xen/arch/x86/x86_emulate/x86_emulate.c > +++ b/xen/arch/x86/x86_emulate/x86_emulate.c > @@ -1355,6 +1355,7 @@ static bool vcpu_has( > #define vcpu_has_cr8_legacy() vcpu_has(0x8001, ECX, 4, ctxt, ops) > #define vcpu_has_lzcnt() vcpu_has(0x8

[Xen-devel] [PATCH 5/8] x86emul: support TBM insns

2017-01-13 Thread Jan Beulich
Signed-off-by: Jan Beulich --- a/tools/tests/x86_emulator/test_x86_emulator.c +++ b/tools/tests/x86_emulator/test_x86_emulator.c @@ -1244,6 +1244,234 @@ int main(int argc, char **argv) printf("okay\n"); } +printf("%-40s", "Testing bextr $0x0a03,(%ecx),%ebx..."); +if ( stac