首页 | 本学科首页   官方微博 | 高级检索  
     

基于跳转轨迹的分支目标缓冲研究
引用本文:熊振亚,林正浩,任浩琪.基于跳转轨迹的分支目标缓冲研究[J].计算机科学,2017,44(3):195-201, 214.
作者姓名:熊振亚  林正浩  任浩琪
作者单位:同济大学电子与信息工程学院 上海200092,同济大学微电子中心 上海200092,同济大学电子与信息工程学院 上海200092
摘    要:现代计算机体系结构受两个方面的困扰:性能和能耗。为降低嵌入式处理器日益增长的功耗,提出基于跳转轨迹的分支目标缓冲结构(TG-BTB)。与传统分支目标缓冲每次提取指令时需要查询分支目标缓冲不同,TG-BTB只在执行轨迹预测为跳转时才查询分支目标缓冲。该结构通过在程序执行过程中动态分析跳转轨迹行为,可以实现只在轨迹跳转时查询分支目标缓冲,从而降低功耗。在动态分析过程中首先提取记录两条跳转分支指令之间的指令间隔,然后将提取的指令间隔存储在TG-BTB中,最后根据存储在TG-BTB中的指令间隔决定是否需要查询BTB。基于基准测试向量进行模型验证和性能测试,实验结果表明TG-BTB降低了81%的BTB查询能耗。

关 键 词:跳转轨迹  指令间隔  分支目标缓冲  能耗
收稿时间:2016/12/12 0:00:00
修稿时间:2017/1/12 0:00:00

Efficient BTB Based on Taken Trace
XIONG Zhen-y,LIN Zheng-hao and REN Hao-qi.Efficient BTB Based on Taken Trace[J].Computer Science,2017,44(3):195-201, 214.
Authors:XIONG Zhen-y  LIN Zheng-hao and REN Hao-qi
Affiliation:School of Electronics and Information Engineering,Tongji University,Shanghai 200092,China,Microelectronics Center,Tongji University,Shanghai 200092,China and School of Electronics and Information Engineering,Tongji University,Shanghai 200092,China
Abstract:Computer architecture is beset with two opposing things:performance and energy consumption.To reduce the increasing energy consumption of embedded processor,we proposed a taken trace branch target buffer (TG-BTB) which is an energy efficient BTB scheme for embedded processors.Unlike the conventional BTB scheme,which requires lookup BTB every instruction fetch,the TG-BTB need lookup BTB only when the trace is a taken trace.This structure dynamically analyzes the trace behavior during program execution,and TG-BTB can achieve lookup BTB per taken trace and reduce the energy consumption of BTB lookup.In the process of dynamic analyzing,TG-BTB detects the instruction interval between two taken instructions firstly,and then stores this value into TG-BTB.Finally,the scheme determines to perform BTB lookup or not according to the instruction interval.The experimental results demonstrate TG-BTB achieves 81% energy consumption reduction compared to the conventional BTB scheme.
Keywords:Taken trace  Instruction Interval  BTB  Energy consumption
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号