Many engineering and scientific applications require high precision arithmetic. IEEE~754-2008 compliant (floating-point) arithmetic is the de facto standard for performing these computations. Recently, posit arithmetic has been proposed as a drop-in replacement for floating-point arithmetic. The posit\texttrademark data representation and arithmetic claim several absolute advantages over the floating-point format and arithmetic, including higher dynamic range, better accuracy, and superior performance-area trade-offs. However, there does not exist any accessible, holistic framework that facilitates the validation of these claims of posit arithmetic, especially when the claims involve long accumulations (quire). In this paper, we present a consolidated general-purpose processor-based framework to support posit arithmetic empiricism. The end-users of the framework have the liberty to seamlessly experiment with their applications using posit and floating-point arithmetic since the framework is designed for the two number systems to coexist. Melodica is a posit arithmetic core that implements parametric fused operations that uniquely involve the quire data type. Clarinet is a Melodica-enabled processor based on the RISC-V ISA. To the best of our knowledge, this is the first-ever integration of quire with a RISC-V core. To show the effectiveness of the Clarinet platform, we perform an extensive application study and benchmark some of the common linear algebra and computer vision kernels. We emulate Clarinet on a Xilinx FPGA and present utilization and timing data. Clarinet and Melodica remain actively under development and is available in open-source for posit arithmetic empiricism.
翻译:许多工程和科学应用都需要高精密的算术。 IEEE~ 754- 2008 符合( 浮点点) 的算术是进行这些计算的实际标准。 最近, 提出了假设算术, 作为浮动点算术的递进替代。 post\ texttradmark数据表示和算术声称, 与浮点格式和算术相比,有一些绝对的优势, 包括更高的动态范围、 更好的准确度和高级性能- 地区取舍。 然而, 没有任何可获取的、 整体的框架, 有利于验证这些算术的要求, 特别是在索赔涉及长期积累( 需要) 的情况下。 在本文件中, 我们提出了一个基于通用通用通用通用的通用的通用处理器精度( IMIS- VSA) 的基于通用的通用处理器基础框架, 框架的最终用户可以无缝地试验它们的应用, 因为为两个数字系统设计了更高的动态范围, Melodica是一个精确的计算核心操作, 克拉里内特( ), 在IMIS- VISA 和直流流流中, 我们的常规的常规的模型中, 和直流流流流数据数据库中, 的一个最佳的模型的模型中, 和直径流流数据流数据流流的模型的模型的模型的模型的模型的模型的模型的模型的模型的精度。