Cipher message execution in a computing system
AssigneeInternational Business Machines Corporation
InventorsShawn D. LUNDVALL, Ronald M. SMITH, SR., Phil Chi-Chung YEH
Life of this patent
Estimating the term…
Abstract
A method, system and program product for executing a multi-function instruction in an emulated computer system by specifying, via the multi-function instruction, either a capability query or execution of a selected function of one or more optional functions, wherein the selected function is an installed optional function, wherein the capability query determines which optional functions of the one or more optional functions are installed on the computer system.
Claims10
A method for providing a software routine for executing a multi-function instruction for performing a multi-function operation, the method comprising:
- building the software routine to emulate execution of the multi-function instruction of a first computer architecture on a general purpose processor (GPA) of an alternate computer architecture, the multi-function instruction configured to perform a multi-function operation, the software routine comprising a plurality of instructions, the software routine configured to cause the general purpose processor of the alternate computer architecture to perform a method comprising:
- 1) based on the multi-function operation to be performed being a function query operation, performing a) and b), comprising:
- a) determining, by the GPA, for each of one or more multi-function operations whether a corresponding multi-function function is installed on a computer system for execution by a multi-function instruction;
- and
- b) saving, by the GPA, a status word, the status word comprising one or more status word bits, each one of the one or more status word bits indicating whether a corresponding multi-function function is installed on the computer system, each one of the one or more status word bits having a position in the status word corresponding to the corresponding multi-function function;
- and
- 2) based on the multi-function operation to be performed being a multi-function operation other than a function query operation, performing, by the GPA, the multi-function operation;
- and
- 3) storing, by a processor, the software routine on a computer readable tangible storage media;
- and
- 4) providing the computer readable tangible storage media having the software routine, for use by the general purpose processor of an alternate computer architecture.
A method for providing a computer system for executing a multi-function instruction for performing a multi-function operation, the method comprising:
- configuring a processor of a computer system to execute the multi-function instruction, the multi-function instruction configured to perform a multi-function operation, the processor configured to perform a method comprising:
- 1) based on the multi-function operation to be performed being a function query operation, performing a) and b), comprising:
- a) determining, by the processor, for each of one or more multi-function operations whether a corresponding multi-function function is installed on the computer system for execution by a multi-function instruction;
- and
- b) saving, by the processor, a status word, the status word comprising one or more status word bits, each one of the one or more status word bits indicating whether a corresponding multi-function function is installed on the computer system, each one of the one or more status word bits having a position in the status word corresponding to the corresponding multi-function function;
- and
- 2) based on the multi-function operation to be performed being a multi-function operation other than a function query operation, performing, by the processor, the multi-function operation;
- and
- 3) providing the processor of the computer system, which has been configured, to execute the multi-function instruction.
Dependencies are inferred from the claim text.