Patents
US 7,610,472 B2#33074536 Most CitedActiveUnited States (USPTO)Utility

Performing variable and/or bitwise shift operation for a shift instruction that does not provide a variable or bitwise shift option

3Forward Citations (#33074536 Global)
0.2/yrCitation Velocity (#35523923 Global)
1.06Citation PageRank (#38401718 Global)
11Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Some embodiments present a method of performing a variable shift operation. This method can be used by a microprocessor that does not allow variable shift operation for certain operand sizes. The method simulates a shift instruction that shifts an operand by a shift count. The method identifies a first shift command and a second shift command. The method computes a mask value. The mask value depends on whether the shift count is less than half of the operand size or greater than or equal to half of the operand size. The method uses the mask value to cause one of the first shift command and the second shift command to produce no shift. In some embodiments, the method allows for the shift count to be specified in bytes or in bits.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 3.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of performing a variable shift operation by simulating a first shift instruction that shifts a first operand by a variable shift count, the method comprising: a) computing a mask value based on the variable shift count, wherein the mask value normalizes the variable shift count for two possible cases, wherein a first case is when the variable shift count is less than half of a length of the first operand and a second case is when the variable shift count is greater than or equal to half of the length of the first operand; b) using the mask value to perform second and third shift instr

  2. Claim 2Depends on #1

    The method of claim 1

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (1)

  • Intel. "IA-32 Intel(R) Architecture Software Developer's Manual vol. 2: Instruction Set Reference". (C) 2003. p. 3-624.