Port-mips archive

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

Re: bpfjit


thanks for testing the code. The MIPS code generator generates MIPS III 
instruction set by default, but if SLJIT_MIPS_32_64 is defined to 1, it also 
uses some MIPS 32 instructions, such as SEB or CLZ. I couldn't find a way to 
automatically detect MIPS 32 so far, but I would be grateful if somebody could 
tell me how to do it.


>Alexander Nasonov <alnsn%yandex.ru@localhost> írta:
>I think it generates mips32 but it's better to confirm with the author of 
>Zoltan, can you please comment on this?
>26.11.12, 20:28, "Matt Thomas" <matt%3am-software.com@localhost>":
> On Nov 24, 2012, at 6:22 AM, Alexander Nasonov wrote:
> > After a successful testing of bpfjit on an emulated MALTA board, I
> > committed sljit support to evbmips. It's disabled my default but you
> > can easily enable it. To reproduce my setup, you need to apply the patch
> > below and build with MKSLJIT=yes.
> > I followed an instruction on gxemul page to install and run my system
> > under gxemul emulator. I also added "net.bpf.jit=1" to sysctl.conf
> > while following an installation instruction.
> > All sljit and bpfjit userspace tests pass and the system can filter
> > packets using simple rules.
> Does it generate MIPS1 or MIPS32 instructions?

Home | Main Index | Thread Index | Old Index