专利内容由知识产权出版社提供
专利名称:System and method for mitigating the
impact of branch misprediction when exitingspin loops
发明人:David Dice,Mark S. Moir申请号:US13362903申请日:20120131公开号:US09304776B2公开日:20160405
专利附图:
摘要:A computer system may recognize a busy-wait loop in program instructions atcompile time and/or may recognize busy-wait looping behavior during execution of
program instructions. The system may recognize that an exit condition for a busy-waitloop is specified by a conditional branch type instruction in the program instructions. Inresponse to identifying the loop and the conditional branch type instruction thatspecifies its exit condition, the system may influence or override a prediction made by adynamic branch predictor, resulting in a prediction that the exit condition will be met andthat the loop will be exited regardless of any observed branch behavior for the
conditional branch type instruction. The looping instructions may implement waiting foran inter-thread communication event to occur or for a lock to become available. Whenthe exit condition is met, the loop may be exited without incurring a misprediction delay.
申请人:David Dice,Mark S. Moir
地址:Foxboro MA US,Wellington NZ
国籍:US,NZ
代理机构:Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
代理人:Robert C. Kowert
更多信息请下载全文后查看