首页> 外国专利> Apparatus and method for rounding a floating point value to an integral floating point value

Apparatus and method for rounding a floating point value to an integral floating point value

机译:用于将浮点值四舍五入为整数浮点值的设备和方法

摘要

Processing circuitry is provided to perform an operation FRINT for rounding a floating point value to an integral floating point value. Control circuitry controls the processing circuitry to perform the FRINT operation in response to an FRINT instruction. The processing circuitry includes shifting circuitry for generating a rounding value by shifting a base value adding circuitry for adding the rounding value to the significand of the floating point value to generate a sum value mask generating circuitry for generating a mask for clearing fractional valued bits of the sum value and masking circuitry for applying the mask to the sum value to generate the integral floating point value.
机译:提供处理电路以执行用于将浮点值舍入为整数浮点值的操作FRINT。控制电路响应于FRINT指令控制处理电路执行FRINT操作。该处理电路包括移位电路,用于通过移位用于将舍入值加到浮点值的有效值上的基值添加电路来生成舍入值,以产生和值掩码生成电路,该总和值掩码生成电路用于生成用于清除整数的小数位的掩码。求和值和掩蔽电路,用于将掩码应用于求和值以生成积分浮点值。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号