tm1300 NXP Semiconductors, tm1300 Datasheet - Page 362

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
TM1300 Data Book
iavgonep
SYNTAX
FUNCTION
DESCRIPTION
sum r src1 +r src2 +1, shifts the sum right by 1 bit, and stores the result into r dest . The operands are signed integers.
modification of the destination register. If the LSB of r guard is 1, r dest is written; otherwise, r dest is not changed.
EXAMPLES
A-76
r60 = 0x10, r70 = 0x20
r10 = 0, r60 = 0x10, r30 = 0x20
r20 = 1, r60 = 0x9, r30 = 0x20
r70 = 0xfffffff7, r40 = 0x2
r70 = 0xfffffff7, r40 = 0x3
As shown below, the
The
[ IF r guard ] iavgonep r src1 r src2
if r guard then
r src1
r dest
iavgonep
3
Initial Values
(sign_ext32to64(r src1 ) + sign_ext32to64(r src2 ) + 1) >> 1;
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
iavgonep
Full precision
33-bit result
signed
PRODUCT SPECIFICATION
r dest
operation returns the average of the two arguments. This operation computes the
S
3
iavgonep r60 r70
IF r10 iavgonep r60 r30
IF r20 iavgonep r60 r30
iavgonep r70 r40
iavgonep r70 r40
S
3
0
r dest
Operation
signed
signed
shift down one bit
r src2
r80
r100
r100
1
3
r50
r90
0
0
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
r80
no change, since guard is false
r90
r100
r100
signed
Philips Semiconductors
0x18
0x15
0xfffffffd
0xfffffffd
quadavg iadd
Signed average
ATTRIBUTES
SEE ALSO
Result
dspalu
1, 3
No
25
0
2
2

Related parts for tm1300