首页> 外文会议> >N-bit unsigned division via n-bit multiply-add
【24h】

N-bit unsigned division via n-bit multiply-add

机译:通过n位乘加运算进行N位无符号除法

获取原文

摘要

Integer division on modern processors is expensive compared to multiplication. Previous algorithms for performing unsigned division by an invariant divisor, via reciprocal approximation, suffer in the worst case from a common requirement for n+1 bit multiplication, which typically must be synthesized from n-bit multiplication and extra arithmetic operations. This paper presents, and proves, a hybrid of previous algorithms that replaces n+1 bit multiplication with a single fused multiply-add operation on n-bit operands, thus reducing any n-bit unsigned division to the upper n bits of a multiply-add, followed by a single right shift. An additional benefit is that the prerequisite calculations are simple and fast. On the Itanium/spl reg/ 2 processor, the technique is advantageous for as few as two quotients that share a common run-time divisor.
机译:与乘法相比,现代处理器上的整数除法昂贵。在最坏的情况下,用于通过除数通过不变除数执行无符号除法的先前算法遭受对n + 1位乘法的共同要求,通常需要从n位乘法和额外的算术运算中合成这些要求。本文介绍并证明了以前的算法的混合,该算法用对n位操作数的单个融合乘法加法运算代替n + 1位乘法,从而将任何n位无符号除法减小为乘法运算的高n位。加,然后右移。另一个好处是前提条件的计算既简单又快速。在Itanium / spl reg / 2处理器上,该技术对于只有两个共享一个共同的运行时除数的商是有利的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号