Tracing speculatively executed instructions
AssigneeArm Limited
InventorsPaul Anthony GILKERSON, John Michael HORLEY
Life of this patent
Estimating the term…
Loading patent…
AssigneeArm Limited
InventorsPaul Anthony GILKERSON, John Michael HORLEY
Estimating the term…
A trace unit for generating items of trace data indicative of processing activities of a processor executing a stream of instructions, the unit includes trace circuitry for monitoring a behaviour of the processor; storage circuitry for storing current trace control data for controlling the trace circuitry; a data store for storing at least some of the trace control data; the trace circuitry being configured to store the trace control data in the data store in response to detection of execution of the group of instructions, wherein the trace circuitry is responsive to detecting the at least one processor cancelling at least one group of the speculatively executed instructions to retrieve at least some of the trace control data stored in the data store for the group of instructions executed before the cancelled speculatively executed instructions and to store the retrieved trace control data in the storage circuitry.
A trace unit for generating items of trace data indicative of processing activities of at least one processor executing at least one stream of instructions, said at least one stream of instructions comprising a plurality of groups of instructions, said at least one processor executing at least some of said instructions speculatively, said trace unit comprising:
A trace unit according to claim 29 said trace control data comprising a traced-interesting value, said traced-interesting value being set for a group of instructions in response to a trace element being output for said group of instructions and being clear for a group of instructions where no trace element is output for said group of instructions, wherein said trace circuitry is configured to determine said information regarding said difference in dependence upon said traced-interesting value.
A method for generating items of trace data indicative of processing activities of at least one processor executing at least one stream of instructions, said at least one stream of instructions comprising a plurality of groups of instructions, said at least one processor executing at least some of said instructions speculatively, said method comprising the steps of:
A trace means for generating items of trace data indicative of processing activities of at least one processor executing at least one stream of instructions, said at least one stream of instructions comprising a plurality of groups of instructions, said at least one processor executing at least some of said instructions speculatively, said trace means comprising:
Dependencies are inferred from the claim text.