Invention Grant
US07949701B2 Method and system to perform shifting and rounding operations within a microprocessor
有权
在微处理器内执行移位和舍入操作的方法和系统
- Patent Title: Method and system to perform shifting and rounding operations within a microprocessor
- Patent Title (中): 在微处理器内执行移位和舍入操作的方法和系统
-
Application No.: US11498604Application Date: 2006-08-02
-
Publication No.: US07949701B2Publication Date: 2011-05-24
- Inventor: Lucian Codrescu , Erich Plondke , Mao Zeng
- Applicant: Lucian Codrescu , Erich Plondke , Mao Zeng
- Applicant Address: US CA San Diego
- Assignee: QUALCOMM Incorporated
- Current Assignee: QUALCOMM Incorporated
- Current Assignee Address: US CA San Diego
- Agent Nicholas J. Pauley; Peter M. Kamarchik; Jonathan T. Velasco
- Main IPC: G06F7/38
- IPC: G06F7/38 ; G06F7/00 ; G06F15/00

Abstract:
A method and system to perform shifting and rounding operations within a microprocessor, such as, for example, a digital signal processor, during execution of a single instruction are described. An instruction to shift and round data within a source register unit of a register file structure is received within a processing unit. The instruction includes a shifting bit value indicating the bit amount for a right shift operation and is subsequently executed to shift data within the source register unit to the right by an encoded bit value, calculated by subtracting a single bit from the shifting bit value contained within the instruction. A predetermined bit extension is further inserted within the vacated bit positions adjacent to the shifted data. Subsequently, an addition operation is performed on the shifted data and a unitary integer value is added to the shifted data to obtain resulting data. Finally, the resulting data is further shifted to the right by a single bit value and a predetermined bit extension is inserted within the vacated bit position to obtain the final rounded data results to be stored within a destination register unit.
Public/Granted literature
- US20080034189A1 Method and system to perform shifting and rounding operations within a microprocessor Public/Granted day:2008-02-07
Information query