| |||
Home > NEON and VFP Programming > VFP vector stride |
Vectors can occupy consecutive registers or they can occupy
alternate registers. This is controlled by the STRIDE
bits
in the FPSCR
. For example:
a vector of length 3, stride 2, starting at s1, is {s1, s3, s5}
a vector of length 4, stride 2, starting at s6, is {s6, s0, s2, s4}
a vector of length 2, stride 2, starting at d1, is {d1, d3}.
a vector of length 4, stride 1, starting at d0, is {d0, d1, d2, d3}.