tm1300 NXP Semiconductors, tm1300 Datasheet - Page 485

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
Sum of absolute values of unsigned 8-bit
differences
SYNTAX
FUNCTION
DESCRIPTION
unsigned 8-bit bytes of r src1 and r src2 . The absolute values of the four differences are summed and the result is
written to r dest . All computations are performed without loss of precision.
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is not changed.
EXAMPLES
r80 = 0x0a14f6f6, r30 = 0x1414ecf6
r10 = 0, r80 = 0x0a14f6f6, r30 = 0x1414ecf6
r20 = 1, r90 = 0x64649c9c, r40 = 0x649c649c
r40 = 0x649c649c, r90 = 0x64649c9c
r50 = 0x80808080, r60 = 0x7f7f7f7f
As shown below, the
The
[ IF r guard ] ume8uu r src1 r src2
if r guard then
r src1
r dest
ume8uu
3
unsigned
abs_val(zero_ext8to32(r src1 <31:24>) – zero_ext8to32(r src2 <31:24>)) +
abs_val(zero_ext8to32(r src1 <23:16>) – zero_ext8to32(r src2 <23:16>)) +
abs_val(zero_ext8to32(r src1 <15:8>) – zero_ext8to32(r src2 <15:8>)) +
abs_val(zero_ext8to32(r src1 <7:0>) – zero_ext8to32(r src2 <7:0>))
Initial Values
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
2
unsigned
ume8uu
1
unsigned
r dest
operation computes four separate differences of the four pairs of corresponding
3
7
unsigned
ume8uu r80 r30
IF r10 ume8uu r80 r30
IF r20 ume8uu r90 r40
ume8uu r40 r90
ume8uu r50 r60
r dest
0
unsigned
Operation
PRODUCT SPECIFICATION
r src2
3
unsigned
r100
r120
r125
2
r70
r110
DSPCPU Operations for TM1300
unsigned
0
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r100
no change, since guard is false
r110
r120
r125
1
unsigned
0x14
0x70
0x70
0x4
ATTRIBUTES
SEE ALSO
ume8ii
Result
ume8uu
7
unsigned
dspalu
1, 3
No
26
0
2
2
A-199

Related parts for tm1300