Alexander Nasonov
2011-12-28 17:19:58 UTC
Hi,
I've been playing with sljit in the last few days. SLJIT stands for
state-less just-in-time compiler and it supports the following
architectures (from sljit.sf.net):
Intel x86-32
AMD x86-64
ARM (Including ARM-v5, ARM-v7 and Thumb2 instruction sets)
IBM PowerPC-32
IBM PowerPC-64
MIPS-32
I implemented code generation for some bpf instructions. The supported
set is rich enough to measure a performance of a real (well, almost)
bpf program. JIT code is 3-4 times faster on Ubuntu armv7 and 4.5 times
faster on NetBSD-current amd64.
Code is available on github: https://github.com/alnsn/bpfjit
Is there is interest, I can look into porting sljit to the kernel and
adding npf_ncode.
Alex
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
I've been playing with sljit in the last few days. SLJIT stands for
state-less just-in-time compiler and it supports the following
architectures (from sljit.sf.net):
Intel x86-32
AMD x86-64
ARM (Including ARM-v5, ARM-v7 and Thumb2 instruction sets)
IBM PowerPC-32
IBM PowerPC-64
MIPS-32
I implemented code generation for some bpf instructions. The supported
set is rich enough to measure a performance of a real (well, almost)
bpf program. JIT code is 3-4 times faster on Ubuntu armv7 and 4.5 times
faster on NetBSD-current amd64.
Code is available on github: https://github.com/alnsn/bpfjit
Is there is interest, I can look into porting sljit to the kernel and
adding npf_ncode.
Alex
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de