Figure 20-3 Fmsrr Instruction Format - ARM ARM1176JZF-S Technical Reference Manual

Table of Contents

Advertisement

20.3.3
FMSRR
ARM DDI 0301H
ID012310
FMSRR transfers data in two ARM11 registers to two consecutively numbered single-precision
VFP11 registers, Sm and S(m + 1). The ARM11 registers do not have to be contiguous.
Figure 20-3 shows the format of the FMSRR instruction.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
cond
1 1 0 0 0 1 0 0
Syntax
FMSRR {<cond>} <registers>, <Rd>, <Rn>
where:
<cond>
Is the condition under which the instruction is executed. If <cond> is omitted, the
AL, always, condition is used.
Specifies the pair of consecutively numbered single-precision destination VFP11
<registers>
registers, separated by a comma and surrounded by brackets. If m is the number
of the first register in the list, the list is encoded in the instruction by setting Sm
to the top four bits of m and M to the bottom bit of m. For example, if
is {S1, S2}, the Sm field of the instruction is b0000 and the M bit is 1.
Specifies the source ARM11 register for the Sm VFP11 single-precision register.
<Rd>
<Rn>
Specifies the source ARM11 register for the S(m + 1) VFP11 single-precision
register.
Architecture version
All
Exceptions
None
Operation
If ConditionPassed(cond) then
Sm = Rd
S(m + 1) = Rn
Notes
Conversions
In the programmer's model, FMSRR does not perform any conversion of
the value transferred. Arithmetic instructions using Rd and Rn treat the
contents as an integer, whereas most VFP instructions treat the Sm and
S(m + 1) values as single-precision floating-point numbers.
Invalid register lists
If Sm is b1111 and M is 1, an encoding of S31, the instruction is
Unpredictable.
Copyright © 2004-2009 ARM Limited. All rights reserved.
Non-Confidential, Unrestricted Access
Rn
Rd
1 0 1 0 0 0 M 1

Figure 20-3 FMSRR instruction format

VFP Programmer's Model
Sm
<registers>
20-10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents