Home > Mobile >  What kind of assembly instruction is this ld1 {v4.16b - v7.16b}, [x10]?
What kind of assembly instruction is this ld1 {v4.16b - v7.16b}, [x10]?

Time:06-21

The below assembly instruction is arm neon assembly code.

ld1 {v4.16b - v7.16b}, [x10]

and found some related page about ld1 instruction. but there are no reference about minus(-) symbol using in ld1 assembly instruction. what does it meaning for? I guess... it means to put continuous data from the address of x10 to the 3rd to 7th vector, is that correct?

CodePudding user response:

Yes, your understanding is correct. {v4.16b-v7.16b} is just shorthand for {v4.16b, v5.16b, v6.16b, v7.16b}.

So this instruction loads 64 bytes from [x10] and stores them into v4, v5, v6, and v7 without any deinterleaving.

  • Related