lkml.org 
[lkml]   [2022]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] x86: Change mov $0, %reg with xor %reg, %reg
From
On 8/5/22 4:42 PM, Joerg Roedel wrote:
> On Fri, Aug 05, 2022 at 09:26:02AM +0000, David Laight wrote:
>> Use "xor %rax,%rax" instead of "xor %eax,%eax" to save
>> the 'reg' prefix.
>
> Also, some places explicitly use the mov variant to zero a register
> without touching rflags. Please be careful to not change those.

thank you for reminder, i will check again to make myself more sure
the patch doesn't break this %rflags dependency situation

Regards,
--
Kanna Scarlet

\
 
 \ /
  Last update: 2022-08-08 18:46    [W:0.059 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site