ChipFind - Datasheet

Part Number VFP11

Download:  PDF   ZIP

Document Outline

Copyright © 2002, 2003 ARM Limited. All rights reserved.
ARM DDI 0274B
VFP11
TM
Vector Floating-point
Coprocessor
r0p1
Technical Reference Manual
ii
Copyright © 2002, 2003 ARM Limited. All rights reserved.
ARM DDI 0274B
VFP11 Vector Floating-point Coprocessor
Technical Reference Manual
Copyright © 2002, 2003 ARM Limited. All rights reserved.
Release Information
Proprietary Notice
Words and logos marked with
®
or
TM
are registered trademarks or trademarks of ARM Limited in the EU and
other countries, except as otherwise stated below in this proprietary notice. Other brands and names
mentioned herein may be the trademarks of their respective owners.
Neither the whole nor any part of the information contained in, or the product described in, this document
may be adapted or reproduced in any material form except with the prior written permission of the copyright
holder.
The product described in this document is subject to continuous developments and improvements. All
particulars of the product and its use contained in this document are given by ARM Limited in good faith.
However, all warranties implied or expressed, including but not limited to implied warranties of
merchantability, or fitness for purpose, are excluded.
This document is intended only to assist the reader in the use of the product. ARM Limited shall not be liable
for any loss or damage arising from the use of any information in this document, or any error or omission in
such information, or any incorrect use of the product.
Confidentiality Status
This document is Open Access. This document has no restriction on distribution.
Product Status
The information in this document is final (information on a developed product).
Web Address
http://www.arm.com
Change history
Date
Issue
Change
19 December, 2002
A
First release
10 February, 2003
B
First release for VFP11 r0p1 coprocessor
ARM DDI 0274B
Copyright © 2002, 2003 ARM Limited. All rights reserved.
iii
Contents
VFP11 Vector Floating-point Coprocessor
Technical Reference Manual
Preface
About this document ...................................................................................... x
Feedback ..................................................................................................... xiii
Chapter 1
Introduction
1.1
About the VFP11 coprocessor ................................................................... 1-2
1.2
Applications ................................................................................................. 1-3
1.3
Coprocessor interface ................................................................................. 1-4
1.4
VFP11 coprocessor pipelines ..................................................................... 1-5
1.5
Modes of operation ................................................................................... 1-13
1.6
Short vector instructions ........................................................................... 1-16
1.7
Parallel execution of instructions ............................................................... 1-17
1.8
VFP11 treatment of branch instructions .................................................... 1-18
1.9
Writing optimal VFP11 code ...................................................................... 1-19
1.10
Silicon revision information ....................................................................... 1-20
Chapter 2
Register File
2.1
About the register file .................................................................................. 2-2
2.2
Register file internal formats ....................................................................... 2-3
2.3
Decoding the register file ............................................................................ 2-5
Contents
iv
Copyright © 2002, 2003 ARM Limited. All rights reserved.
ARM DDI 0274B
2.4
Loading operands from ARM11 registers ................................................... 2-6
2.5
Maintaining consistency in register precision ............................................. 2-8
2.6
Data transfer between memory and VFP11 registers ................................ 2-9
2.7
Access to register banks in CDP operations ............................................ 2-11
Chapter 3
Programmer's Model
3.1
About the programmer's model .................................................................. 3-2
3.2
Compliance with the IEEE 754 standard .................................................... 3-3
3.3
ARMv5TE coprocessor extensions .......................................................... 3-10
3.4
VFP11 system registers ........................................................................... 3-19
Chapter 4
Instruction Execution
4.1
About instruction execution ........................................................................ 4-2
4.2
Serializing instructions ................................................................................ 4-3
4.3
Interrupting the VFP11 coprocessor ........................................................... 4-4
4.4
Forwarding .................................................................................................. 4-5
4.5
Hazards ...................................................................................................... 4-7
4.6
Operation of the scoreboard ....................................................................... 4-8
4.7
Parallel execution ..................................................................................... 4-17
4.8
Execution timing ....................................................................................... 4-19
Chapter 5
Exception Handling
5.1
About exception processing ....................................................................... 5-2
5.2
Bounced instructions .................................................................................. 5-3
5.3
Support code .............................................................................................. 5-5
5.4
Exception processing ................................................................................. 5-8
5.5
Input Subnormal exception ....................................................................... 5-13
5.6
Invalid Operation exception ...................................................................... 5-14
5.7
Division by Zero exception ....................................................................... 5-17
5.8
Overflow exception ................................................................................... 5-18
5.9
Underflow exception ................................................................................. 5-20
5.10
Inexact exception ...................................................................................... 5-22
5.11
Input exceptions ....................................................................................... 5-23
5.12
Arithmetic exceptions ............................................................................... 5-24
Glossary
ARM DDI 0274B
Copyright © 2002, 2003 ARM Limited. All rights reserved.
v
List of Tables
VFP11 Vector Floating-point Coprocessor
Technical Reference Manual
Change history .............................................................................................................. ii
Table 2-1
VFP11 MCR instructions ........................................................................................... 2-6
Table 2-2
VFP11 MRC instructions ........................................................................................... 2-6
Table 2-3
VFP11 MCRR instructions ........................................................................................ 2-7
Table 2-4
VFP11 MRRC instructions ........................................................................................ 2-7
Table 2-5
Single-precision data memory images and byte addresses ...................................... 2-9
Table 2-6
Double-precision data memory images and byte addresses .................................. 2-10
Table 2-7
Single-precision three-operand register usage ....................................................... 2-15
Table 2-8
Single-precision two-operand register usage .......................................................... 2-15
Table 2-9
Double-precision three-operand register usage ...................................................... 2-15
Table 2-10
Double-precision two-operand register usage ........................................................ 2-16
Table 3-1
Default NaN values ................................................................................................... 3-5
Table 3-2
QNaN and SNaN handling ........................................................................................ 3-6
Table 3-3
VFP11 register summary ........................................................................................ 3-19
Table 3-4
Access to VFP11 system registers ......................................................................... 3-20
Table 3-5
FPSID bit fields ....................................................................................................... 3-21
Table 3-6
Encoding of the Floating-Point Status and Control Register ................................... 3-22
Table 3-7
Vector length and stride combinations .................................................................... 3-24
Table 3-8
Encoding of the Floating-Point Exception Register ................................................. 3-26
Table 4-1
Pipeline stages for Example 4-4 ............................................................................... 4-9
Table 4-2
Pipeline stages for Example 4-5 ............................................................................. 4-10