IP Library › Granted Patent US 9,170,773
Granted Patent B2
US 9,170,773 · App. 14/102,586 · Granted Oct 27, 2015

Mixed precision estimate instruction computing narrow precision result for wide precision inputs

Inventors: Michael K. Gschwind (Chappaqua, NY); Valentina Salapura (Chappaqua, NY)
Assignee: International Business Machines Corporation
G06F7/483G06F7/499G06F7/49905
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,170,773
App. No.
14/102,586
Granted
Oct 27, 2015
Kind
B2
Abstract

A technique is provided for performing a mixed precision estimate. A processing circuit receives an input of a first precision having a wide precision value. The processing circuit computes an output in an output exponent range corresponding to a narrow precision value based on the input having the wide precision value.

Claims (12)

1. A computer system configured to perform a mixed precision estimate, which avoids a need for a normalization and denormalization circuit, the system comprising:

a processing circuit, the system configured to perform a method comprising:

receiving, by the processing circuit, a floating-point input of a wide precision having a wide precision value;

computing, by the processing circuit, a floating-point output of an estimate operation in an output exponent range corresponding to a narrow precision value based on the input having the wide precision value;

based on the input having the wide precision value with an input exponent failing to adhere to a valid exponent range of a valid single precision value, generating a mantissa mask based on the input exponent to be applied to a mantissa of the output;

generating, by the processing circuit, a formatted output by adding an additional exponent bit beyond eight exponent bits to account for the input exponent failing to adhere to the valid exponent range of the valid single precision value, and applying the mantissa mask to the mantissa of the output to reduce mantissa bits according to a degree in which the input exponent fails to adhere to the valid exponent range; and

storing, by the processing circuit, the formatted output having the narrow precision value in a wide precision format register having an architected register storage format in a wide precision format, wherein the wide precision format register includes extra exponent bits compared to a narrow precision format register having an architected register storage format in a narrow precision format for storing the additional exponent bit.

2. The computer system of claim 1 , wherein the method further comprises based on the wide precision value of the input having an input exponent failing to correspond to the output exponent range, generating the output as an out of range value.

3. The computer system of claim 2 , wherein the out of range value comprises at least one of zero and infinity.

4. The computer system of claim 1 , wherein the method further comprises based on the input comprising a wide not a number (NaN), converting the wide not a number to a narrow not a number in which not a number properties are preserved.

5. The computer system of claim 1 , wherein the method further comprises storing the output in a sixty-four bit register with the additional exponent bit beyond the eight exponent bits and with the mantissa of the output reduced;

wherein the output with the additional exponent bit equals to thirty-two bits for single precision while stored by having the mantissa reduced.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 11, 2013
From: GSCHWIND, MICHAEL K.; SALAPURA, VALENTINA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 031756/0634 →
Continuity (2)
Continuation 13369470 · Feb 9, 2012
Related Publication 20140101216A1 · Apr 10, 2014