As new technologies are invented, their commercial viability needs to be carefully examined along with their technical merits and demerits. The posit data format, proposed as a drop-in replacement for IEEE 754 float format, is one such invention that requires extensive theoretical and experimental study to identify products that can benefit from the advantages of posits for specific market segments. In this paper, we present an extensive empirical study of posit-based arithmetic vis-\`a-vis IEEE 754 compliant arithmetic for the optical flow estimation method called Lucas-Kanade (LuKa). First, we use SoftPosit and SoftFloat format emulators to perform an empirical error analysis of the LuKa method. Our study shows that the average error in LuKa with SoftPosit is an order of magnitude lower than LuKa with SoftFloat. We then present the integration of the hardware implementation of a posit adder and multiplier in a RISC-V open-source platform. We make several recommendations, along with the analysis of LuKa in the RISC-V context, for future generation platforms incorporating posit arithmetic units.
翻译:随着新技术的发明,需要仔细研究其商业可行性及其技术优点和性能。作为IEE 754浮体格式的现成数据格式,作为IEE 754浮体格式的现成替代物,是一种需要广泛理论和实验研究的发明,以便确定某些市场部分的假设的好处能够从中获益的产品。在本文中,我们介绍了一项广泛的实证研究,即:相对于IEEE 754的符合光学流量估计方法的计算方法,称为Lucas-Kanade(Luka)。首先,我们使用SoftPosit和SoftFloat格式模拟器对LuKa方法进行经验性错误分析。我们的研究显示,LuKa与SoftPosit的平均错误比LuKa和SoftFloat要低一个数量级。我们然后将一个假设附加器和乘数的硬件应用纳入RISC-V公开源平台。我们提出了几项建议,同时对Lu Ka在RISC-V背景下的Lu Ka进行分析,供未来一代纳入计算单位的平台。