Files
linux/arch/arm
Puranjay Mohan 71086041c2 arm32, bpf: add support for 64 bit division instruction
ARM32 doesn't have instructions to do 64-bit/64-bit divisions. So, to
implement the following instructions:
BPF_ALU64 | BPF_DIV
BPF_ALU64 | BPF_MOD
BPF_ALU64 | BPF_SDIV
BPF_ALU64 | BPF_SMOD

We implement the above instructions by doing function calls to div64_u64()
and div64_u64_rem() for unsigned division/mod and calls to div64_s64()
for signed division/mod.

Signed-off-by: Puranjay Mohan <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
2023-09-15 17:16:56 -07:00
..
2023-07-21 10:01:47 -07:00
2023-08-12 10:30:59 +02:00
2023-07-19 06:29:04 +00:00
2023-08-12 10:30:59 +02:00
2023-07-19 15:28:44 +08:00
2023-08-12 10:31:00 +02:00
2023-08-12 10:31:00 +02:00
2023-08-12 10:30:59 +02:00
…
2023-08-21 13:46:25 -07:00
…