Invention Grant
US09519456B2 Data processing apparatus and method for performing a shift function on a binary number
有权
用于对二进制数执行移位功能的数据处理装置和方法
- Patent Title: Data processing apparatus and method for performing a shift function on a binary number
- Patent Title (中): 用于对二进制数执行移位功能的数据处理装置和方法
-
Application No.: US14210609Application Date: 2014-03-14
-
Publication No.: US09519456B2Publication Date: 2016-12-13
- Inventor: David Raymond Lutz , Neil Burgess
- Applicant: ARM LIMITED
- Applicant Address: GB Cambridge
- Assignee: ARM Limited
- Current Assignee: ARM Limited
- Current Assignee Address: GB Cambridge
- Agency: Nixon & Vanderhye P.C.
- Main IPC: G06F5/01
- IPC: G06F5/01 ; G06F7/74

Abstract:
A data processing apparatus and method are provided for performing a shift function on a binary number. The apparatus comprises count determination circuitry for determining a number of contiguous bit positions in the binary number that have a predetermined bit value, the count determination circuitry outputting a count value indicative of the number of contiguous bit positions determined. In parallel with the operation of the count determination circuitry, coarse shifting circuitry is used to determine, for at least one predetermined number of contiguous bit positions, whether that predetermined number of contiguous bit positions within the binary number has said predetermined bit value. An initial shift operation is then performed on the binary number based on that determination in order to produce an intermediate binary number. Once the count value is available from the count determination circuitry, fine shifting circuitry then performs a further shift operation on the intermediate binary number, based on the count value output by the count determination circuitry, in order to produce the result binary number. This provides an efficient mechanism for performing a shift function on a binary number, while still capturing the count value from the count determination circuitry.
Public/Granted literature
- US20150261498A1 DATA PROCESSING APPARATUS AND METHOD FOR PERFORMING A SHIFT FUNCTION ON A BINARY NUMBER Public/Granted day:2015-09-17
Information query