Internal Accumulator Access Format - Intel XScale Core Developer's Manual

Table of Contents

Advertisement

2.3.1.2

Internal Accumulator Access Format

The Intel XScale
CP0.
Table 2-5, "Internal Accumulator Access Format" on page 2-27
into the coprocessor register transfer space.
The RdHi and RdLo fields allow up to 64 bits of data transfer between StrongARM registers and an
internal accumulator. The acc field specifies 1 of 8 internal accumulators to transfer data to/from.
The core implements a single 40-bit accumulator referred to as acc0; future implementations can
specify multiple internal accumulators of varying sizes, up to 64 bits.
Access to the internal accumulator is allowed in all processor modes (user and privileged) as long
bit 0 of the Coprocessor Access Register is set. (See
Access Register" on page 7-94
The Intel XScale
registers to acc0 and move acc0 to two ARM registers, respectively.
Table 2-5.

Internal Accumulator Access Format

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
cond
Bits
31:28
20
19:16
15:12
7:4
3
2:0
Note: MAR has the same encoding as MCRR (to coprocessor 0) and MRA has the same encoding as
MRRC (to coprocessor 0). These instructions move 64-bits of data to/from ARM registers from/to
coprocessor registers. MCRR and MRRC are defined in ARM's DSP instruction set.
Disassemblers not aware of MAR and MRA will produce the following syntax:
MCRR{<cond>} p0, 0x0, RdLo, RdHi, c0
MRRC{<cond>} p0, 0x0, RdLo, RdHi, c0
Developer's Manual
®
core defines a new instruction format for accessing internal accumulators in
for more details).
®
core implements two instructions MAR and MRA that move two ARM
1 1 0 0 0 1 0 L
Description
cond - ARM condition codes
L - move to/from internal accumulator
0= move to internal accumulator (MAR)
1= move from internal accumulator (MRA)
RdHi - specifies the high order eight (39:32)
bits of the internal accumulator.
RdLo - specifies the low order 32 bits of the
internal accumulator
Should be zero
Should be zero
acc - specifies 1 of 8 internal accumulators
January, 2004
Intel XScale® Core Developer's Manual
Section 7.2.15, "Register 15: Coprocessor
RdHi
RdLo
0 0 0 0 0 0 0 0 0
-
-
On a read of the acc, this 8-bit high order field
will be sign extended.
On a write to the acc, the lower 8 bits of this
register will be written to acc[39:32]
-
This field could be used in future
implementations to specify the type of
saturation to perform on the read of an internal
accumulator. (e.g., a signed saturation to
16-bits may be useful for some filter
algorithms.)
-
The core
only implements acc0; access to
any other acc is unpredictable
Programming Model
shows that the opcode falls
8
7
6
5
4
3
2
1
acc
Notes
0
27

Advertisement

Table of Contents
loading

Table of Contents