Vector Max - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Instruction Overview

Vector MAX

General Form
dest_reg = MAX ( src_reg_0, src_reg_1 ) (V)
Syntax
Dreg = MAX ( Dreg , Dreg ) (V) ;
(b) */
Syntax Terminology
:
Dreg
R7–0
Instruction Length
In the syntax, comment (b) identifies 32-bit instruction length.
Functional Description
The Vector Maximum instruction returns the maximum value (meaning
the largest positive value, nearest to 0x7FFF) of the 16-bit half-word
source registers to the
The instruction compares the upper half-words of
and returns that maximum to the upper half-word of
src_reg_1
It also compares the lower half-words of
returns that maximum to the lower half-word of
concatenation of the two 16-bit maximum values.
The Vector Maximum instruction does not implicitly modify input val-
ues. The
dest_reg
registers. Doing this explicitly modifies that source register.
19-32
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
.
dest_reg
can be the same D-register as one of the source
/* dual 16-bit operations
src_reg_0
and
src_reg_0
src_reg_1
. The result is a
dest_reg
and
.
dest_reg
and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents