Re: [Xen-devel] [PATCH] x86emul: fold almost identical code

2016-02-15 Thread Andrew Cooper
On 15/02/16 12:00, Jan Beulich wrote: > AAM/AAD as well as DAA/DAS emulation code is respectively almost > identical. Fold each pair, following what's already the case for > AAA/AAS. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper ___ Xen-de

[Xen-devel] [PATCH] x86emul: fold almost identical code

2016-02-15 Thread Jan Beulich
AAM/AAD as well as DAA/DAS emulation code is respectively almost identical. Fold each pair, following what's already the case for AAA/AAS. Signed-off-by: Jan Beulich --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@ -2053,46 +2053,25 @@ x86_emulate(