arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.08356cs.ARcs.DC
收藏

流语义寄存器:一个轻量级的RISC-V ISA扩展,在单次发布核中实现充分的计算利用率

Stream Semantic Registers: A Lightweight RISC-V ISA Extension Achieving Full Compute Utilization in Single-Issue Cores

Fabian Schuiki, Florian Zaruba, Torsten Hoefler, Luca Benini

摘要:

单次发布处理器内核非常节能,但受到冯·诺依曼瓶颈的影响,因为它们必须显式地获取和发布为其ALU/FPU提供所需的负载/存储。每一条用于移动数据的指令都是一个不用于计算的周期,这将ALU/FPU的利用率限制在33%。我们提出了“流语义寄存器”,以提高利用率和提高能源效率。SSR是一种轻量级、非侵入性的RISC-V ISA扩展,它将内存访问隐式编码为寄存器读/写,消除了大量的加载/存储。我们在现有多核集群的RTL中实现了所提出的扩展,并合成了现代22 nm技术的设计。我们的扩展提供了一个显着的,2倍至5倍,架构加速在不同的内核在一个小的核心面积增加11%。顺序代码在单个核心上的运行速度快3倍,而在集群中需要的核心数量少3倍才能实现相同的性能。利用率提高到几乎100%,使多核集群的能效提高了2倍。该扩展可将指令提取次数减少多达3.5倍,将指令缓存功耗减少多达5.6倍。编译器可以自动将循环嵌套映射到SSR,使更改对程序员透明。

英文摘要:

Single-issue processor cores are very energy efficient but suffer from the von Neumann bottleneck, in that they must explicitly fetch and issue the loads/storse necessary to feed their ALU/FPU. Each instruction spent on moving data is a cycle not spent on computation, limiting ALU/FPU utilization to 33% on reductions. We propose "Stream Semantic Registers" to boost utilization and increase energy efficiency. SSR is a lightweight, non-invasive RISC-V ISA extension which implicitly encodes memory accesses as register reads/writes, eliminating a large number of loads/stores. We implement the proposed extension in the RTL of an existing multi-core cluster and synthesize the design for a modern 22nm technology. Our extension provides a significant, 2x to 5x, architectural speedup across different kernels at a small 11% increase in core area. Sequential code runs 3x faster on a single core, and 3x fewer cores are needed in a cluster to achieve the same performance. The utilization increase to almost 100% in leads to a 2x energy efficiency improvement in a multi-core cluster. The extension reduces instruction fetches by up to 3.5x and instruction cache power consumption by up to 5.6x. Compilers can automatically map loop nests to SSRs, making the changes transparent to the programmer.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑