Instruction Overview
19-20
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
Options
The Vector Add / Subtract instruction provides three option modes.
•
opt_mode_0
supports the Dual and Quad 16-Bit Operations ver-
sions of this instruction.
•
opt_mode_1
supports the Dual 32-bit and 40-bit operations.
•
opt_mode_2
supports the Quad 16-Bit Operations versions of this
instruction.
Table 19-17
describes the options that the three
opt_modes
support.
The options shown for
opt_mode_2
are scaling options.
Table 19-17. Options for Opt_Mode 0
Mode
Option
Description
opt_mode_0
S
Saturate the results at 16 bits.
CO
Cross option. Swap the order of the results in the destination regis-
ter.
SCO
Saturate and cross option. Combination of (S) and (CO) options.
opt_mode_1
S
Saturate the results at 16 or 32 bits, depending on the operand size.
opt_mode_2
ASR
Arithmetic shift right. Halve the result (divide by 2) before storing
in the destination register. If specified with the S (saturation) flag in
Quad 16-Bit Operand versions of this instruction, the scaling is per-
formed before saturation for the ADSP-BF533 processor, and the
scaling is performed after saturation for the ADSP-BF535 processor.
ASL
Arithmetic shift left. Double the result (multiply by 2, truncated)
before storing in the destination register. If specified with the S (sat-
uration) flag in Quad 16-Bit Operand versions of this instruction,
the scaling is performed before saturation for the ADSP-BF533 pro-
cessor, and the scaling is performed after saturation for the
ADSP-BF535 processor.
Summary of Contents for ADSP-BF53x Blackfin
Page 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...