ADSP-BF53x/BF56x Blackfin Processor Programming Reference
18-25
Video Pixel Operations
Syntax Terminology
Dreg
:
R7–0
Dreg_pair
:
R1:0
,
R3:2
, only
Instruction Length
In the syntax, comment (b) identifies 32-bit instruction length.
Functional Description
The Quad 8-Bit Average – Half-Word instruction finds the arithmetic
average of two unsigned quad byte number sets byte wise, adjusting for
byte alignment. This instruction averages four bytes together. The instruc-
tion loads the results as bytes on half-word boundaries in one 32-bit
destination register. Some syntax options load the upper byte in the
half-word and others load the lower byte, as shown in
Table 18-16
,
Table 18-17
, and
Table 18-18
.
In either case, the unused bytes in the destination register are filled with
0x00.
Table 18-16. Source Registers Contain
31................24
23................16
15..................8
7....................0
aligned_src_reg_0:
y3
y2
y1
y0
aligned_src_reg_1:
z3
z2
z1
z0
Table 18-17. The versions that load the result into the lower byte – RNDL
and TL – produce:
31................24
23................16
15..................8
7....................0
dest_reg:
0 . . . . . . 0
avg(y3, y2, z3,
z2)
0 . . . . . . 0
avg(y1, y0, z1,
z0)
Summary of Contents for ADSP-BF53x Blackfin
Page 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...