Invention Grant
- Patent Title: Shift and divide operations using floating-point arithmetic
-
Application No.: US15417472Application Date: 2017-01-27
-
Publication No.: US10216480B2Publication Date: 2019-02-26
- Inventor: Eric M. Schwarz , Craig M. Slegel , Timothy J. Slegel
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent William A. Kinnaman, Jr.
- Main IPC: G06F7/491
- IPC: G06F7/491 ; G06F7/483 ; G06F7/535

Abstract:
An aspect includes fetching a computer instruction, the fetching by an instruction fetch unit. It is determined that the instruction is a decimal divide instruction that specifies a decimal divisor and a decimal dividend. The decimal divisor is converted into a floating-point divisor and the decimal dividend is converted into a floating-point dividend. A floating-point division of the floating-point dividend by the floating-point divisor is performed by an instruction execution unit. It is determined that the floating-point division resulted in a quotient overflow. A reduced size floating-point dividend is generated based on the quotient overflow, the floating-point divisor, and the floating-point dividend. The floating point division of the reduced size floating-point dividend by the floating-point divisor is performed by the instruction execution unit, and a specified number of rightmost bits of the result is output as the quotient.
Public/Granted literature
- US20180217813A1 SHIFT AND DIVIDE OPERATIONS USING FLOATING-POINT ARITHMETIC Public/Granted day:2018-08-02
Information query