Non-Confidential | PDF version | ARM DUI0473M | ||

| ||||

Home > VFP Programming > Vector notation |

In vector notation, you specify vectors of VFP registers using angle brackets.

You specify scalar and vector registers in pre-UAL VFP data processing instructions as follows:

`s`

is a single-precision scalar register`n`

.`n`

`s`

is a single-precision vector whose length and stride are given by the current vector length and stride, as defined by`n`

<>`VFPASSERT VECTOR`

. The vector starts at register

.`n`

`s`

is a single-precision vector of length L, stride 1. The vector starts at register`n`

<`L`

>

.`n`

`s`

is a single-precision vector of length`n`

<`L`

:`S`

>

, stride`L`

. The vector starts at register`S`

.`n`

`d`

is a double-precision scalar register`n`

.`n`

`d`

is a double-precision vector whose length and stride are given by the current vector length and stride, as defined by`n`

<>`VFPASSERT VECTOR`

. The vector starts at register

.`n`

`d`

is a double-precision vector of length L, stride 1. The vector starts at register`n`

<`L`

>

.`n`

`d`

is a double-precision vector of length`n`

<`L`

:`S`

>

, stride`L`

. The vector starts at register`S`

.`n`

You can use this vector notation with names defined using
the `DN`

and `SN`

directives.

You must not use this vector notation in the `DN`

and `SN`

directives
themselves.