Multiply And Multiply-Accumulate To Accumulator - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Multiply and Multiply-Accumulate to Accumulator

General Form
accumulator = src_reg_0 * src_reg_1 (opt_mode)
accumulator += src_reg_0 * src_reg_1 (opt_mode)
accumulator –= src_reg_0 * src_reg_1 (opt_mode)
Syntax
Multiply-And-Accumulate Unit 0 (MAC0) Operations
A0 =Dreg_lo_hi * Dreg_lo_hi
store (b) */
A0 += Dreg_lo_hi * Dreg_lo_hi
add (b) */
A0 –= Dreg_lo_hi * Dreg_lo_hi
subtract (b) */
Multiply-And-Accumulate Unit 1 (MAC1) Operations
A1 = Dreg_lo_hi * Dreg_lo_hi
store (b) */
A1 += Dreg_lo_hi * Dreg_lo_hi
add (b) */
A1 –= Dreg_lo_hi * Dreg_lo_hi
subtract (b) */
Syntax Terminology
:
Dreg_lo_hi
R7–0.L
: Optionally
opt_mode
on MAC1 versions either alone or with
specified together for a MAC, the options must be separated by commas
and enclosed within a single set of parenthesis. Example:
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
(opt_mode) ;
(opt_mode) ;
(opt_mode) ;
(opt_mode) ;
(opt_mode) ;
(opt_mode) ;
,
R7–0.H
,
, or
(FU)
(IS)
(W32)
Arithmetic Operations
/* multiply and
/* multiply and
/* multiply and
/* multiply and
/* multiply and
/* multiply and
. Optionally,
(M)
. If multiple options are
(W32)
(M, W32)
can be used
15-53

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents