diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2020-10-29 17:02:58 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-11-21 10:26:25 +0100 |
commit | ab09b58e4bdfdbcec425e54ebeaf6e209a96318f (patch) | |
tree | 0b9c659eaf9edf23f0a0c90aa8cc829f97f97792 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 61b39ad9a7d26fe14a2f5f23e5e940e7f9664d41 (diff) |
x86/boot/compressed/64: Use TEST %reg,%reg instead of CMP $0,%reg
Use TEST %reg,%reg which sets the zero flag in the same way as CMP
$0,%reg, but the encoding uses one byte less.
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20201029160258.139216-1-ubizjak@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions