Invention Grant
US09519483B2 Generating flags for shifting and rotation operations in a processor
有权
在处理器中产生移位和旋转操作的标志
- Patent Title: Generating flags for shifting and rotation operations in a processor
- Patent Title (中): 在处理器中产生移位和旋转操作的标志
-
Application No.: US13334286Application Date: 2011-12-22
-
Publication No.: US09519483B2Publication Date: 2016-12-13
- Inventor: Srikanth Arekapudi , Saurabh Gupta
- Applicant: Srikanth Arekapudi , Saurabh Gupta
- Applicant Address: US CA Sunnyvale
- Assignee: ADVANCED MICRO DEVICES, INC.
- Current Assignee: ADVANCED MICRO DEVICES, INC.
- Current Assignee Address: US CA Sunnyvale
- Agency: Volpe and Koenig, P.C.
- Main IPC: G06F9/30
- IPC: G06F9/30

Abstract:
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.
Public/Granted literature
- US20130166889A1 METHOD AND APPARATUS FOR GENERATING FLAGS FOR A PROCESSOR Public/Granted day:2013-06-27
Information query