6.10. Miscellaneous Instructions

All Diamond processor cores implement the miscellaneous instructions listed in Table 6.7. These instructions are useful in a wide range of applications.

Table 6.7. Miscellaneous Diamond processor core instructions
Instruction mnemonicInstruction definition
NSACalculates the left-shift amount needed to normalize a 32-bit two’s-complement number.
NSAUCalculates the left-shift amount needed to normalize a 32-bit, unsigned number.
MINSelects the minimum value operand from two input operands stored in two’s-complement format.
MAXSelects the maximum value operand from two input operands stored in two’s-complement format.
MINUSelects the minimum value operand from two input operands stored in unsigned format.
MAXUSelects the ...

Get Designing SOCs with Configured Cores now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.