Mar{<Cond>} Acc0, Rdlo, Rdhi; Mra{<Cond>} Rdlo, Rdhi, Acc0 - Intel IXP45X Developer's Manual

Network processors
Table of Contents

Advertisement

Intel
Table 70.
MAR{<cond>} acc0, RdLo, RdHi
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
cond
Operation: if ConditionPassed(<cond>) then
Exceptions: none
Qualifiers Condition Code
Notes:
The MAR instruction moves the value in register RdLo to bits[31:0] of the 40-bit
accumulator (acc0) and moves bits[7:0] of the value in register RdHi into bits[39:32]
of acc0.
The instruction is only executed if the condition specified in the instruction matches the
condition code status.
This instruction executes in any processor mode.
Table 71.
MRA{<cond>} RdLo, RdHi, acc0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
cond
Operation: if ConditionPassed(<cond>) then
Exceptions: none
Qualifiers Condition Code
Notes:
The MRA instruction moves the 40-bit accumulator value (acc0) into two registers.
Bits[31:0] of the value in acc0 are moved into the register RdLo. Bits[39:32] of the
value in acc0 are sign extended to 32 bits and moved into the register RdHi.
The instruction is only executed if the condition specified in the instruction matches the
condition code status.
This instruction executes in any processor mode.
®
®
Intel
IXP45X and Intel
IXP46X Product Line of Network Processors
Developer's Manual
174
®
®
IXP45X and Intel
IXP46X Product Line of Network Processors—Intel XScale
1
1
0
0
0
1
0
0
acc0[39:32] = RdHi[7:0]
acc0[31:0] = RdLo[31:0]
No condition code flags are updated
Instruction timings can be found in
"Multiply Instruction Timings" on page 185
Specifying R15 as either RdHi or RdLo has unpredictable results.
1
1
0
0
0
1
0
1
RdHi[31:0] = sign_extend(acc0[39:32])
RdLo[31:0] = acc0[31:0]
No condition code flags are updated
Instruction timings can be found in
"Multiply Instruction Timings" on page 185
Specifying the same register for RdHi and RdLo has unpredictable
results.
Specifying R15 as either RdHi or RdLo has unpredictable results.
RdHi
RdLo
0
0
RdHi
RdLo
0
0
®
Processor
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
August 2006
Order Number: 306262-004US
0
0
0
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IXP45X and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ixp46x

Table of Contents