lkml.org 
[lkml]   [2016]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Xen-devel] [PATCH v2] xen/x86: Zero out .bss for PV guests
From
Date
On 02/24/2016 12:26 PM, Andrew Cooper wrote:
> On 24/02/16 15:19, Boris Ostrovsky wrote:
>> + /* Clear .bss */
>> + xor REG(ax),REG(ax)
> If we are nitpicking,
>
> This should be xor %eax, %eax even in 64bit. Functionally identical,
> and shorter to encode.

Right, Brian Gerst pointed this out too in another message.

-boris

\
 
 \ /
  Last update: 2016-02-24 19:21    [W:0.486 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site