Generating flags for shifting and rotation operations in a processor
AssigneeAdvanced Micro Devices, Inc.
InventorsSrikanth Arekapudi, Saurabh Gupta
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorsSrikanth Arekapudi, Saurabh Gupta
Estimating the term…
A method and apparatus are described for generating flags in response to processing data during an execution pipeline cycle of a processor. The processor may include a multiplexer configured to generate valid bits for received data according to a designated data size, and a logic unit configured to control the generation of flags based on a shift or rotate operation command, the designated data size and information indicating how many bytes and bits to rotate or shift the data by. A carry flag may be used to extend the amount of bits supported by shift and rotate operations. A sign flag may be used to indicate whether a result is a positive or negative number. An overflow flag may be used to indicate that a data overflow exists, whereby there are not a sufficient number of bits to store the data.
A method of generating flags in response to processing data during an execution pipeline cycle of a processor, the method comprising:
A processor, comprising:
A non-transitory computer-readable storage medium comprising a set of instructions used for manufacturing a semiconductor device, wherein the semiconductor device comprises:
Dependencies are inferred from the claim text.