Optimizing indirect branch prediction accuracy in virtual machine interpreters

作者
M. Anton Ertl,David Gregg
出处
期刊:Sigplan Notices [Association for Computing Machinery]
卷期号:38 (5): 278-288 被引量:61
标识
DOI:10.1145/780822.781162
摘要

Interpreters designed for efficiency execute a huge number of indirect branches and can spend more than half of the execution time in indirect branch mispredictions. Branch target buffers are the best widely available form of indirect branch prediction; however, their prediction accuracy for existing interpreters is only 2%--50%. In this paper we investigate two methods for improving the prediction accuracy of BTBs for interpreters: replicating virtual machine (VM) instructions and combining sequences of VM instructions into superinstructions. We investigate static (interpreter build-time) and dynamic (interpreter run-time) variants of these techniques and compare them and several combinations of these techniques. These techniques can eliminate nearly all of the dispatch branch mispredictions, and have other benefits, resulting in speedups by a factor of up to 3.17 over efficient threaded-code interpreters, and speedups by a factor of up to 1.3 over techniques relying on superinstructions alone.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
KD完成签到,获得积分10
1秒前
1秒前
英勇的初南完成签到,获得积分10
2秒前
sponge完成签到 ,获得积分10
3秒前
phil完成签到,获得积分10
3秒前
stop here完成签到,获得积分10
3秒前
devilito完成签到,获得积分10
4秒前
轻歌水越完成签到 ,获得积分10
5秒前
优美友绿完成签到,获得积分10
8秒前
cssc完成签到,获得积分10
8秒前
aajhajkahna应助科研通管家采纳,获得10
9秒前
boymin2015完成签到 ,获得积分10
10秒前
能干的飞荷完成签到,获得积分10
12秒前
zqy完成签到 ,获得积分10
14秒前
14秒前
中恐完成签到,获得积分0
23秒前
铜碗完成签到 ,获得积分10
23秒前
悦耳的城完成签到 ,获得积分10
25秒前
30秒前
32秒前
白白不喽完成签到 ,获得积分10
36秒前
靓丽奇迹完成签到 ,获得积分10
42秒前
43秒前
43秒前
芋头发布了新的文献求助10
48秒前
十月完成签到 ,获得积分10
51秒前
wu哈哈完成签到 ,获得积分10
52秒前
56秒前
脾中完成签到 ,获得积分10
56秒前
妖精完成签到 ,获得积分10
56秒前
RaeganWehe完成签到,获得积分10
1分钟前
1分钟前
诗和远方完成签到 ,获得积分10
1分钟前
lzf完成签到 ,获得积分20
1分钟前
阿尔法贝塔完成签到 ,获得积分10
1分钟前
1分钟前
诗和远方完成签到 ,获得积分10
1分钟前
爱笑美女完成签到,获得积分10
1分钟前
Forest完成签到,获得积分0
1分钟前
何ry完成签到 ,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Navigating Normative Orders. Interdisciplinary Perspectives 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
A Case Study on Hotels as Noncongregate Emergency Living Accommodations for Returning Citizens 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7754497
求助须知:如何正确求助?哪些是违规求助? 9301042
关于积分的说明 20260136
捐赠科研通 7336945
什么是DOI,文献DOI怎么找? 3310859
关于科研通互助平台的介绍 2462112
邀请新用户注册赠送积分活动 2324129