diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2026-10-09 03:48:04 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-10-09 20:29:15 +0000 |
| commit | 2db5837f9adafbf7bd68aac4666400296b3bb8c7 (patch) | |
| tree | f1bbc24a02a98618ba00a2f225c0496a9c953fe0 /include/linux/timerqueue.h | |
| parent | a88078acc2e4921a53010739c3c218a537619b1f (diff) | |
| download | linux-next-2db5837f9adafbf7bd68aac4666400296b3bb8c7.tar.gz linux-next-2db5837f9adafbf7bd68aac4666400296b3bb8c7.zip | |
selftests/bpf: Tests for register base/step arithmetic
- step_arith{32,64}_no_overflow: non-overflowing +, *, <<
operations maintain step and base.
- step_neg_value_range: Preserve the signed range of {-3, 0, 3, 6}
when intersecting with a non-power-of-two step across zero.
- step_arith{32,64}_overflow: Reset the stride and preserve valid
bounds when a {32,64}-bit operation wraps.
- step_mov32_truncate: Reset the stride when MOV32 discards nonzero
upper bits from positive values.
- step_mov32_negative: Reset the stride when MOV32 zero-extends
the low 32 bits of negative signed values.
- step_movsx: Reset the stride when sign extension changes the
register value.
- step_movsx_bounds_on_line: Keep bounds and stride when sign
extension does not change the register value.
- step_bounds_resync_after_arith: Snap bounds refined from var_off
back onto the line.
- step_linked_regs_add64: Translate both bounds and base when
propagating a comparison's refinement through a scalar-ID delta.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://patch.msgid.link/20261009-scev-minimal-rebase-v3-46-bcba9bc53ac9@gmail.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
