Emulate ldq and stq (load/store long double) instructions. GCC has started using these to load long doubles, but they aren't implemented in hardware on (at least) UltraSPARC I and II machines. Emulate popc in the user trap handler as well. Re-arrange slightly to make support functions more accessible.
Reviewed by: tmm
|