EasyManuals Logo

Sun Microsystems UltraSPARC-I User Manual

Sun Microsystems UltraSPARC-I
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #236 background imageLoading...
Page #236 background image
Sun Microelectronics
221
13. UltraSPARC Extended Instructions
13.5.9 Pixel Component Distance (PDIST)
Format (3):
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.
Table 13-2 Edge Mask Specification (Little-Endian)
Edge Size A2..A0 Left Edge Right Edge
8 000 1111 1111 0000 0001
8 001 1111 1110 0000 0011
8 010 1111 1100 0000 0111
80111111 1000 0000 1111
8 100 1111 0000 0001 1111
8 101 1110 0000 0011 1111
81101100 0000 0111 1111
8 111 1000 0000 1111 1111
16 00x 1111 0001
16 01x 1110 0011
16 10x 1100 0111
16 11x 1000 1111
32 0xx 11 01
32 1xx 10 11
opcode opf operation
PDIST
0 0011 1110
distance between 8 8-bit components
Suggested Assembly Language Syntax
pdist
freg
rs1
,
freg
rs2
,
freg
rd
10 11 0110 rs2rd rs1
31 141924 18 13 02530 29 4
opf
5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Sun Microsystems UltraSPARC-I Specifications

General IconGeneral
BrandSun Microsystems
ModelUltraSPARC-I
CategoryComputer Hardware
LanguageEnglish