Load instruction for communicating with adapters
First Claim
Patent Images
1. A computer program product for executing a load instruction for loading data from an adapter, said computer program product comprising:
- a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
obtaining, by a processor coupled to the adapter, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising;
an opcode field identifying a load from adapter instruction;
a first field identifying a first location at which data fetched from the adapter will be loaded;
a second field identifying a second location, the contents of which include a function handle identifying the adapter, a designation of an address space within the adapter from which data is to be loaded, and an offset within the address space; and
executing, by the processor, the machine instruction, the executing comprising;
using the function handle to obtain a function table entry associated with the adapter, the function table entry stored in memory associated with the processor;
determining a data address of the adapter using at least one of information in the function table entry and the offset; and
fetching data from a specific location in the address space identified by the designation of the address space, the specific location identified by the data address determined based on execution of the machine instruction by the processor.
1 Assignment
0 Petitions
Accused Products
Abstract
Communication with adapters of a computing environment is facilitated. Instructions are provided that explicitly target the adapters. Information provided in an instruction is used to steer the instruction to an appropriate location within the adapter.
198 Citations
20 Claims
-
1. A computer program product for executing a load instruction for loading data from an adapter, said computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; obtaining, by a processor coupled to the adapter, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising; an opcode field identifying a load from adapter instruction; a first field identifying a first location at which data fetched from the adapter will be loaded; a second field identifying a second location, the contents of which include a function handle identifying the adapter, a designation of an address space within the adapter from which data is to be loaded, and an offset within the address space; and executing, by the processor, the machine instruction, the executing comprising; using the function handle to obtain a function table entry associated with the adapter, the function table entry stored in memory associated with the processor; determining a data address of the adapter using at least one of information in the function table entry and the offset; and fetching data from a specific location in the address space identified by the designation of the address space, the specific location identified by the data address determined based on execution of the machine instruction by the processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 20)
-
8. A computer system for executing a load instruction for loading data from an adapter, said computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; obtaining, by a processor configured to be coupled to an adapter, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising; an opcode field identifying a load from adapter instruction; a first field identifying a first location at which data fetched from the adapter will be loaded; a second field identifying a second location, the contents of which include a function handle identifying the adapter, a designation of an address space within the adapter from which data is to be loaded, and an offset within the address space; and executing, by the processor, the machine instruction, the executing comprising; using the function handle to obtain a function table entry associated with the adapter, the function table entry stored in memory associated with the processor; determining a data address of the adapter using at least one of information in the function table entry and the offset; and fetching data from a specific location in the address space identified by the designation of the address space, the specific location identified by the data address determined based on execution of the machine instruction by the processor. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method of executing a load instruction for loading data from an adapter, said method comprising:
-
obtaining, by a processor coupled to the adapter, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising; an opcode field identifying a load from adapter instruction; a first field identifying a first location at which data fetched from the adapter will be loaded; a second field identifying a second location, the contents of which include a function handle identifying the adapter, a designation of an address space within the adapter from which data is to be loaded, and an offset within the address space; and executing, by the processor, the machine instruction, the executing comprising; using the function handle to obtain a function table entry associated with the adapter, the function table entry stored in memory associated with the processor; determining a data address of the adapter using at least one of information in the function table entry and the offset; and fetching data from a specific location in the address space identified by the designation of the address space, the specific location identified by the data address determined based on execution of the machine instruction by the processor. - View Dependent Claims (16, 17, 18, 19)
-
Specification