高技术通讯2024,Vol.34Issue(7):671-680,10.DOI:10.3772/j.issn.1002-0470.2024.07.001
基于动态压缩的高存储效率末级分支目标缓冲
A storage efficient last-level branch target buffer based on dynamic compression
摘要
Abstract
With the increasing size and complexity of software systems,the massive instructions bring frequent misses to instruction caches and branch target buffers(BTBs)and hurt central processing unit(CPU)performance.Modern industry CPU designs utilize sufficiently large multi-level BTBs in decoupled front end to reduce performance degra-dation from misses and consequently result in vast BTB storage requirements.However,current compressed BTBs use statical allocation policies that cannot adapt to upcoming branches.To overcome the limitations of current BT-Bs,this work proposes a dynamically compressed BTB called zipped branch target buffer(ZBTB).ZBTB uses an adaptive allocation policy enabled by the employment of variable length target offset with a storage-free least-re-cently-used(LRU)replacement and skewed associativity to reduce conflictions.Evaluate ZBTB on traces from the First Instruction Prefetching Championship(IPC-1).Compared with the state-of-the-art storage-efficient BTBs,ZBTB can reduce the misses by over 66%with the 33.5 kB storage budget.关键词
分支预测/分支目标缓冲(BTB)/压缩/偏斜相联Key words
branch prediction/branch target buffer(BTB)/compression/skewed associativity引用本文复制引用
谭弘泽,王剑..基于动态压缩的高存储效率末级分支目标缓冲[J].高技术通讯,2024,34(7):671-680,10.基金项目
国家重点研发计划(2022YFB3105103)资助项目. (2022YFB3105103)