Re: [Xen-devel] [PATCH 2/2] x86/E820: improve insn selection

2017-12-12 Thread Jan Beulich
>>> On 12.12.17 at 12:21, wrote: > On 12/12/17 11:10, Jan Beulich wrote: >> ..., largely to shrink code size a little: >> - use TEST instead of CMP with zero immediate >> - use MOVZWL instead of AND with 0x immediate >> - compute final highmem_bk value in registers, accessing memory just >>

Re: [Xen-devel] [PATCH 2/2] x86/E820: improve insn selection

2017-12-12 Thread Andrew Cooper
On 12/12/17 11:10, Jan Beulich wrote: > ..., largely to shrink code size a little: > - use TEST instead of CMP with zero immediate > - use MOVZWL instead of AND with 0x immediate > - compute final highmem_bk value in registers, accessing memory just > once > > Signed-off-by: Jan Beulich Rev

[Xen-devel] [PATCH 2/2] x86/E820: improve insn selection

2017-12-12 Thread Jan Beulich
..., largely to shrink code size a little: - use TEST instead of CMP with zero immediate - use MOVZWL instead of AND with 0x immediate - compute final highmem_bk value in registers, accessing memory just once Signed-off-by: Jan Beulich --- a/xen/arch/x86/boot/mem.S +++ b/xen/arch/x86/boot/