Sun Microelectronics
205
13. UltraSPARC Extended Instructions
2.
For each 32-bit value, truncate and clip to a 16-bit signed integer starting at
the bit immediately to the left of the implicit binary point (i.e. between bits
16 and 15 of each 32-bit word). Truncation is performed to convert the
scaled value into a signed integer (i.e. rounds toward negative infinity). If
the resulting value is less than -32768, -32768 is delivered as the clipped
value. If the value is greater than 32767, 32767 is delivered. Otherwise the
scaled value is the final result.
3.
Store the result in the 32-bit rd register.
Figure 13-5
FPACKFIX Operation
3
rs2
rd
1
1
0
5
Implicit Binary pt
0
6
1
1
5
3
0
GSR.scale_factor
0110
6
3
rs2
rd
1
3
3
7
0
0
0
0
0
0
1
5
5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com