首页> 外文会议>IEEE Symposium on Computer Arithmetic >A New Variant of the Barrett Algorithm Applied to Quotient Selection
【24h】

A New Variant of the Barrett Algorithm Applied to Quotient Selection

机译:Barrett算法的新变型应用于商数选择

获取原文
获取外文期刊封面目录资料

摘要

Quotient Selection (QS) is a key step in the classic O(n2) multiple precision division algorithm. On processors with fast hardware division, it is a trivial problem, but on GPUs, division is quite slow. In this paper we investigate the effectiveness of Brent and Zimmermann's variant as well as our own novel variant of Barrett's algorithm. Our new approach is shown to be suitable for low radix (single precision) QS. Three highly optimized implementations, two of the Brent and Zimmerman variant and one based on our new approach, have been developed and we show that each is many times faster than using the division operation built in to the compiler. In addition, our variant is on average 22 % faster than the other two implementations. We also sketch proofs of correctness for all of the implementations and our new algorithm.
机译:商选择(QS)是经典O(n 2 )多精度除法算法。在具有快速硬件划分的处理器上,这是一个微不足道的问题,但是在GPU上,划分速度很慢。在本文中,我们研究了Brent和Zimmermann变体以及我们自己的Barrett算法的新颖变体的有效性。我们的新方法显示适用于低基数(单精度)的QS。已经开发了三种高度优化的实现,一种是Brent和Zimmerman变体,一种是基于我们的新方法,并且我们证明,每种实现比使用内置在编译器中的除法运算快许多倍。此外,我们的变体比其他两种实现平均快22 \%。我们还为所有实现和我们的新算法绘制了正确性证明。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号