Page 341 - ARM 64 Bit Assembly Language
P. 341

Advanced SIMD instructions 331

                       Name     Effect                               Description
                       st<n>    tmp ← Xn                             Save multiple structures from all lanes
                                incr ← byteSize(T)                   of one or more registers.
                                for 0 ≤ x< nLanes(T) do
                                 for V ∈<list> do
                                   Mem[tmp]← V [x]
                                   tmp ← tmp + incr
                                 end for
                                end for
                                if #imm is present then
                                 Xn ← Xn + imm
                                else
                                 if Rm is specified then
                                   Xn ← Xn + Xm
                                 end if
                                end if

                     10.2.2.3 Examples

                    1     @ Load eight rgb pixel structures into
                    2     @ d0(red),d1(green),and d2(blue)
                    3     ld3    {v0.8b,v1.8b,v2.8b},[x0],#24 // load eight pixels
                    4
                    5     @ Load sixteen rgb pixel structures into
                    6     @ v0(red),v1(green),and v2(blue)
                    7     ld3    {v0.16b-v2.16b},[x0],#48   // load sixteen pixels



                     10.2.3 Load copies of a structure to all lanes

                     This instruction is used to load multiple copies of structured data across multiple registers:
                     ld<n>r     Load Copies of Structured Data.

                     The data is copied to all lanes. This instruction is useful for initializing vectors for use in later
                     instructions.

                     10.2.3.1 Syntax

                          ld<n>r <list>,[Xn]
                          ld<n>r <list>,[Xn],Xm
                          ld<n>r <list>,[Xn],#imm
   336   337   338   339   340   341   342   343   344   345   346