第一范文网 - 专业文章范例文档资料分享平台

The simplescalar tool set, version 2.0(15)

来源:用户分享 时间:2021-06-02 本文由几番春暮 分享 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

under Contract DABT63-95-C-0127 and ARPA order no. D346. The current support for this work comes from a variety of sources, all of to which we are indebted.

patternhistory

2-bit

predictors

branchbranchprediction

Figure 6. 2-level adaptive predictor structure

-bpred:ras <size>

set the return stack size to <size> (0 entriesmeans to return stack). The default is 8.entries.

-bpred:btb <sets> <assoc>

con gure the BTB to have <sets> sets and an

associativity of <assoc>. The defaults are512 sets and an associativity of 4.

-bpred:spec_update <stage>

allow speculative updates of the branch pre-dictor in the decode or writeback stages(<stage> = [ID|WB]). The default is non-speculative updates in the commit stage.Visualization-pcstat <stat>

record statistic <stat> by text address; described in Section4.3.

-ptrace < le> <range>

pipeline tracing, described in Section5.

4.5 Simulator code le descriptions

The following list describes the functionality of the C code les in thesimplesim-2.0/ directory, which are used by allof the simulators. bitmap.h: Contains support macros for performing bit-map manipulation. bpred.[c,h]: Handles the creation, functionality, and

updates of the branch predictors.bpred_create(), bpred_lookup(), andbpred_update() are the keyinterface functions.

cache.[c,h]: Contains general functions to support

multiple cache types (e.g., TLBs, instruction and data

caches). Uses a linked-list for tag comparisons in caches oflow associativity (less than or equal to four), and a hashtable for tag comparisons in higher-associativity caches.The important interfaces arecache_create(),cache_access(),cache_probe(),

cache_flush(), andcache_flush_addr().

dlite.[c,h]: Contains the code for DLite!, the source-level target program debugger.

endian.[c,h]: De nes a few simple functions to deter-mine byte- and word-order on the host and target platforms.eval.[c,h]: Contains code to evaluate expressions, usedin DLite!.

eventq.[c,h]: De nes functions and macros to handleordered event queues (used for ordering writebacks). Theimportant interface functions areeventq_queue() andeventq_service_events().

loader.[c,h]: Loads the target program into memory,sets up the segment sizes and addresses, sets up the initialcall stack, and obtains the target program entry point. Theinterface isld_load_prog().

main.c: Performs all initialization and launches the mainsimulator function. The key functions are

sim_options(),sim_config(),sim_main(),andsim_stats().

memory.[c,h]: Contains functions for reading from,writing to, initializing, and dumping the contents of the tar-get main memory. Memory is implemented as a large atspace, each portion of which is allocated on demand.mem_access() is the important interface function.misc.[c,h]: Contains numerous useful support func-tions, such asfatal(),panic(),warn(),info(),debug(),getcore(), andelapsed_time().

options.[c,h]: Contains the SimpleScalar optionspackage code, used to process command-line argumentsand/or option speci cations from con g les. Options areregistered with an option database (see the functions calledopt_reg_*()).opt_print_help() generates a helplisting, andopt_print_options() prints the currentoptions’ state.

搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新人文社科The simplescalar tool set, version 2.0(15)全文阅读和word下载服务。

The simplescalar tool set, version 2.0(15).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/wenku/1209420.html(转载请注明文章来源)
热门推荐
Copyright © 2018-2022 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top