ARM VERSION 1.2 manual Where Is the vector length Is the vector stride

Models: VERSION 1.2

1 360
Download 360 pages 38.37 Kb
Page 280
Image 280

Vector Floating-point Programming

6.9.2VFPASSERT VECTOR

The VFPASSERT VECTOR directive informs the assembler that following VFP instructions are in vector mode. It can also specify the length and stride of the vectors.

Syntax

VFPASSERT VECTOR[<[n[:s]]>]

where:

nis the vector length, 1-8.

sis the vector stride, 1-2.

Usage

Use the VFPASSERT VECTOR directive to mark the start of a block of instructions where the VFP mode is VECTOR, and to mark changes in the length or stride of vectors.

Place the VFPASSERT VECTOR directive immediately after the instruction where the change occurs. This is usually an FMXR instruction, but might be a BL instruction.

If a function expects the VFP to be in vector mode on entry, place a VFPASSERT VECTOR directive immediately before the first instruction. Such a function would not be ATPCS conformant. See the Using the Procedure Call Standard chapter in ADS Developer Guide for further information.

See:

VFP directives and vector notation on page 6-40

VFPASSERT SCALAR on page 6-41.

Note

This directive does not generate any code. It is only an assertion by the programmer. The assembler produces error messages if any such assertions are inconsistent with each other, or with any vector notation in VFP data processing instructions.

6-42

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

Page 280
Image 280
ARM VERSION 1.2 Where Is the vector length Is the vector stride, VFP directives and vector notation on Vfpassert Scalar on