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

Table of Contents

Advertisement

Instruction Overview

Multiply and Multiply-Accumulate to Half-Register

General Form
dest_reg_half = (accumulator = src_reg_0 * src_reg_1) (opt_mode)
dest_reg_half = (accumulator += src_reg_0 * src_reg_1) (opt_mode)
dest_reg_half = (accumulator –= src_reg_0 * src_reg_1) (opt_mode)
Syntax
Multiply-And-Accumulate Unit 0 (MAC0)
Dreg_lo = (A0 = Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and store (b) */
Dreg_lo = (A0 += Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ; /* multi-
ply and add (b) */
Dreg_lo = (A0 –= Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and subtract (b) */
Multiply-And-Accumulate Unit 1 (MAC1)
Dreg_hi = (A1 = Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and store (b) */
Dreg_hi = (A1 += Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and add (b) */
Dreg_hi = (A1 –= Dreg_lo_hi * Dreg_lo_hi) (opt_mode) ;
tiply and subtract (b) */
Syntax Terminology
:
Dreg_lo_hi
R7–0.L
:
Dreg_lo
R7–0.L
:
Dreg_hi
R7–0.H
15-58
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
,
R7–0.H
/* mul-
/* mul-
/* mul-
/* mul-
/* mul-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents