发明名称 Performing rounding operations responsive to an instruction
摘要 In one embodiment, the present invention includes a method for receiving a rounding instruction and an immediate value in a processor, determining if a rounding mode override indicator of the immediate value is active, and if so executing a rounding operation on a source operand in a floating point unit of the processor responsive to the rounding instruction and according to a rounding mode set forth in the immediate operand. Other embodiments are described and claimed.
申请公布号 US9223751(B2) 申请公布日期 2015.12.29
申请号 US200611525420 申请日期 2006.09.22
申请人 Intel Corporation 发明人 Zohar Ronen;Story Shane
分类号 G06F9/30;G06F17/10;G06F7/499 主分类号 G06F9/30
代理机构 Trop, Pruner & Hu, P.C. 代理人 Trop, Pruner & Hu, P.C.
主权项 1. A method comprising: receiving a user-level rounding instruction of an instruction set architecture (ISA) having a format including a source operand, a destination operand and an immediate value, in a control selector unit of a processor; determining if a rounding mode override indicator of the immediate value is active by decoding the immediate value in the control selector unit; if so, obtaining a rounding mode field of the immediate value, the rounding mode field separate from the override indicator, and dispatching the source operand and information to control a rounding mode to a floating point unit of the processor coupled to the control selector unit, the rounding mode field to indicate one of a plurality of rounding modes; and executing a rounding operation on a source operand in the floating point unit of the processor responsive to the user-level rounding instruction and according to the information, including when a configuration register is set for denormal numbers as zero and the source operand is a denormal number, converting the source operand to zero before executing the rounding operation.
地址 Santa Clara CA US