lkml.org 
[lkml]   [2020]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/entry/64: Use TEST %reg,%reg instead of CMP $0,%reg
On Thu, Oct 29, 2020 at 7:29 AM Uros Bizjak <ubizjak@gmail.com> wrote:
>
> Use TEST %reg,%reg which sets the zero flag in the same way
> as CMP $0,%reg, but the encoding uses one byte less.

This will make a Linux distro fit on an embedded device that
previously had four bytes too little flash :)

Reviewed-by: Andy Lutomirski <luto@kernel.org>

\
 
 \ /
  Last update: 2020-10-29 15:42    [W:0.031 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site