《高性能处理器体系结构》TLP-推测多线程和事务存储.ppt

《高性能处理器体系结构》TLP-推测多线程和事务存储.ppt

  1. 1、本文档共41页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * Other thread spawning schemes Based on Cache misses Based on more sophisticated analysis of the code in order to quantify some relevant metrics * * Microarchitectural support for Speculative Architectural Threads Spawning process Looking for an idle context, if there are no free contexts, different solutions can be taken: Not to spawn the thread Wait for a free context Squash one thread and spawn the new one at the recently freed context Computing the logical position of the thread among all the active threads Since it is possible that values flow from one speculative thread to another, the logical order among threads must be known by the processor. The approach to identify the order may depend on the spawning scheme. * * Microarchitectural support for Speculative Architectural Threads Spawning process Initializing the values for the spawned thread In order to perform useful work, speculative threads have to be executed with the correct input values. So, it is necessary to initialize the register and memory values that are to be used by the spawned thread. If such values are available at the spawning point, they can be directly copied from the spawner thread to the new spawned thread. If the values have to be produced by a preceding thread, they may be predicted as described in later subsections or a synchronization may be required. * * Microarchitectural support for Speculative Architectural Threads Committing process When a thread finds a special instruction or when it reaches the TSP of any other active thread, this thread finishes and stops fetching instructions and stalls until it becomes the non-speculative thread. When the non-speculative thread reaches the TSP of any other active thread, it verifies thread that corresponds to the next thread in sequential program order. All input values that consumed but not produced by a thread have to be validated. The verification of the input values can be done either when the non-speculative thread has reached t

文档评论(0)

li455504605 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档