[PATCH RFC 0/2] LoongArch: BPF: Optimize 32-bit zero/sign extensions

Tiezhu Yang <[email protected]>
Newsgroups dev.linux.lists.loongarch,org.kernel.vger.bpf,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Based on 7.2-rc1 and the following series:

https://lore.kernel.org/loongarch/[email protected]/

Not tested yet, only RFC.

Eliminate frequent and redundant zero-extensions and sign-extensions,
resulting in a cleaner native instruction stream and reduced JIT image
size.

Tiezhu Yang (2):
  LoongArch: BPF: Eliminate zero-extension for memory load operations
  LoongArch: BPF: Eliminate zero/sign extensions for 32-bit operations

 arch/loongarch/net/bpf_jit.c | 378 ++++++++++++++++++++---------------
 arch/loongarch/net/bpf_jit.h |  25 +--
 2 files changed, 219 insertions(+), 184 deletions(-)

-- 
2.42.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.