$ awk '/^sum_relu:/,/Lfunc_end/' out/p_neoverse-v1.s | sed -n '/%vector.body/,/b.ne/p'
what it printed on the machine that wrote this lab
.LBB0_7: // %vector.body
// =>This Inner Loop Header: Depth=1
ldr z5, [x12]
ldr z6, [x12, #1, mul vl]
subs x13, x13, x9
fmax z5.s, p0/m, z5.s, #0.0
ldr z7, [x12, #2, mul vl]
ldr z16, [x12, #3, mul vl]
fmax z6.s, p0/m, z6.s, #0.0
fmax z7.s, p0/m, z7.s, #0.0
fmax z16.s, p0/m, z16.s, #0.0
add x12, x12, x11
fadd z2.s, z2.s, z5.s
fadd z0.s, z0.s, z6.s
fadd z3.s, z3.s, z7.s
fadd z4.s, z4.s, z16.s
b.ne .LBB0_7
`ldr z5, [x12, #1, mul vl]`: the offset is in units of the vector length,
which the code never knows. `fmax z5.s, p0/m, ...`: predicated by p0. The
same binary runs on 128-bit and 2048-bit SVE. Lab 02 proves it under qemu.