PNX1300 Philips, PNX1300 Datasheet - Page 447

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
quadavg
SYNTAX
FUNCTION
DESCRIPTION
bytes of rsrc1 and rsrc2. All bytes are considered unsigned. The least-significant 8 bits of each average is written to
the corresponding byte in rdest. No overflow or underflow detection is performed.
modification of the destination register. If the LSB of rguard is 1, rdest is written; otherwise, rdest is not changed.
EXAMPLES
A-149
r30 = 0x0201000e, r40 = 0xffffff02
r10 = 0, r60 = 0x9c9c6464, r70 = 0x649c649c
r20 = 1, r60 = 0x9c9c6464, r70 = 0x649c649c
As shown below, the
The
[ IF rguard ] quadavg rsrc1 rsrc2
if rguard then {
}
rsrc1
temp
rdest<7:0>
temp
rdest<15:8>
temp
rdest<23:16>
temp
rdest<31:24>
quadavg
31
unsigned
(zero_ext8to32(rsrc1<7:0>) + zero_ext8to32(rsrc2<7:0>) + 1) / 2
(zero_ext8to32(rsrc1<15:8>) + zero_ext8to32(rsrc2<15:8>) + 1) / 2
(zero_ext8to32(rsrc1<23:16>) + zero_ext8to32(rsrc2<23:16>) + 1) / 2
(zero_ext8to32(rsrc1<31:24>) + zero_ext8to32(rsrc2<31:24>) + 1) / 2
Four full-precision
Initial Values
temp<7:0>
23
operation optionally takes a guard, specified in rguard. If a guard is present, its LSB controls the
temp<7:0>
temp<7:0>
temp<7:0>
9-bit sums
unsigned
quadavg
PRELIMINARY SPECIFICATION
15
8
unsigned
unsigned
rdest
operation computes four separate averages of the four pairs of corresponding 8-bit
31
unsigned
7
0
unsigned
quadavg r30 r40
IF r10 quadavg r60 r70
IF r20 quadavg r60 r70
8
unsigned
23
unsigned
0
rdest
0
15
Operation
8
unsigned
rsrc2
Unsigned byte-wise quad average
unsigned
31
unsigned
r50
7
0
unsigned
1
8
23
r80
r90
unsigned
unsigned
0
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Issue slots
iavgonep dspuquadaddui
1
r50
no change, since guard is false
r90
0
Philips Semiconductors
15
unsigned
ATTRIBUTES
0x81808008
0x809c6480
SEE ALSO
ifir8ii
1
Result
7
unsigned
dspalu
1, 3
1
No
73
0
2
2

Related parts for PNX1300