Re: [PATCH bpf-next v3] m68k, bpf: Add initial BPF JIT compiler support
Andreas Schwab <[email protected]>
| Newsgroups | org.kernel.vger.linux-m68k,org.kernel.vger.bpf,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Mai 11 2026, Kuan-Wei Chiu wrote: > + > + emit_16(ctx, 0x4a80 | d_lo); /* tst.l d_lo */ > + emit_16(ctx, 0x6b04); /* bmi.s .+6 */ > + emit_16(ctx, 0x7000 | (d_hi << 9)); /* moveq #0, d_hi */ > + emit_16(ctx, 0x6002); /* bra.s .+4 */ > + emit_16(ctx, 0x70ff | (d_hi << 9)); /* moveq #-1, d_hi */ I think this could be "tst.l d_lo; smi d_hi; extb.l d_hi". -- Andreas Schwab, [email protected] GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."