Instruction Overview
19-42
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
• The destination D-registers (if applicable) for both scalar opera-
tions must form a vector couplet, as described below.
• 16-bit: store the results in the upper- and lower-halves of
the same 32-bit
Dreg
. MAC0 writes to the lower half, and
MAC1 writes to the upper half.
• 32-bit: store the results in valid
Dreg
pairs. MAC0 writes to
the pair’s lower (even-numbered)
Dreg
, and MAC1 writes to
the upper (odd-numbered)
Dreg
.
Valid
Dreg
pairs are
R7:6
,
R5:4
,
R3:2
, and
R1:0
.
Syntax
Separate the two compatible scalar instructions with a comma to produce
a vector instruction. Add a semicolon to the end of the combined instruc-
tion, as usual. The order of the MAC operations on the command line is
arbitrary.
Instruction Length
This instruction is 32 bits long.
Flags Affected
The flags reflect the results of the two scalar operations.This instruction
affects flags as follows.
•
V
is set if any result extracted to a
Dreg
saturates; cleared if no
Dregs
saturate.
•
VS
is set if
V
is set; unaffected otherwise.
•
AV0
is set if result in Accumulator
A0
(MAC0 operation) saturates;
cleared if
A0
result does not saturate.
•
AV0S
is set if
AV0
is set; unaffected otherwise.
Содержание ADSP-BF53x Blackfin
Страница 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 780: ...Product Identification Register 21 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 994: ...Instructions Listed By Operation Code C 194 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...