Rounding correction for add-shift-round instruction with dual-use source operand for DSP
AssigneeStexar Corp.
InventorsChad Fogg, Darrell Boggs, Christopher Jones, Gary Brown
Life of this patent
Estimating the term…
Loading patent…
AssigneeStexar Corp.
InventorsChad Fogg, Darrell Boggs, Christopher Jones, Gary Brown
Estimating the term…
A processor having an architecture including an instruction with a source operand from which the processor derives at least one of an operand value and a control value. The source operand may directly specify the operand value or the control value, with the other being implicitly specified. Or, both may be implicitly specified and derived from the source operand value. At least one of the operand value and the control value is implicit, not specified. An ADDSRN instruction which performs addition and right shifting and rounding, in which one of the source operands is an encoded immediate which specifies the shift count N. The processor corrects after the addition and shifting for an absent rounding bias added 2N-1. The ADDSRN instruction is used in accelerating digital signal processing code sequences of the form dest:=(A+B+C+D . . . +M+2) >>N
A processor for executing an arithmetic shift instruction which specifies a plurality of source operands and a shift count, the processor comprising:
A method whereby a processor executes an arithmetic-shift-round instruction which specifies an arithmetic operation, a plurality of source operands, and a shift count, the method comprising:
Dependencies are inferred from the claim text.