arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1908.01466cs.AR
收藏

PERI:一种支持位置的RISC-V内核

PERI: A Posit Enabled RISC-V Core

Sugandha Tiwari, Neel Gala, Chester Rebeiro, V. Kamakoti

摘要:

由于Dennard的缩放失败,在过去的十年中,利用计算机体系结构中的机会的突出的新范例急剧增长。Posit和RISC-V是2017年年中推出的两项技术,作为IEEE 754-2008的可行替代方案。与IEEE 754-2008相比,Posit承诺更高的精度,更高的动态范围,更少的未使用状态以及更简单的硬件设计。另一方面,RISC-V提供了一个商业级的开源ISA。它不仅优雅简单,而且具有高度的可扩展性和可定制性,从而促进了新颖的微架构研究和探索。在本文中,我们将这两种技术结合在一起,并提出了第一个Posit Enabled RISC-V内核。本文提供了关于如何利用/修改RISC-V的当前“F”扩展和自定义操作码空间以支持Posit算法的见解。我们还介绍了一个参数化和功能完整的Posit FPU的实现细节,该FPU与RISC-V兼容的SHAKTI C类核心集成,作为执行单元或加速器。为了充分利用Posit的潜力,我们进一步增强了我们的Posit FPU,以最小的开销,支持两种不同的指数大小(正大小为32位)。这允许应用程序在运行时从高精度计算模式切换到具有更高动态范围的模式。在缺乏可行的软件工具链来支持在Posit域中移植应用程序的情况下,我们提出了一种解决方案,说明如何最小限度地修改某些应用程序以利用现有的RISC-V工具链。我们还提供了与IEEE 754-2008相比,Posit可以更好地执行的应用程序的示例。建议的Posit FPU消耗3507片LUT和1294片寄存器的Artix-7- 100 T Xilinx FPGA,而能够在100 MHz的工作。

英文摘要:

Owing to the failure of Dennard's scaling the last decade has seen a steep growth of prominent new paradigms leveraging opportunities in computer architecture. Two technologies of interest are Posit and RISC-V. Posit was introduced in mid-2017 as a viable alternative to IEEE 754-2008. Posit promises more accuracy, higher dynamic range, and fewer unused states along with simpler hardware designs as compared to IEEE 754-2008. RISC-V, on the other hand, provides a commercial-grade open-source ISA. It is not only elegant and simple but also highly extensible and customizable, thereby facilitating novel micro-architectural research and exploration. In this paper, we bring these two technologies together and propose the first Posit Enabled RISC-V core. The paper provides insights on how the current 'F' extension and the custom op-code space of RISC-V can be leveraged/modified to support Posit arithmetic. We also present implementation details of a parameterized and feature-complete Posit FPU which is integrated with the RISC-V compliant SHAKTI C-class core either as an execution unit or as an accelerator. To fully leverage the potential of Posit, we further enhance our Posit FPU, with minimal overheads, to support two different exponent sizes (with posit-size being 32-bits). This allows applications to switch from high-accuracy computation mode to a mode with higher dynamic-range at run-time. In the absence of viable software tool-chain to enable porting of applications in the Posit domain, we present a workaround on how certain applications can be modified minimally to exploit the existing RISC-V tool-chain. We also provide examples of applications which can perform better with Posit as compared to IEEE 754-2008. The proposed Posit FPU consumes 3507 slice LUTs and 1294 slice registers on an Artix-7-100T Xilinx FPGA while capable of operating at 100 MHz.

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

↑