Commit 7cb1078b authored by Mao Minkai's avatar Mao Minkai Committed by guzitao
Browse files

sw64: bpf: optimize DIV and MOD instructions

Sunway inclusion
category: performance
bugzilla: https://gitee.com/openeuler/kernel/issues/I73OCY



--------------------------------

Instead of calling helper functions at runtime, use linker to find the
symbols we need and use them directly to reduce overhead.

Signed-off-by: default avatarMao Minkai <maominkai@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 9ce41ea1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment