aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
diff options
context:
space:
mode:
authorQingfang Deng <qingfang.deng@siflower.com.cn>2024-05-27 17:24:04 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2024-07-15 08:46:46 -0700
commit93b63f68d00a0483b450b446e2ea5386a1b94213 (patch)
treeb5ac3c7e325e2c94a7eb7151e44060792a970736 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
parent6ad8735994b854b23c824dd6b1dd2126e893a3b4 (diff)
riscv: lib: relax assembly constraints in hweight
rd and rs don't have to be the same. In some cases where rs needs to be saved for later usage, this will save us some mv instructions. Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn> Reviewed-by: Xiao Wang <xiao.w.wang@intel.com> Link: https://lore.kernel.org/r/20240527092405.134967-1-dqfext@gmail.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions