Residue-based error detection for a shift operation
Abstract
Errors in a shift result can be detected with a residue-based mechanism, instead of with duplication of an entire shifter. The commutative property of residue computation over a bit string allows the residue of a value to be independent of the actual bit positions when the divisor is a Merrill number. Without a duplicated shifter, an operand that is the subject of a shift operation is formatted to become a multiple of k, where divisor=2 k −1, and the divisor is used for computation of residues. The shift operation is translated to a single position shift or a zero position shift. The translated shift is applied to the formatted operand to generate a shift check value. Despite different values, the residues of the shift result and the shift check value will be the same as long as bit groups are consistent between the two. An error(s) is detected by comparing the residue of the shift check value with the residue of the shift result.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer program product encoded on machine-readable medium for detecting errors in shifting, wherein said computer program product causes a computer to perform operations comprising: generating a shift check value with bit groupings consistent with a shifted value, wherein the shift check value and the shifted value are generated from an operand of a shift operation and the bit groupings are with respect to a divisor; computing a residue of the shift check value with the divisor; and detecting an error in the shifted value with the residue of the shift check value.
- Claim 2Depends on #1
The computer program product of claim 1 , wherein the detecting errors comprises: computing a residue of the shifted value with the divisor; and comparing the shifted value residue and the check value residue.
- Claim 3Depends on #1
The computer program product of claim 1 , wherein the divisor i
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (2)
- U.S. Appl. No. 11/135,982, filed May 24, 2005, and naming as inventor(s) Sorin Iacobovici.
- U.S. Appl. No. 11/145,397, filed Jun. 3, 2005, and naming as inventor(s) Sorin Iacobovici.