tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bpf jit

On Sun, Aug 19, 2012 at 04:06:40PM +0100, Alexander Nasonov wrote:
> At the moment, sljit supports i386, amd64, arm, ppc32, ppc64 and mips32.
> There is no sparc support because the author of sljit neither have time
> nor hardware. I don't know a status of mips64.

I was suprised when the jit code got commited without any previous
discussion, especially as you had pointed to your version before, so
choice was obviously available.

I had a look at what it would take to add support for sparc* to bpf_jit
and sljit - and found that the effort (both amount of work and
complexity) is roughly the same. The hardest part is verifying it, we
don't have reasonable tests for either [in bpf context, I don't know
about a potentialy existing sljit test suite that could be used
indepently of the bpf stuff to verify a new codegen] currently. I will
have a look at it once we settle this discussion.


Home | Main Index | Thread Index | Old Index