Device and method for performing a leading zero determination on an operand
AssigneeSun Microsystems, Inc.
InventorMichael L. Ott
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorMichael L. Ott
Estimating the term…
A device for performing a consecutive clear bits count on an operand with an offset includes a plurality of logic circuits, each associated with a prioritized portion of the operand. Each logic circuit activates an all-zero signal when its respective portion of the operand consists of all zeros, performs a leading zero count on its respective portion of the operand, and generates a leading zero signal by offsetting its leading zero count with a first portion of the offset. Also, a priority encoder generates a signal encoding the priority of the highest priority inactive all-zero signal, and muxes select first and second portions of the leading zero signal associated with the highest priority inactive all-zero signal as a first portion of the consecutive clear bits count and a carryout selector signal, respectively, in accordance with the priority encoded signal. Further, adders generate a no-carryout signal by offsetting the priority encoded signal with a second portion of the offset, and generate a carryout signal by offsetting the priority encoded signal with the second portion of the offset and adding one. A mux then selects one of the no-carryout and carryout signals as a second portion of the consecutive clear bits count in accordance with the carryout selector signal.
A device for performing a consecutive clear bits count on an operand with an offset, the device comprising:
A processor device comprising:
An electronic system comprising an input device, an output device, a memory device, and a processor device coupled to the input, output, and memory devices, the processor device comprising:
A method for performing a consecutive clear bits count on an operand with an offset, the method comprising:
Dependencies are inferred from the claim text.