All Diamond processor cores implement the miscellaneous instructions listed in Table 6.7. These instructions are useful in a wide range of applications.
Instruction mnemonic | Instruction definition |
---|---|
NSA | Calculates the left-shift amount needed to normalize a 32-bit two’s-complement number. |
NSAU | Calculates the left-shift amount needed to normalize a 32-bit, unsigned number. |
MIN | Selects the minimum value operand from two input operands stored in two’s-complement format. |
MAX | Selects the maximum value operand from two input operands stored in two’s-complement format. |
MINU | Selects the minimum value operand from two input operands stored in unsigned format. |
MAXU | Selects the maximum value operand from two input operands stored in unsigned format. |
CLAMPS | Signed clamping function, used for saturating arithmetic. |
SEXT | 32-bit sign extension. |
3.133.142.193