发明名称 Trace synchronization in a processor
摘要 A processor provides trace synchronization information to ensure that address information for reconstructing instruction execution flow is provided in trace records with sufficient frequency. A trace record is provided for instructions that change the program flow such as conditional branches. However, target address information is not provided in the trace record for such instructions as conditional branches, only an indication of whether the branch was taken. Target address information is provided, however, for those instructions in which the target address is in some way data dependent. The processor determines whether each trace record includes address information. Each trace entry providing address information causes a counter to be reloaded to a predetermined value which is the desired maximum number of trace records generated before current program address information is provided. The counter counts each trace record produced which does not include address information. When the count of such trace records reaches the predetermined number, trace logic provides the current program address as a trace entry, thereby providing trace synchronization information.
申请公布号 US6009270(A) 申请公布日期 1999.12.28
申请号 US19970992315 申请日期 1997.12.17
申请人 ADVANCED MICRO DEVICES, INC. 发明人 MANN, DANIEL
分类号 G06F11/26;G06F11/34;G06F11/36;(IPC1-7):G06F9/445 主分类号 G06F11/26
代理机构 代理人
主权项
地址