Analog Devices ADSP-BF53x Blackfin Reference page 739

Table of Contents

Advertisement

Based on the search mode specified in the syntax, the instruction tests for
maximum or minimum signed values.
Values are sign extended when copied into the Accumulator(s).
See "Example" for one way to implement the search loop. After the vector
search loop concludes,
dest_pointer_hi
The next step is to select the final value from these two surviving elements.
Modes
The four supported compare modes are specified by the mandatory
flag.
searchmode
Table 19-20. Compare Modes
Mode
Description
(GT)
Greater than. Find the location of the first maximum number in an array.
(GE)
Greater than or equal. Find the location of the last maximum number in an array.
(LT)
Less than. Find the location of the first minimum number in an array.
(LE)
Less than or equal. Find the location of the last minimum number in an array.
Summary
Assumed Pointer
src_reg_hi
src_reg_lo
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
and
hold the two surviving elements, and
A1
A0
and
dest_pointer_lo
P0
Compared to least significant 16 bits of
pare condition is met, overwrites lower 16 bits of
and copies
P0
Compared to least significant 16 bits of
pare condition is met, overwrites lower 16 bits of
and copies
P0
Vector Operations
contain their respective addresses.
into
dest_pointer_hi
into
dest_pointer_lo
. If com-
A1
A1
.
. If com-
A0
A0
.
19-51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents