Multiply And Multiply-Accumulate To Data Register - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Multiply and Multiply-Accumulate to Data Register

General Form
dest_reg = (accumulator = src_reg_0 * src_reg_1) (opt_mode)
dest_reg = (accumulator += src_reg_0 * src_reg_1) (opt_mode)
dest_reg = (accumulator –= src_reg_0 * src_reg_1) (opt_mode)
Syntax
Multiply-And-Accumulate Unit 0 (MAC0)
Dreg_even = (A0 = Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and store (b) */
Dreg_even = (A0 += Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
multiply and add (b) */
Dreg_even = (A0 –= Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
multiply and subtract (b) */
Multiply-And-Accumulate Unit 1 (MAC1)
Dreg_odd = (A1 = Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and store (b) */
Dreg_odd = (A1 += Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and add (b) */
Dreg_odd = (A1 –= Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and subtract (b) */
Syntax Terminology
:
Dreg_lo_hi
R7–0.L
:
,
Dreg_even
R0
:
,
Dreg_odd
R1
R3
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
,
R7–0.H
,
,
R2
R4
R6
,
,
R5
R7
Arithmetic Operations
/* mul-
/*
/*
/* mul-
/* mul-
/* mul-
15-67

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents