tm1300 NXP Semiconductors, tm1300 Datasheet - Page 435

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
Philips Semiconductors
Unsigned byte-wise quad maximum
SYNTAX
FUNCTION
DESCRIPTION
r src1 and r src2 . All bytes are considered unsigned. The
median computation on packed pixel data structures:
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is not changed.
EXAMPLES
r30 = 0x0201000e, r40 = 0xff00ff02
r10 = 0, r60 = 0x9c9c6464, r70 = 0x649d649c
r20 = 1, r60 = 0x9c9c6464, r70 = 0x649d649c
The
MEDIAN_Q(a,b,c) (QUADUMIN( QUADUMAX( QUADUMIN((a),(b)), (c)), QUADUMAX((a),(b))))
The
[ IF r guard ] quadumax r src1 r src2
if r guard then {
}
r dest <7:0>
r dest <15:8>
r dest <23:16>
r dest <31:24>
quadumax
quadumax
Initial Values
if r src1 <7:0> > r src2 <7:0> then r src1< 7:0> else r src2 <7:0>
if r src1 <15:8> > r src2 <15:8> then r src1< 15:8> else r src2 <15:8>
operation computes four separate maximum values of the four pairs of corresponding 8-bit bytes of
if r src1 <23:16> > r src2 <23:16> then r src1< 23:16> else r src2 <23:16>
if r src1 <31:24> > r src2 <31:24> then r src1< 31:24> else r src2 <31:24>
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
quadumax r30 r40
IF r10 quadumax r60 r70
IF r20 quadumax r60 r70
r dest
quadumax
Operation
PRODUCT SPECIFICATION
r50
operation is particularly suited to implement
DSPCPU Operations for TM1300
r80
r90
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
imax imin quadumin
r50
no change, since guard is false
r90
ATTRIBUTES
0xff01ff0e
0x9c9d649c
SEE ALSO
quadumax
Result
dspalu
1,3
No
81
2
2
A-149

Related parts for tm1300