Gathering and Scattering Multiple Data Elements
First Claim
Patent Images
1. A processor comprising:
- a decoder stage to decode a single instruction for accessing data elements at a plurality of memory locations; and
one or more execution units, coupled to the decoder to receive the decoded instruction and responsive to the decoded instruction, to;
issue accesses to one or more of the plurality of memory locations;
detect if any faults or exceptions occur; and
handle any pending traps or interrupts upon completion of the single instruction, or detection of a fault or an exception.
0 Assignments
0 Petitions
Accused Products
Abstract
According to a first aspect, efficient data transfer operations can be achieved by: decoding by a processor device, a single instruction specifying a transfer operation for a plurality of data elements between a first storage location and a second storage location; issuing the single instruction for execution by an execution unit in the processor; detecting an occurrence of an exception during execution of the single instruction; and in response to the exception, delivering pending traps or interrupts to an exception handler prior to delivering the exception.
26 Citations
27 Claims
-
1. A processor comprising:
-
a decoder stage to decode a single instruction for accessing data elements at a plurality of memory locations; and one or more execution units, coupled to the decoder to receive the decoded instruction and responsive to the decoded instruction, to; issue accesses to one or more of the plurality of memory locations; detect if any faults or exceptions occur; and handle any pending traps or interrupts upon completion of the single instruction, or detection of a fault or an exception.
-
-
2. The processor of claim 2, the one or more execution units further to:
-
detect if any traps or interrupts occur; and record detected traps or interrupts as pending traps or interrupts. - View Dependent Claims (3, 4, 5, 6, 7, 8)
-
-
9. A processor comprising:
-
a decoder stage to decode a single instruction for accessing data elements at a plurality of memory locations; and one or more execution units, coupled to the decoder to receive the decoded instruction and responsive to the decoded instruction, to; issue accesses to one or more of the plurality of memory locations; detect if any traps or interrupts occur; record detected traps or interrupts as pending traps or interrupts; detect if any faults or exceptions occur; and handle any pending traps or interrupts upon completion of the single instruction, or detection of a fault or an exception. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A method comprising:
-
decoding a single instruction for accessing data elements at a plurality of memory locations; and receiving the decoded instruction in one or more execution units and responsive to receiving the decoded instruction; issuing accesses to one or more of the plurality of memory locations; detecting if any faults or exceptions occur; and handling any pending traps or interrupts upon completion of the single instruction, or detection of a fault or an exception. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
-
23. A system comprising:
-
a memory controller coupled to a plurality of memory locations; and a processor coupled to the memory controller, the processor comprising; a decoder stage to decode a single instruction for accessing data elements at the plurality of memory locations; and one or more execution units, coupled to the decoder to receive the decoded instruction and responsive to the decoded instruction, to; issue accesses to one or more of the plurality of memory locations; detect if any faults or exceptions occur; and handle any pending traps or interrupts upon completion of the single instruction, or detection of a fault or an exception. - View Dependent Claims (24, 25, 26, 27)
-
Specification