aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2020-10-29 17:02:58 +0100
committerBorislav Petkov <bp@suse.de>2020-11-21 10:26:25 +0100
commitab09b58e4bdfdbcec425e54ebeaf6e209a96318f (patch)
tree0b9c659eaf9edf23f0a0c90aa8cc829f97f97792 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent61b39ad9a7d26fe14a2f5f23e5e940e7f9664d41 (diff)
downloadlinux-ab09b58e4bdfdbcec425e54ebeaf6e209a96318f.tar.gz
linux-ab09b58e4bdfdbcec425e54ebeaf6e209a96318f.tar.bz2
linux-ab09b58e4bdfdbcec425e54ebeaf6e209a96318f.zip
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions