Apparatus and method for processing exceptions during execution of string instructions
Abstract
An apparatus and method for handling exceptions during execution of string instructions is provided. The apparatus includes a translator which repetitively generates a micro instruction sequence applicable to the particular string operation, and an execution unit for executing the micro instruction sequence. A counter is provided to hold a count value corresponding to the number of times the micro instruction sequence is to be executed, and is incremented/decremented each time the sequence is executed. The translator continues to generate the micro instruction sequence until receiving a signal from the counter which indicates that all of the string has been operated upon, e.g., if the counter reaches zero. If exceptions occur during the operation of the translator generated string instructions, the value of the counter is stored in a temporary register, the string operation is ended as if the counter reached zero, the exception is handled, the value of the counter is restored, and the string operation is restarted.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 27.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processing system for executing a string instruction, and for handling exceptions during the execution of the string instruction, the processing system comprising: a memory system, for storing a string of data; a translator, for decoding said string instruction into a repetitive sequence of micro instructions for operation upon said string of data, said repetitive sequence not containing a branch instruction for the purpose of repetition; an execution unit, coupled to said translator, for executing said repetitive sequence of micro instructions, wherein said execution unit detects whethe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗