首页> 外国专利> Leading zero anticipation

Leading zero anticipation

机译:领先零期待

摘要

A data processing device calculates the difference 110 between the significands of two floating point numbers. To normalise the difference, an intermediate number w is generated 130. This number has either the same number of, one more or one less leading zero than the difference between the significands. The number of leading zeroes in w is counted 140, and input to a left shifter 160 to normalise the difference. In parallel to the counting, two masks are generated from w 150. Both masks have a one in the location of the most significant non zero bit in w and zeroes in the more significant bits. The l mask has zeroes in the less significant bits. The s mask has ones in the less significant bits. The l mask is used to detect an overflow using a logical and operation between the mask and bits of the difference 170. If an overflow has occurred, the difference is shifted right one bit 180. The s mask is used to return trailing bits of the difference by performing a logical and with a subset of the bits of the difference 170. This may be used to generate a sticky bit.
机译:数据处理设备计算两个浮点数的有效位数之间的差110。为了标准化该差,产生中间数w130。该中间数与有效位数之间的差相比具有相同的数量,前导零或多或少一个。 w中的前导零的数目被计数140,并且被输入到左移位器160以对差进行归一化。与计数并行地,从w 150生成两个掩码。两个掩码在w的最高有效非零位的位置中都有一个,而在较高的有效位中的位置为零。 l掩码的低有效位为零。 s掩码的低有效位有一个。 l掩码用于通过掩码与差值170的位之间的逻辑和运算来检测溢出。如果发生溢出,则将差值右移一位180。s掩码用于返回值的尾随位。通过执行逻辑和与差170的位的子集进行差,这可以用于生成粘性位。

著录项

  • 公开/公告号GB2559039A

    专利类型

  • 公开/公告日2018-07-25

    原文格式PDF

  • 申请/专利权人 ARM LIMITED;

    申请/专利号GB20170020229

  • 发明设计人 DAVID RAYMOND LUTZ;

    申请日2017-12-05

  • 分类号G06F7/485;G06F7/499;

  • 国家 GB

  • 入库时间 2022-08-21 12:32:05

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号