US2017322803A1PendingUtilityA1

Performing Rounding Operations Responsive To An Instruction

Assignee: INTEL CORPPriority: Sep 22, 2006Filed: Jul 27, 2017Published: Nov 9, 2017
Est. expirySep 22, 2026(~0.2 yrs left)· nominal 20-yr term from priority
G06F 9/30014G06F 17/10G06F 9/30167G06F 7/49947G06F 9/30185G06F 9/30025G06F 9/3001G06F 9/30181G06F 9/30036G06F 7/483
63
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

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.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A system comprising:
 a memory controller; and   a processor core coupled to the memory controller, the processor core comprising:
 a plurality of registers including a first register and a second register; 
 a control register having a first field to indicate a current floating point round mode, and a second field to indicate whether denormals are to be converted to zero; 
 a status register having a third field to store a value, the value to indicate whether an inexact exception has occurred; 
 a control unit to receive a round instruction and to decode fields of the round instruction, the round instruction to identify the first register, which is to store a source operand with a plurality of packed double precision floating point values, the round instruction to indicate that the current floating point round mode is to be used, and the round instruction to indicate to suppress a change in the value of the third field of the status register; and 
 an execution unit coupled to the control unit, and coupled to the plurality of registers, the execution unit, responsive to the round instruction, to:
 convert a denormal of the source operand to zero when the second field indicates that said denormals are to be converted to zero; 
 perform a round operation according to the current floating point round mode, to generate integral valued packed double precision floating point values that correspond to the packed double precision floating point values of the source operand; and 
 store the integral valued packed double precision floating point values in the second register. 
 
   
     
     
         2 . The system of  claim 1 , wherein a bit of the round instruction is to have a value of one when the round instruction is to indicate to suppress the change in the value of the third field of the status register. 
     
     
         3 . The system of  claim 1 , wherein the current floating point round mode is to be any one of:
 round towards negative infinity;   round towards positive infinity;   round to zero; and   round to nearest even.   
     
     
         4 . The system of  claim 1 , wherein the round instruction is included in an instruction set architecture (ISA) with a second round instruction to indicate a packed data register to store a scalar value, and wherein the second round instruction is to cause the processor to perform a round operation on the scalar value to generate an integral valued floating point value. 
     
     
         5 . The system of  claim 1 , further comprising a communication device coupled to the processor core. 
     
     
         6 . The system of  claim 1 , further comprising an I/O device coupled to the processor core. 
     
     
         7 . The system of  claim 1 , further comprising a graphics engine coupled to the processor core. 
     
     
         8 . The system of  claim 1 , further comprising a Peripheral Component Interconnect (PCI) Express bus coupled to the processor core. 
     
     
         9 . The system of  claim 1 , further comprising audio I/O coupled to the processor core.

Join the waitlist — get patent alerts

Track US2017322803A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.