summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2025-02-26 18:36:56 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-27 12:14:00 +0300
commitadf6819278ba34be1d29ffcdca5c2ccd2123f667 (patch)
tree1dd4cea5b792257ae75fb63ff576ee1ed2318a4c /tools/testing/selftests/bpf/prog_tests/autoload.c
parent7d8f03f7dd9f7d108b8d5af12fdc57e10555981f (diff)
downloadlinux-adf6819278ba34be1d29ffcdca5c2ccd2123f667.tar.xz
x86/bootflag: Micro-optimize sbf_write()
Change parity bit with XOR when !parity instead of masking bit out and conditionally setting it when !parity. Saves a couple of bytes in the object file. Co-developed-by: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20250226153709.6370-1-ubizjak@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions