Messages in this thread |  | | From | Daniel Palmer <> | | Date | Wed, 29 Apr 2026 22:51:58 +0900 | | Subject | Re: [PATCH bpf-next] m68k, bpf: Add initial BPF JIT compiler support |
| |
Hi Kuan-Wei,
On Wed, 29 Apr 2026 at 21:41, Kuan-Wei Chiu <visitorckw@gmail.com> wrote: > > Add a BPF JIT compiler for the m68k architecture. > > The JIT generates m68k machine code targeting m68020+ processors. It > currently excludes 68000/68010 and coldfire processors, as it relies on > 32 bit branch displacements (b<cc>.l) to handle large bpf programs. > > Tested with the test_bpf.ko: > test_bpf: Summary: 1053 PASSED, 0 FAILED, [1041/1041 JIT'ed] > test_bpf: test_tail_calls: Summary: 10 PASSED, 0 FAILED, [10/10 JIT'ed] > > Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Cool! Which CPUs did you test on? I guess 040 that is in QEMU? I'll check on real 030, 040 and 060 machines a bit later. Since you are doing code generation for m68k now maybe you could help me when I resend my patches for runtime consts support? [0]
Thanks,
Daniel
0 - https://lore.kernel.org/linux-m68k/20251127000505.2117956-1-daniel@thingy.jp/
|  |