PNX1300 Philips, PNX1300 Datasheet - Page 375

no-image

PNX1300

Manufacturer Part Number
PNX1300
Description
Media Processors
Manufacturer
Philips
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PNX1300EH/G
Manufacturer:
NXP
Quantity:
5 510
Part Number:
PNX1300EH/G
Manufacturer:
HIT
Quantity:
5 510
Part Number:
PNX1300EH/G
Manufacturer:
PHILIPS
Quantity:
745
Part Number:
PNX1300EHG
Manufacturer:
MARVELL
Quantity:
36
PNX1300/01/02/11 Data Book
iavgonep
SYNTAX
FUNCTION
DESCRIPTION
sum rsrc1+rsrc2+1, shifts the sum right by 1 bit, and stores the result into rdest. The operands are signed integers.
modification of the destination register. If the LSB of rguard is 1, rdest is written; otherwise, rdest is not changed.
EXAMPLES
A-77
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 rguard ] iavgonep rsrc1 rsrc2
if rguard then
rsrc1
rdest
iavgonep
31
Initial Values
(sign_ext32to64(rsrc1) + sign_ext32to64(rsrc2) + 1) >> 1;
operation optionally takes a guard, specified in rguard. If a guard is present, its LSB controls the
iavgonep
PRELIMINARY SPECIFICATION
Full precision
33-bit result
signed
rdest
32
operation returns the average of the two arguments. This operation computes the
S
iavgonep r60 r70
IF r10 iavgonep r60 r30
IF r20 iavgonep r60 r30
iavgonep r70 r40
iavgonep r70 r40
31
S
0
rdest
Operation
signed
signed
shift down one bit
rsrc2
r80
r100
r100
1
31
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 PNX1300