On Tue, 2025-07-08 at 14:25 -0700, Alexei Starovoitov wrote: [...] > > LLVM would produce: > > > > 0000000000000000 <foo>: > > ... > > 1: w1 = w1 > > 2: r1 <<= 0x3 > > If we go this route, let's drop this *8 and make it an index ? > Less checks in the verifier... > > > 3: gotox r1 > > 0000000000000038: R_BPF_64_64 .BPF.JT.0.0 Makes sense to me. [...]