Computer register watch
AssigneeSTMicroelectronics S.r.l.
InventorsLaurent Wojcieszak, Isabelle Sename, Stephane Bouvier
Life of this patent
Estimating the term…
Loading patent…
AssigneeSTMicroelectronics S.r.l.
InventorsLaurent Wojcieszak, Isabelle Sename, Stephane Bouvier
Estimating the term…
A computer system includes instruction fetch circuitry, decode circuitry to decode instructions and identify any registers to be used and dispatch circuitry to dispatch instructions to one or more execution units, said system including emulator circuitry for debug operations which is arranged to watch data values in one or more selected registers modified during execution of the instructions, the computer circuitry further comprising a register watch store for identifying one or more registers to be watched, comparator circuitry for comparing registers identified by said decode circuitry with registers identified in said register watch store and providing a hit signal for hits in the comparison, and instruction insertion circuitry responsive to hit signals to insert in the instruction sequence to an execution unit a store instruction to store in a location accessible by the emulation circuitry the data value in a data register identified by a hit signal after execution of the instruction using the data register.
A computer system for executing a sequence of instructions and effecting changes in data held in one or more registers during execution of the instructions, which computer system includes instruction fetch circuitry, decode circuitry to decode instructions and identify any registers to be used in execution of the instruction, and dispatch circuitry to dispatch instructions to one or more execution units after decoding, said computer system including emulator circuitry for debug operations which emulator circuitry is arranged to watch data values in one or more selected registers modified during execution of the instructions, which computer circuitry further comprises a register watch store for identifying one or more registers to be watched, comparator circuitry for comparing registers identified by said decode circuitry with registers identified in said register watch store and providing a hit signal for hits in the comparison, and instruction insertion circuitry responsive to hit signals to insert in the instruction sequence to an execution unit a store instruction to store in a location accessible by the emulation circuitry the data value in a data register identified by a hit signal after execution of the instruction using the data register.
A computer system according to any one of the preceding claims in which a plurality of parallel execution units are provided and said comparator circuitry is arranged to identify which execution unit will receive any instruction providing a hit signal.
A method of executing a sequence of instructions in a computer system and effecting changes in data held in one or more registers during execution of the instructions, which method comprises fetching a sequence of instructions from a program memory, decoding fetched instructions and identifying any registers to be used on execution of each instruction, dispatching decoded instructions to one or more execution units after decoding and executing said instructions, said method further comprising operating emulator circuitry for a debug operation by identifying one or more registers to be watched during instruction execution, comparing said identified registers with registers indicated during decoding of instructions to be executed and forming a hit signal where execution of any instruction will use a register corresponding to an identified register to be watched, and in response to said hit signal inserting a store instruction in the instruction sequence to be supplied to the execution unit so as to store the data value put into the identified register in a store accessible to the emulator circuitry.
Dependencies are inferred from the claim text.