Sun Microelectronics
201
13. UltraSPARC Extended Instructions
Description:
The PACK instructions convert to a lower precision fixed or pixel format. Input
values are clipped to the dynamic range of the output format. Packing applies a
scale factor from GSR.scale_factor to allow flexible positioning of the binary point.
Note: For good performance, do not use the result of an FPACK as part of a
64-bit graphics instruction source operand in the next three instruction groups.
Do not use the result of FEXPAND or FPMERGE as a 32-bit graphics instruction
source operand in the next three instruction groups.
Traps:
fp_disabled
13.5.3.1 FPACK16
FPACK16 takes four 16-bit fixed values in rs2, scales, truncates and clips them
into four 8-bit unsigned integers and stores the results in the 32-bit rd register.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com