Sun Microsystems UltraSPARC-I User Manual page 236

Table of Contents

Advertisement

Table 13-2
Edge Mask Specification (Little-Endian)
Edge Size
A2..A0
8
8
8
8
8
8
8
8
16
16
16
16
32
32
13.5.9 Pixel Component Distance (PDIST)
opcode
PDIST
Format (3):
10
rd
31
30 29
25
Suggested Assembly Language Syntax
pdist
freg
rs1
Description:
Eight unsigned 8-bit values are contained in the 64-bit rs1 and rs2 registers. The
corresponding 8-bit values in rs1 and rs2 are subtracted (i.e., rs1 – rs2). The sum
of the absolute value of each difference is added to the integer in the 64-bit rd reg-
ister. The result is stored in rd. Typically, this instruction is used for motion esti-
mation in video compression algorithms.
Note: For good performance, the rd operand of PDIST should not reference the
result of a nonPDIST instruction in the previous two instruction groups.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Left Edge
Right Edge
000
1111 1111
0000 0001
001
1111 1110
0000 0011
010
1111 1100
0000 0111
011
1111 1000
0000 1111
100
1111 0000
0001 1111
101
1110 0000
0011 1111
110
1100 0000
0111 1111
111
1000 0000
1111 1111
00x
1111
01x
1110
10x
1100
11x
1000
0xx
11
1xx
10
opf
0 0011 1110
distance between 8 8-bit components
11 0110
rs1
24
19
18
, freg
, freg
rs2
rd
13. UltraSPARC Extended Instructions
0001
0011
0111
1111
01
11
operation
opf
14
13
5
Sun Microelectronics
rs2
4
0
221

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UltraSPARC-I and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ultrasparc-ii

Table of Contents