Executing Perform Floating Point Operation Instructions

US2016239266A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016239266-A1
Application numberUS-201615137272-A
CountryUS
Kind codeA1
Filing dateApr 25, 2016
Priority dateOct 8, 2007
Publication dateAug 18, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and system are disclosed for executing a machine instruction in a central processing unit. The method comprises the steps of obtaining a perform floating-point operation instruction; obtaining a test bit; and determining a value of the test bit. If the test bit has a first value, (a) a specified floating-point operation function is performed, and (b) a condition code is set to a value determined by said specified function. If the test bit has a second value, (c) a check is made to determine if said specified function is valid and installed on the machine, (d) if said specified function is valid and installed on the machine, the condition code is set to one code value, and (e) if said specified function is either not valid or not installed on the machine, the condition code is set to a second code value.

First claim

Opening claim text (preview).

What is claimed is: 1 . A computer implemented method for performing an instruction for converting a floating-point operand, the instruction having implied operands consisting of a first general register and a second general register, the method comprising: executing, by a processor, the instruction, the executing comprising: (a) based on a test bit of the first general register being a first value: (1) performing a floating-point conversion function specified by a plurality of function fields of the first general register to produce a result, wherein the floating-point conversion function specified is one of a plurality of specifiable floating-point conversion functions, wherein the processor is configured to execute installed floating-point conversion functions of the plurality of specifiable floating-point conversion functions; and (2) storing the result in the second general register and setting a condition code, the condition code indicating whether the performing the floating-point conversion function specified encountered an exceptional condition; and (b) based on the test bit of the first general register being a second value: (1) determining whether the floating-point conversion function specified by the plurality of function fields of the first general register is an installed specifiable floating-point conversion function; (2) setting a condition code without storing a result, the condition code indicating whether the floating-point conversion function specified is an installed specifiable floating-point conversion function; and (3) setting a return code in the second general register. 2 . The method of claim 1 , wherein a first value of the condition code indicates that the function specified is installed and a second value of the condition code value indicates that the function specified is invalid or not installed. 3 . A computer program product for performing an instruction for converting a floating-point operand, the instruction having implied operands consisting of a first general register and a second general register, comprising at least one non-transitory computer usable storage medium having computer readable program code logic tangibly embodied therein for execution by a computer for performing a method comprising: executing, by a processor, the instruction, the executing comprising: (a) based on a test bit of the first general register being a first value: (1) performing a floating-point conversion function specified by a plurality of function fields of the first general register to produce a result, wherein the floating-point conversion function specified is one of a plurality of specifiable floating-point conversion functions, wherein the processor is configured to execute installed floating-point conversion functions of the plurality of specifiable floating-point conversion functions; and (2) storing the result in the second general register and setting a condition code, the condition code indicating whether the performing the floating-point conversion function specified encountered an exceptional condition; and (b) based on the test bit of the first general register being a second value: (1) determining whether the floating-point conversion function specified by the plurality of function fields of the first general register is an installed specifiable floating-point conversion function; (2) setting a condition code without storing a result, the condition code indicating whether the floating-point conversion function specified is an installed specifiable floating-point conversion function; and (3) setting a return code in the second general register. 4 . The computer program product of claim 3 , wherein a first value of the condition code indicates that the function specified is installed and a second value of the condition code value indicates that the function specified is invalid or not installed. 5 . A system for performing an instruction for converting a floating-point operand, the instruction having implied operands consisting of a first general register and a second general register, the system comprising a memory and a processor connected to the memory, the system being configured to perform a method comprising: executing, by a processor, the instruction, the executing comprising: (a) based on a test bit of the first general register being a first value: (1) performing a floating-point conversion function specified by a plurality of function fields of the first general register to produce a result, wherein the floating-point conversion function specified is one of a plurality of specifiable floating-point conversion functions, wherein the processor is configured to execute installed floating-point conversion functions of the plurality of specifiable floating-point conversion functions; and (2) storing the result in the second general register and setting a condition code, the condition code indicating whether the performing the floating-point conversion function specified encountered an exceptional condition; (b) based on the test bit of the first general register being a second value: (1) determining whether the floating-point conversion function specified by the plurality of function fields of the first general register is an installed specifiable floating-point conversion function; (2) setting a condition code without storing a result, the condition code indicating whether the floating-point conversion function specified is an installed specifiable floating-point conversion function; and (3) setting a return code in the second general register. 6 . The system of claim 5 , wherein a first value of the condition code indicates that the function specified is installed and a second value of the condition code value indicates that the function specified is invalid or not installed.

Assignees

Inventors

Classifications

  • G06F7/483Primary

    Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers {(G06F7/4806, G06F7/4824, G06F7/49, G06F7/491, G06F7/544 take precedence)} · CPC title

  • Instruction operation extension or modification · CPC title

  • with variable precision · CPC title

  • Overflow or underflow · CPC title

  • Condition code generation, e.g. Carry, Zero flag · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016239266A1 cover?
A method and system are disclosed for executing a machine instruction in a central processing unit. The method comprises the steps of obtaining a perform floating-point operation instruction; obtaining a test bit; and determining a value of the test bit. If the test bit has a first value, (a) a specified floating-point operation function is performed, and (b) a condition code is set to a value …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F7/483. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Aug 18 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).