Dynamic schemes for speculative execution of code

被引:0
|
作者
Raghavan, P
Shachnai, H
Yaniv, M
机构
[1] Ver Inc, Sunnyvale, CA 94089 USA
[2] Technion Israel Inst Technol, Dept Comp Sci, IL-32000 Haifa, Israel
关键词
pipeline processors; speculative execution; branch prediction; on-line algorithms;
D O I
10.1016/S0166-5316(02)00229-8
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Speculative execution of code is becoming a key technique for enhancing the performance of pipeline processors. In this work we study schemes that predict the execution path of a program based on the history of branch executions. Building on previous work, we present a model for analyzing the effective speedup from pipelining, when speculative execution is employed. We follow this with stochastic analyses of several schemes for speculative execution. A main result of our study is that if we can predict branch resolution with high probability (as in the Pentium Pro processor, e.g.) the Single Path scheme commonly used on modem processors is within factor of 2 from the optimal. We conclude with simulations covering several of the settings that we study. (C) 2002 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:125 / 142
页数:18
相关论文
共 50 条
  • [21] Spectre Attacks: Exploiting Speculative Execution
    Kocher, Paul
    Horn, Jann
    Fogh, Anders
    Genkin, Daniel
    Gruss, Daniel
    Haas, Werner
    Hamburg, Mike
    Lipp, Moritz
    Mangard, Stefan
    Prescher, Thomas
    Schwarz, Michael
    Yarom, Yuval
    COMMUNICATIONS OF THE ACM, 2020, 63 (07) : 93 - 101
  • [22] Mixed Speculative Multithreaded Execution Models
    Xekalakis, Polychronis
    Ioannou, Nikolas
    Cintra, Marcelo
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2012, 9 (03)
  • [23] ExSpectre: Hiding Malware in Speculative Execution
    Wampler, Jack
    Martiny, Ian
    Wustrow, Eric
    26TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2019), 2019,
  • [24] Speculative execution in a distributed file system
    Nightingale, Edmund B.
    Chen, Peter M.
    Flinn, Jason
    ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2006, 24 (04): : 361 - 392
  • [25] Speculative Execution Attacks and Cloud Security
    Zhang, Yinqian
    Sion, Radu
    CCSW'19: PROCEEDINGS OF THE 2019 ACM SIGSAC CONFERENCE ON CLOUD COMPUTING SECURITY WORKSHOP, 2019, : 201 - 201
  • [26] Lazy and speculative execution in computer systems
    Lampson, Butler
    Principles of Distributed Systems, Proceedings, 2006, 4305 : 1 - 2
  • [27] The Impact of Speculative Execution on SMT Processors
    Dongsoo Kang
    Chen Liu
    Jean-Luc Gaudiot
    International Journal of Parallel Programming, 2008, 36 : 361 - 385
  • [28] A Survey of Speculative Execution Strategy in MapReduce
    Liu, Qi
    Jin, Dandan
    Liu, Xiaodong
    Linge, Nigel
    CLOUD COMPUTING AND SECURITY, ICCCS 2016, PT I, 2016, 10039 : 296 - 307
  • [29] Value Prediction and Speculative Execution on GPU
    Shaoshan Liu
    Christine Eisenbeis
    Jean-Luc Gaudiot
    International Journal of Parallel Programming, 2011, 39 : 533 - 552
  • [30] A new thread-level speculative automatic parallelization model and library based on duplicate code execution
    Martinez, Millan A.
    Fraguela, Basilio B.
    Cabaleiro, Jose C.
    Rivera, Francisco F.
    JOURNAL OF SUPERCOMPUTING, 2024, 80 (10): : 13714 - 13737