Source: http://patents.com/us-9786338.html
Timestamp: 2017-12-16 16:56:56
Document Index: 697217431

Matched Legal Cases: ['Application No. 103122085', 'Application No. 2015151132', 'Application No. 14817022', 'Application No. 10', 'Application No. 103122085', 'Application No. 201480030741']

US Patent # 9,786,338. Multiple register memory access instructions, processors, methods, and systems - Patents.com
United States Patent 9,786,338
Hinton , et al. October 10, 2017
Hinton; Glenn (Portland, OR), Toll; Bret (Hillsboro, OR), Singhal; Ronak (Portland, OR)
Family ID: 1000002880106
15/238,186
US 20160358636 A1 Dec 8, 2016
Current CPC Class: G11C 7/1036 (20130101); G06F 9/30163 (20130101); G06F 9/30109 (20130101); G06F 9/30043 (20130101)
Current International Class: G06F 9/30 (20060101); G11C 7/10 (20060101)
5913054 June 1999 Mallick et al.
5944811 August 1999 Motomura
6014684 January 2000 Hoffman
6055652 April 2000 Zaidi et al.
6662292 December 2003 Wilson
6807622 October 2004 McGrath
7389317 June 2008 Guttag et al.
2002/0010847 January 2002 Abdallah et al.
2004/0078608 April 2004 Kanapathippillai et al.
2005/0125640 June 2005 Ford et al.
2005/0125641 June 2005 Ford et al.
2006/0095717 May 2006 Glossner et al.
2008/0016319 January 2008 Pappalardo et al.
2008/0235496 September 2008 Pechanek et al.
2010/0106944 April 2010 Symes et al.
2011/0040939 February 2011 Wilson et al.
2014/0149718 May 2014 Hughes et al.
2014/0189296 July 2014 Ould-Ahmed-Vall et al.
2014/0372727 December 2014 Valentine et al.
1890630 Jan 2007 CN
10-228376 Aug 1998 JP
2006120158 Dec 2007 RU
2014/210363 Dec 2014 WO
Office Action received for Taiwan Patent Application No. 103122085, mailed on Mar. 14, 2016, 4 pages of Taiwan Office Action and 1 page of Search Report. cited by applicant .
Non-Final Office Action received for U.S. Appl. No. 13/931,008, mailed on Nov. 4, 2015, 26 pages. cited by applicant .
Notice of Allowability received for U.S. Appl. No. 13/931,008, mailed on Jun. 22, 2016, 2 pages. cited by applicant .
Notice of Allowance received for U.S Appl. No. 13/931,008, mailed on Apr. 20, 2016, 5 pages. cited by applicant .
International Preliminary Report on Patentability and Written Opinion Received for PCT Patent Application No. PCT/US2014/044416, mailed on Jan. 7, 2016, 6 pages. cited by applicant .
International Search Report with Written Opinion received for PCT Application No. PCT/US2014/044416 mailed on Sep. 30, 2014, 9 pages. cited by applicant .
Office Action and Search Report received for Russian Patent Application No. 2015151132 , mailed on Nov. 21, 2016, 15 pages of Russian Office Action including 7 pages of English Translation. cited by applicant .
Extended European Search Report received for European Patent Application No. 14817022.8, mailed on Jan. 23, 2017, 9 pages. cited by applicant .
Office Action received for Korean Patent Application No. 10-2015-7031473, mailed on Oct. 20, 2016, 15 pages of Korean Office Action including 7 pages of English Translation. cited by applicant .
Notice of Allowance received for Taiwanese Patent Application No. 103122085, mailed on Oct. 20, 2016, 3 pages of Taiwanese Notice of Allowance including 1 page of English Translation. cited by applicant .
Office Action received for Chinese Patent Application No. 201480030741.2, dated Apr. 25, 2017, 19 pages of Chinese Office Action only. cited by applicant.
The present application is a continuation of U.S. patent application Ser. No. 13/931,008, filed on Jun. 28, 2013, entitled "MULTIPLE REGISTER MEMORY ACCESS INSTRUCTIONS, PROCESSORS, METHODS, AND SYSTEMS", which is hereby incorporated herein by reference in its entirety and for all purposes.
1. A processor comprising: a plurality of N-bit packed data registers; a decode unit to receive a memory access instruction, the memory access instruction to indicate a memory location and to indicate a packed data register; and an execution engine unit coupled with the decode unit and coupled with the plurality of the N-bit packed data registers, the execution engine unit to perform a memory access operation in response to the memory access instruction, the memory access operation to involve N-bit data, in each of the plurality of the N-bit packed data registers that are to comprise the indicated packed data register, and different corresponding N-bit portions of an M.times.N-bit line of memory, that is to correspond to the indicated memory location, in which a total number of bits of the N-bit data in the plurality of the N-bit packed data registers to be involved in the memory access operation is to amount to all of the M.times.N-bits of the line of memory.
2. The processor of claim 1, in which the execution engine unit is to perform the memory access operation in which the total number of bits of the N-bit data in the plurality of the N-bit packed data registers to be involved in the memory access operation is to amount to at least 512-bits.
3. The processor of claim 1, in which the execution engine unit is to perform the memory access operation that is to involve the N-bit data in each of at least three N-bit packed data registers.
4. The processor of claim 3, in which the execution engine unit is to perform the memory access operation that is to involve the N-bit data in each of at least four N-bit packed data registers.
5. The processor of claim 1, in which the execution engine unit is to perform the memory access operation that is to involve 128-bit data, in each of at least four 128-bit packed data registers, and the different corresponding 128-bit portions of the line of memory that is to be at least 512-bits.
6. The processor of claim 1, in which the execution engine unit is to perform the memory access operation that is to involve 256-bit data, in each of at least two 256-bit packed data registers, and the different corresponding 256-bit portions of the line of memory that is to be at least 512-bits.
7. The processor of claim 1, in which the memory access instruction comprises a load from memory instruction, and in which the execution engine unit is to load the different N-bit portions of the M.times.N-bit line of memory in each of the plurality of the N-bit packed data registers, in response to the load from memory instruction, in which the total number of bits of the different N-bit portions to be loaded in the plurality of the N-bit packed data registers from the M.times.N-bit line of memory is to amount to at least 512-bits.
8. The processor of claim 7, in which the execution engine unit is to load different 128-bit portions of the line of memory in each of at least four 128-bit packed data registers.
9. The processor of claim 7, in which the execution engine unit is to load different 256-bit portions of the line of memory in each of at least two 256-bit packed data registers.
10. The processor of claim 1, in which the memory access instruction comprises a write to memory instruction, and in which the execution engine unit is to write the N-bit data, from each of the plurality of the N-bit packed data registers, to the different corresponding N-bit portions of the M.times.N-bit line of memory, in response to the write to memory instruction, in which the total number of bits of the N-bit data to be written from the plurality of the N-bit packed data registers to the M.times.N-bit line of memory is to amount to at least 512-bits.
11. The processor of claim 1, in which the memory access instruction is to explicitly specify each of the plurality of N-bit packed data registers.
12. The processor of claim 1, in which the memory access instruction is to specify a number of the plurality of N-bit packed data registers.
13. A processor comprising: four 128-bit packed data registers of a set of 128-bit packed data registers; a decode unit to receive a load from memory instruction, the load from memory instruction to indicate a memory location, and to indicate a destination packed data register; and an execution engine unit coupled with the decode unit, and coupled with the four 128-bit packed data registers, the execution engine unit to perform a load from memory operation, in response to the load from memory instruction, the load from memory operation to load four 128-bit portions of a 512-bit line of memory, that is to correspond to the indicated memory location, into the four 128-bit packed data registers that are to comprise the indicated destination packed data register, wherein the four 128-bit packed data registers are implicitly to be sequential 128-bit packed data registers.
14. The processor of claim 13, wherein the processor is capable of viewing each of the four 128-bit packed data registers as two 64-bit packed data registers.
15. The processor of claim 13, wherein the decode unit is to decode the load from memory instruction that is to have a number of registers specifier.
16. A processor comprising: eight 128-bit packed data registers of a set of 128-bit packed data registers; a decode unit to receive a load from memory instruction, the load from memory instruction to indicate a memory location, and to indicate a destination packed data register; and an execution engine unit coupled with the decode unit, and coupled with the eight 128-bit packed data registers, the execution engine unit to perform a load from memory operation, in response to the load from memory instruction, the load from memory operation to load eight 128-bit portions of at least one line of memory, that is to correspond to the indicated memory location, into the eight 128-bit packed data registers that are to comprise the indicated destination packed data register, wherein the eight 128-bit packed data registers are implicitly to be sequential 128-bit packed data registers.
17. The processor of claim 16, wherein the processor is capable of viewing each of the eight 128-bit packed data registers as two 64-bit packed data registers.
18. The processor of claim 16, wherein the decode unit is to decode the load from memory instruction that is to have a number of registers specifier.
19. A processor comprising: two 256-bit packed data registers of a set of 256-bit packed data registers; a decode unit to receive a load from memory instruction, the load from memory instruction to indicate a memory location, and to indicate a destination packed data register; and an execution engine unit coupled with the decode unit, and coupled with the two 256-bit packed data registers, the execution engine unit to perform a load from memory operation, in response to the load from memory instruction, the load from memory operation to load two 256-bit portions of a 512-bit line of memory, that is to correspond to the indicated memory location, into the two 256-bit packed data registers that are to comprise the indicated destination packed data register, wherein the two 256-bit packed data registers are implicitly to be sequential 256-bit packed data registers.
20. The processor of claim 19, wherein the processor is capable of viewing each of the 256-bit packed data registers as two 128-bit packed data registers.
Embodiments described herein generally relate to processors. In particular, embodiments described herein generally relate to accessing data in memory with processors.
Many processors have Single Instruction, Multiple Data (SIMD) architectures. In SIMD architectures, a packed data instruction, vector instruction, or SIMD instruction may operate on multiple data elements (e.g., multiple pairs of data elements) concurrently or in parallel. Multiple data elements may be packed within a register or memory location as packed data. In packed data, the bits of the register or other storage location may be logically divided into a sequence of data elements. For example, a 64-bit wide packed data register may have two packed 32-bit data elements, four packed 16-bit data elements, or eight packed 8-bit data elements. The processor may have parallel execution hardware responsive to the packed data instruction to perform the multiple operations concurrently (e.g., in parallel).
In some processors, there has been a progressive increase over the years in the width of the packed data operands. This increase in width of the packed data operands generally allows more data elements to be processed concurrently (e.g., in parallel), which generally helps to improve performance. For example, a 128-bit wide packed data operand may have four 32-bit data elements (instead of just two in the case of a 64-bit wide packed data operand), eight packed 16-bit data elements (instead of just four in the case of a 64-bit wide packed data operand), and so on.
In certain processors, the increase in the width of the packed data operands is accompanied by a corresponding increase in the width of the registers. However, one possible drawback to increasing the width of the registers is an increase in the area or footprint occupied by the registers on die. For example, expanding each register of a set of 64-bit registers so that they are each 128-bit registers will likely approximately double the area or footprint occupied by the registers on die. The impact will likely even be larger in implementations where there are more physical registers implemented than architectural registers since the size of a greater number of registers may be approximately doubled. Another possible drawback to such an increase in the width of the registers is a corresponding increase in the amount of state, context, or other data stored in the registers that needs to be moved to and from the registers (e.g., saved and restored) on context switches, power mode state saves, and like transitions. For example, for each register 128-bits instead of just 64-bits may need to be swapped in and out on context changes.
Processors typically execute instructions to load data (e.g., packed data operands) from memory and store data (e.g., packed data operands) to memory. For example, a processor may execute a load from memory instruction to load or read a packed data operand from the memory into a destination register. The processor may execute a write to memory instruction to write or store a packed data operand from a source register to the memory.
FIG. 2 is a block flow diagram of an embodiment of a method of processing an embodiment of a multiple register memory access instruction.
FIG. 3 is a block flow diagram of an embodiment of a method of processing an embodiment of a multiple register load from memory instruction.
FIG. 4 is a block flow diagram of an embodiment of a method of processing an embodiment of a multiple register write to memory instruction.
FIG. 5 is a block diagram of a first example embodiment of a suitable multiple register memory access operation.
FIG. 6 is a block diagram of a second example embodiment of a suitable multiple register memory access operation.
FIG. 7 is a block diagram of a third example embodiment of a suitable multiple register memory access operation.
FIG. 8 is a block diagram illustrating an embodiment in which a set of registers may be viewed or accessed as 64-bit registers, 128-bit registers, and 256-bit registers in different views.
FIGS. 9A-9C are block diagrams of embodiments of suitable instruction formats for multiple register memory access instructions.
FIG. 11A is a block diagram of a single processor core, along with its connection to the on-die interconnect network and with its local subset of the Level 2 (L2) cache, according to embodiments of the invention.
FIG. 13 shown is a block diagram of a system in accordance with one embodiment of the present invention.
FIG. 14 shown is a block diagram of a first more specific exemplary system in accordance with an embodiment of the present invention.
FIG. 15 shown is a block diagram of a second more specific exemplary system in accordance with an embodiment of the present invention.
FIG. 16 shown is a block diagram of a SoC in accordance with an embodiment of the present invention.
In the following description, numerous specific details are set forth (e.g., specific operations performed in response to instructions, specific numbers of registers, specific sizes of registers, specific sizes of cache lines, specific processor configurations, specific micro-architectural details, specific sequences of operations, etc.). However, embodiments may be practiced without these specific details. In other instances, well-known circuits, structures and techniques have not been shown in detail to avoid obscuring the understanding of the description.
Conventional memory access instructions often involve only a single register in the memory access. The amount of data exchanged between the memory and the single register is only the width of the single register (e.g., 64-bits in the case of 64-bit registers). However, commonly data in memory is organized as wider "lines." These lines of memory represent the amount of data transmitted or exchanged between the memory and the processor, for example one or more caches of the processor. For example, even though only 64-bits of data may actually be transmitted to or from the register file, commonly a wider whole line of memory having that 64-bits of data may be transmitted between the memory and a cache of the processor. The line of memory may be stored in a cache line within the cache. Many processors commonly use 512-bit wide lines of memory and corresponding 512-bit wide cache lines. A load of 64-bit data into a single destination register may load or retrieve an entire 512-bit line of memory having the 64-bit data into a 512-bit cache line of a cache of the processor and load only the 64-bit data into the single destination register. Only the 64-bits of data will actually be transmitted from the cache to the register file.
One potential drawback of such conventional "single register" memory access instructions is that the utilized bandwidth between the cache and the registers may tend to be relatively low, especially in processors that utilize relatively narrow registers to store packed data. In some cases, other data within the same line of memory and/or cache line may also be needed for processing, but conventionally is not brought into the registers by the instruction. For example, this may be the case for wide packed data operands in memory that are wider than the registers of the processor. In some cases, it may be desirable to load at least half a line of memory, or other cases an entire line of memory, into the registers of the processor. One possible way to load the entire 512-bit line of memory into eight 64-bit registers would be to use eight separate single 64-bit register load from memory instructions. For example, a first single 64-bit register load from memory instruction indicating a first 64-bit data of a 512-bit line in memory may load and store the indicated first 64-bit portion into a first indicated register. The entire 512-bit line of memory may be retrieved into the processor from the memory and stored in a 512-bit cache line. A second single 64-bit register load from memory instruction indicating a second 64-bit data of the 512-bit line in the memory may load the indicated second 64-bit portion from the already loaded 512-bit cache line and store the second 64-bit data in a second indicated register. Similarly, the third through eight single 64-bit register load from memory instructions may also use the data from the cache line already loaded in the cache. However, a possible drawback to such an approach is the need to execute multiple instructions, which tends to increase code size and processing time, and may involve multiple cache accesses.
Disclosed herein are multiple register memory access instructions, processors to execute the instructions, methods performed by the processors when processing or executing the instructions, and systems incorporating one or more processors to process or execute the instructions.
FIG. 1 is a block diagram of an embodiment of a computer system 100. In various embodiments, the computer system may represent a desktop computer, laptop computer, notebook computer, tablet computer, netbook, smartphone, personal digital assistant, cellular phone, server, network device (e.g., router or switch), Mobile Internet device (MID), media player, smart television, set-top box, video game controller, or other type of electronic device having at least one processor.
The computer system includes a processor 102 and a memory 120. The memory may include one or more memory devices of either the same or different types. One common type of memory that is suitable for embodiments is dynamic random access memory (DRAM), although other types of memory (e.g., flash memory) may also be used. The processor and the memory are coupled with one another by an interconnection mechanism 124. Any conventional interconnection mechanism known in the arts for coupling a processor with a memory is suitable. Examples of such mechanisms include, but are not limited to, interconnects, busses, hubs, memory controllers, chipsets, chipset components, and the like, and combinations thereof.
The processor 102 represents an instruction processing apparatus that is operable to process instructions. In some embodiments, the processor may be a general-purpose processor (e.g., a general-purpose microprocessor of the type used in desktop, laptop, and like computers). Alternatively, the processor may be a special-purpose processor. Examples of suitable special-purpose processors include, but are not limited to, network processors, communications processors, cryptographic processors, graphics processors, co-processors, embedded processors, digital signal processors (DSPs), and controllers (e.g., microcontrollers), to name just a few examples. The processor may be any of various complex instruction set computing (CISC) processors, various reduced instruction set computing (RISC) processors, various very long instruction word (VLIW) processors, various hybrids thereof, or other types of processors entirely.
The processor 102 may receive a multiple register memory access instruction 104. In some embodiments, the multiple register memory access instruction may represent a multiple register load from memory instruction. In other embodiments, the multiple register memory access instruction may represent a multiple register store to memory instruction. The multiple register memory access instruction may represent a machine code instruction, assembly language instruction, macroinstruction, or control signal of an instruction set of the processor. In some embodiments, the multiple register memory access instruction may explicitly specify (e.g., through a set of bits or one or more fields), or otherwise indicate (e.g., implicitly indicate), a memory location 118 in the memory 120, and may explicitly specify or otherwise indicate a register 112 (e.g., a register implemented by a set of N-bit registers 110).
The processor includes an instruction decode unit 106. The instruction decode unit may also be referred to as a decode unit, decoder, or decode logic. The decode unit may receive and decode relatively higher-level instructions (e.g., machine code instructions, assembly language instructions, macroinstructions), and output one or more relatively lower-level instructions or control signals (e.g., microinstructions, micro-operations, micro-code entry points) that reflect, represent, and/or are derived from the higher-level instructions. The one or more lower-level instructions or control signals may implement the higher-level instruction through one or more lower-level (e.g., circuit-level or hardware-level) operations. The decode unit may be implemented using various different mechanisms including, but not limited to, microcode read only memories (ROMs), look-up tables, hardware implementations, programmable logic arrays (PLAs), and other mechanisms used to implement decode units known in the art.
In other embodiments, an instruction emulator, translator, morpher, interpreter, or other instruction conversion logic may be used. Various different types of instruction conversion logic are known in the arts and may be implemented in software, hardware, firmware, or a combination thereof. The instruction conversion logic may emulate, translate, morph, interpret, or otherwise convert the instruction into one or more corresponding derived instructions or control signals. In some embodiments, both instruction conversion logic and a decode unit may be used. For example, the instruction conversion logic may convert an instruction into one or more intermediate instructions, and the decode unit may decode the one or more intermediate instructions into one or more lower-level instructions or control signals executable by integrated circuitry of the processor. The instruction conversion logic may be located outside the processor (e.g., on a separate die or in memory), on the processor, or a combination.
Referring again to FIG. 1, a memory access unit 108 is coupled with the decode unit 106. The memory access unit may receive one or more decoded or otherwise converted instructions or control signals that represent and/or are derived from the multiple register memory access instruction 104. The memory access unit is also coupled with the memory 120 through the interconnection mechanism 124. The memory access unit may implement one or more components often found in the memory subsystem of processors to access or interact with the memory. Examples of such components include, but are not limited to, memory access logic, a bus interface unit, one or more levels of cache, one or more translation lookaside buffers (TLSs), virtual address translation logic, etc. As shown, the memory access unit may have at least one cache 109.
The processor 102 also includes a set of N-bit registers 110. Each of the registers may represent an on-die storage location that is operable to store data, for example N-bit data. In some embodiments, the N-bit registers may represent packed data registers that are operable to store N-bit packed data, vector data, or single instruction multiple data (SIMD) data, although this is not required. In various embodiments, the N-bit registers may be 64-bit registers, 128-bit registers, or 256-bit registers. Alternatively, the N-bit registers may have other sizes (e.g., 32-bit registers, 80-bit registers, etc.). In some embodiments, the set of N-bit registers may include, implement, or otherwise comprise the register 112 that is indicated by the multiple register memory access instruction. The registers may be visible to software and/or a programmer and/or may be specified by instructions of the instruction set to identify operands. The registers may be implemented in different ways in different microarchitectures using well-known techniques and are not limited to any particular type of circuit. Examples of suitable types of registers include, but are not limited to, dedicated physical registers, dynamically allocated physical registers using register renaming, and combinations thereof.
As previously mentioned, in some embodiments, the multiple register memory access instruction 104 may explicitly specify (e.g., through a set of bits or one or more fields), or otherwise indicate (e.g., implicitly indicate) a register 112. In some embodiments, the set of N-bit registers may include, implement, or otherwise comprise the register 112 indicated by the multiple register memory access instruction. Moreover, in some embodiments, the multiple register memory access instruction may explicitly specify or otherwise indicate a memory location 118 in the memory. In some embodiments, data in the memory may be organized as lines of memory. The illustration shows an M.times.N-bit line of memory 116 that corresponds to the indicated memory location 118 (for example includes data at the indicated memory location). The M.times.N-bit line of memory has an integer M number of N-bit wide portions of data. As shown, the M.times.N-bit line of memory may have a first N-bit data 114-1 through an Mth N-bit data 114-M. In some embodiments, the M.times.N-bit line is at least 512-bits. In one embodiment, the integer N may be 128-bits and the integer M may be four. In another embodiment, the integer N may be 256-bits and the integer M may be two. In yet another embodiment, the integer N may be 64-bits and the integer M may be eight. In other embodiments, the M.times.N-bit line width may have other widths (e.g., 256-bits, at least 512-bits, 1024-bits, etc.). The number M of N-bit data elements is generally equal to the width of the line of memory divided by the width of the N-bit data elements. In some embodiments, the M.times.N-bit line may have a width equal to that of a cache line of the processor.
In some embodiments, the memory access unit 108 may be operable in response to and/or as a result of the multiple register memory access instruction 104 (e.g., in response to the one or more decoded or otherwise converted instructions or control signals that represent and/or are derived from the multiple register memory access instruction) to perform a multiple register memory access operation. In some embodiments, the multiple register memory access operation may involve N-bit data, in each of a plurality of N-bit registers 110 that are to include, implement, or otherwise comprise the register 112 indicated by the instruction 104. Moreover, in some embodiments, the multiple register memory access operation may also involve different corresponding N-bit portions 114 of the M.times.N-bit line of memory 116 that is to correspond to the indicated memory location 118. As shown, the M.times.N-bit line of memory may be stored in an M.times.N-bit cache line 122 of the cache 109, for example, in a generally conventional way. The memory access unit and/or the processor may include specific or particular logic (e.g., circuitry or other hardware potentially combined with firmware and/or software) operable to perform the operations responsive to the instruction.
In some embodiments, the multiple register memory access instruction may be a multiple register load from memory instruction. In response to the multiple register load from memory instruction, in some embodiments, the processor may load the different N-bit portions of the M.times.N-bit line of memory in each of the plurality of the N-bit registers. In other embodiments, the multiple register memory access instruction may be a multiple register write to memory instruction. In response to the multiple register write to memory instruction, in some embodiments, the processor may write the N-bit data, from each of the plurality of the N-bit registers, to the different corresponding N-bit portions of the M.times.N-bit line of memory.
In some embodiments, a total number of bits involved in the multiple register memory access operation (e.g., the sum of the N-bit data in each of the plurality of N-bit registers 110 involved in the operation) may amount to at least half, or in some cases up to all, of the M.times.N-bits of the line of memory 116. In some embodiments, at least half, or in some cases up to all, of the M.times.N-bits of the line of memory may be transmitted from the cache 109 to the set of registers 110. In various embodiments, at least two, three, four, or more registers may be involved. As one example, in an embodiment where the M.times.N-bits is equal to 512-bits and N is equal to 128-bits, then in various aspects at least two 128-bit registers 110, in some cases three 128-bit registers 110, or in some cases four 128-bit registers 110, may be involved in the multiple register memory access operation. As another example, in an embodiment where the M.times.N-bits is equal to 512-bits and N is equal to 64-bits, then in various aspects at least three 64-bit registers 110, at least four 64-bit registers 110, or in some cases anywhere up to eight 64-bit registers 110, may be involved in the multiple register memory access operation. As yet another example, in an embodiment where the M.times.N-bits is equal to 512-bits and N is equal to 256-bits, two 256-bit registers 110 may be involved in the multiple register memory access operation.
To avoid obscuring the description, a relatively simple processor 102 has been shown and described. In other embodiments, the processor may optionally include other well-known components found in processors. Examples of such components include, but are not limited to, a branch prediction unit, an instruction fetch unit, instruction and data translation lookaside buffers, prefetch buffers, microinstruction queues, microinstruction sequencers, a register renaming unit, an instruction scheduling unit, a retirement unit, other components included in processors, and various combinations thereof. There are literally numerous different combinations and configurations of components in processors, and embodiments are not limited to any particular combination or configuration. Embodiments may be included in processors have multiple cores, logical processors, or execution engines at least one of which is able to perform an embodiment of an multiple register memory access instruction.
FIG. 2 is a block flow diagram of an embodiment of a method 230 of processing an embodiment of a multiple register memory access instruction. The method may be performed by and/or within a processor, instruction processing apparatus, integrated circuit, or the like.
The method includes receiving the multiple register memory access instruction, at block 231. In some embodiments, the multiple register memory access instruction may specify or otherwise indicate a memory location, and may specify or otherwise indicate a register. In various aspects, the instruction may be received at a processor, an instruction processing apparatus, or a portion thereof (e.g., an instruction fetch unit, a decode unit, an instruction converter, etc.). In various aspects, the instruction may be received from an off-die source (e.g., from memory, a disc, an interconnect, etc.), or from an on-die source (e.g., from an instruction cache, an instruction fetch unit, etc.).
The method includes performing a multiple register memory access operation in response to the multiple register memory access instruction, at block 232. In some embodiments, a memory access unit or other portion of the processor may perform the memory access operation. In some embodiments, the multiple register memory access operation may involve N-bit data, in each of a plurality of N-bit registers that include, implement, or otherwise comprise the indicated register, and different corresponding N-bit portions of an M.times.N-bit line of memory, corresponding to the indicated memory location (e.g., the M.times.N-bit line of memory includes the data at the indicated memory location).
In some embodiments, a total number of bits of the N-bit data in the plurality of the N-bit registers involved in the multiple register memory access operation may amount to at least half, or in some cases up to all, of the M.times.N-bits of the line of memory. In some embodiments, the total number of bits of the N-bit data in the plurality of the N-bit registers involved in the multiple register memory access operation may amount to at least 256-bits, at least 512-bits, or in some cases more bits (e.g., 1024-bits). In various embodiments, at least two, three, four, or more registers may be involved in the multiple register memory access operation.
FIG. 3 is a block flow diagram of an embodiment of a method 330 of processing an embodiment of a multiple register load from memory instruction. The method may be performed by and/or within a processor, instruction processing apparatus, integrated circuit, or the like.
The method includes receiving the multiple register load from memory instruction, at block 331. In some embodiments, the multiple register load from memory instruction may specify or otherwise indicate a memory location, and may specify or otherwise indicate a register. The instruction may be received in the various ways described above in conjunction with FIG. 2.
The method also includes performing a multiple register load from memory operation in response to the multiple register load from memory instruction, at block 332. In some embodiments, a memory access unit or other portion of the processor may perform the operation. In some embodiments, performing the operation may include loading different N-bit portions, of an M.times.N-bit line of memory corresponding to the indicated memory location, in each of a plurality of N-bit registers that comprise the indicated register. In some embodiments, this may include transmitting the different N-bit portions from an M.times.N-bit cache line from the cache to each of the different N-bit registers.
In some embodiments, a total number of bits of the different N-bit portions loaded in the plurality of the N-bit registers from the M.times.N-bit line of memory amounts to at least half, or in some cases up to all, of the M.times.N-bits of the line of memory. In some embodiments, the total number of bits of the different N-bit portions loaded in the plurality of the N-bit registers from the M.times.N-bit line of memory may amount to at least 256-bits, at least 512-bits, or in some cases more bits (e.g., 1024-bits). In various embodiments, at least two, three, four, or more registers may be involved in the multiple register load from memory operation. In one specific example, the operation may load different 128-bit portions of the line of memory which is at least 512-bits in each of at least four 128-bit registers. In another specific example, the operation may load different 256-bit portions of the line of memory which is at least 512-bits in each of at least two 256-bit registers.
FIG. 4 is a block flow diagram of an embodiment of a method 430 of processing an embodiment of a multiple register store to memory instruction. The method may be performed by and/or within a processor, instruction processing apparatus, integrated circuit, or the like.
The method includes receiving the multiple register store to memory instruction, at block 431. In some embodiments, the multiple register store to memory instruction may specify or otherwise indicate a memory location, and may specify or otherwise indicate a register. The instruction may be received in the various ways described above in conjunction with FIG. 2.
The method also includes performing a multiple register store to memory operation in response to the multiple register store to memory instruction, at block 432. In some embodiments, a memory access unit or other portion of the processor may perform the operation. In some embodiments, performing the operation may include writing N-bit data, from each of a plurality of N-bit registers that comprise the indicated register, to different corresponding N-bit portions of an M.times.N-bit line of memory corresponding to the indicated memory location. In some embodiments, this may include transmitting the N-bit data from each of the plurality of the N-bit registers to a cache and storing each of the different N-bit data in a different N-bit portion of an M.times.N-bit cache line.
In some embodiments, a total number of bits of the N-bit data written from the plurality of the N-bit registers to the M.times.N-bit line of memory may amount to at least half, or in some cases up to all, of the M.times.N-bits of the line of memory. In some embodiments, the total number of bits of the N-bit data written from the plurality of the N-bit registers to the M.times.N-bit line of memory may amount to at least 256-bits, at least 512-bits, or in some cases more bits (e.g., 1024-bits). In various embodiments, at least two, three, four, or more registers may be involved in the multiple register store to memory operation.
The methods of FIGS. 2-4 have been described in relatively basic form. However, operations may optionally be added to and/or removed from the methods. For example, in some embodiments, an operation may optionally be added to any of these methods to store N-bit data associated with the plurality of N-bit registers (e.g., to be loaded into the N-bit registers or being written from the N-bit registers) in different corresponding N-bit portions of an M.times.N-bit cache line in a cache. As another example, in some embodiments, an operation may optionally be added to any of these methods to transmit the N-bit data associated with the plurality of N-bit registers (e.g., to be loaded into the N-bit registers or being written from the N-bit registers) between a cache and the N-bit registers. As further examples, one or more operations may optionally be added to fetch instructions, decode instructions, retire instructions, or the like, or various combinations thereof.
In some embodiments, the operations and/or methods of any of FIGS. 2-4 may be performed by and/or within the processor of FIG. 1. Optionally, the details and optional details described above for the processor of FIG. 1 also optionally apply to the operations and/or methods of FIGS. 2-4, which in embodiments may be performed by and/or within such a processor. Alternatively, the operations and/or method of any of FIGS. 2-4 may be performed by and/or within a similar or different processor. Moreover, the processor of FIG. 1 may perform operations and/or methods the same as, similar to, or different than those of any of FIGS. 2-4.
FIG. 5 is a block diagram of a first example embodiment of a suitable multiple register memory access operation 530 that may be performed in response to a first example embodiment of a multiple register memory access instruction. The multiple register memory access instruction may indicate a memory location 518 in a memory 520 and a register 512 of a processor 502. In this embodiment, the indicated memory location is to correspond to a 512-bit line of memory 516 having four 128-bit data portions 514-1 through 514-4. For example, the 512-bit line of memory may store data at the indicated memory location. In this embodiment, the indicated register is to include, be implemented by, or otherwise comprise a set of four 128-bit registers 510. In some embodiments, the four 128-bit registers may be adjacent or sequential registers.
In this embodiment, the multiple register memory access operation is to involve four different 128-bit data portions 514, in each of the four 128-bit registers 510, and different corresponding 128-bit portions 514 of the 512-bit line of memory 516. For example, the operation may transfer or exchange data between the 512-bit line of memory and the set of four 128-bit registers. In some embodiments, the operation may be an embodiment of a multiple register load from memory operation and the 128-bit data portions 514 may be loaded or read from the 512-bit line of memory 516 into the four 128-bit registers 510. In other embodiments, the operation may be an embodiment of a multiple register write to memory operation and the 128-bit data portions 514 may be written or stored from the four 128-bit registers 510 to the 512-bit line of memory 516.
The 512-bit line of memory may also be stored in a 512-bit cache line 522 of a cache 509. In some embodiments, data may be exchanged between the memory and the processor (e.g., the cache) over an interconnect 524. In some embodiments, the interconnect 524 may have a bit-width of 512-bits, 256-bits, or some other bit width depending on the clock rates, etc. In some embodiments, data may be exchanged between the cache and the set of four 128-bit registers over an interconnect 534. In some embodiments, the interconnect 534 may have a bandwidth or bit width of 512-bits, or at least 256-bits, depending on the clock rates, etc. The scope of the invention is not limited to the bit widths of the interconnect 524 or 534.
FIG. 6 is a block diagram of a second example embodiment of a suitable multiple register memory access operation 630 that may be performed in response to a second example embodiment of a multiple register memory access instruction. The multiple register memory access instruction may indicate a memory location 618 in a memory 620 and a register 612 of a processor 602. In this embodiment, the indicated memory location is to correspond to a 512-bit line of memory 616 having two 256-bit data portions 614-1 through 614-2. For example, the 512-bit line of memory may store data at the indicated memory location. In this embodiment, the indicated register is to include, be implemented by, or otherwise comprise a set of two 256-bit registers 610-1, 610-2. In some embodiments, the two 256-bit registers may be adjacent or sequential registers.
In this embodiment, the multiple register memory access operation is to involve two different 256-bit data portions 614, in each of the two 256-bit registers 610, and different corresponding 256-bit portions 614 of the 512-bit line of memory 616. For example, the operation may transfer or exchange data between the 512-bit line of memory and the two 256-bit registers. In some embodiments, the operation may be an embodiment of a multiple register load from memory operation and the 256-bit data portions 614 may be loaded or read from the 512-bit line of memory 616 into the two 256-bit registers 610. In other embodiments, the operation may be an embodiment of a multiple register write to memory operation and the 256-bit data portions 614 may be written or stored from the two 256-bit registers 610 to the 512-bit line of memory 616.
The 512-bit line of memory may also be stored in a 512-bit cache line 622 of a cache 609. In some embodiments, data may be exchanged between the memory and the processor (e.g., the cache) over an interconnect 624. In some embodiments, the interconnect 624 may have a bit-width of 512-bits, 256-bits, or some other bit width depending on the clock rates, etc. In some embodiments, data may be exchanged between the cache and the set of two 256-bit registers over an interconnect 634. In some embodiments, the interconnect 634 may have a bandwidth or bit width of 512-bits, or at least 256-bits, depending on the clock rates, etc. The scope of the invention is not limited to the bit widths of the interconnect 624 or 634.
FIG. 7 is a block diagram of a third example embodiment of a suitable multiple register memory access operation 730 that may be performed in response to a third example embodiment of a multiple register memory access instruction. The multiple register memory access instruction may indicate a memory location 718 in a memory 720 and a register 712 of a processor 702. In this embodiment, the indicated memory location is to correspond to a 512-bit line of memory 716 having eight 64-bit data portions 714-1 through 714-8. For example, the 512-bit line of memory may store data at the indicated memory location. In this embodiment, the indicated register is to include, be implemented by, or otherwise comprise a set of four 64-bit registers 710. In other embodiments, anywhere between four and eight 64-bit registers 710 may be used (e.g., six, eight, etc.). In some embodiments, the four or up to eight 64-bit registers may be adjacent or sequential registers.
In this embodiment, the multiple register memory access operation is to involve four (or up to eight) different 64-bit data portions 714, in each of the four (or up to eight) 64-bit registers 710, and different corresponding 64-bit portions 714 of the 512-bit line of memory 716. For example, the operation may transfer or exchange data between the four (or up to eight) data portions of the 512-bit line of memory and the four (or up to eight) 64-bit registers. In some embodiments, the operation may be an embodiment of a multiple register load from memory operation and the four (or up to eight) 64-bit data portions 714 may be loaded or read from the 512-bit line of memory 716 into the four (or up to eight) 64-bit registers 710. In other embodiments, the operation may be an embodiment of a multiple register write to memory operation and the four (or up to eight) 64-bit data portions 714 may be written or stored from the four (or up to eight) 64-bit registers 710 to the 512-bit line of memory 716. In the illustrated example embodiment, a lowest order half of the 512-bit line of memory (i.e., including lowest order four data portions 714-1 through 714-4) is used, although this is not required. In another embodiment, a highest order half, or some other portion, may be used instead.
The 512-bit line of memory may also be stored in a 512-bit cache line 722 of a cache 709. In some embodiments, data may be exchanged between the memory and the processor (e.g., the cache) over an interconnect 724. In some embodiments, the interconnect 724 may have a bit-width of 512-bits, 256-bits, or some other bit width depending on the clock rates, etc. In some embodiments, data may be exchanged between the cache and the set of four (or up to eight) 64-bit registers over an interconnect 734. In some embodiments, the interconnect 734 may have a bandwidth or bit width of 128-bits or 256-bits (e.g., in the case of only four registers being used), or 256-bits or 512-bits (e.g., in the case of up to eight registers being used), depending on the clock rates, etc. The scope of the invention is not limited to the bit widths of the interconnect 724 or 734.
It is to be appreciated that these are just a few illustrative examples of suitable operations. Other examples are contemplated in which either narrower (e.g., 256-bit) or wider (e.g., 1024-bit) lines of memory are used. Moreover, other examples are contemplated in which other sized data portions and/or registers (e.g., 32-bit registers) are used.
In some embodiments, a same set of registers may be viewed or accessed by a processor (e.g., a memory access unit, execution unit, etc.) as either a larger number of smaller registers or a fewer number of larger registers. The same two or more registers which may be viewed or accessed in one view as separate smaller registers may be viewed or accessed in the other view as a combined larger single register. For example, in some embodiments, an adjacent pair of registers may be viewed separately as two N/2-bit registers or may be logically combined or grouped together and viewed collectively as a single N-bit register. The same physical registers, and same total number of physical register bits, may be involved in both scenarios, but they may be viewed and accessed in different ways. One potential advantage of such an arrangement is the ability to store larger operands (e.g., packed data operands) without needing to increase the width of the underlying physical registers. This may have potential advantages such as avoiding an increase in the area or footprint the register file occupies on die, avoiding an increase in the amount of data that needs to be swapped in and out of the registers on context switches or power mode transitions, etc.
FIG. 8 is a block diagram illustrating an example embodiment in which a set of registers are viewed or accessed as 64-bit registers in a first view 840, 128-bit registers in a second view 842, and 256-bit registers in a third view 844. In the first view 840 the set of registers (e.g., physical registers) are logically viewed or accessed as four 64-bit packed data registers labeled X0-X3.
In the second view 842 the same set of registers (e.g., physical registers) are logically viewed or accessed as two (i.e., half as many) 128-bit registers labeled Y0-Y1. In the second view 842, the lowest order 64-bits (i.e., bits 63:0) of the 128-bit register Y0 maps or corresponds to the 64-bit register X0, whereas the highest order 64-bits (i.e., bits 127:64) of the 128-bit register Y0 maps or corresponds to the 64-bit register X1. Similarly, the lowest order 64-bits (i.e., bits 63:0) of the 128-bit register Y1 maps or corresponds to the 64-bit register X2, whereas the highest order 64-bits (i.e., bits 127:64) of the 128-bit register Y1 maps or corresponds to the 64-bit register X3. Multiple (in this case two) smaller (in this case 64-bit) registers are logically combined or grouped to form a single larger (in this case 128-bit) register.
In the third view 844 the same set of registers (e.g., physical registers) are logically viewed or accessed as a single 256-bit register labeled Z0. In the third view 844, the lowest order 64-bits (i.e., bits 63:0) of the 256-bit register Z0 maps or corresponds to the 64-bit register X0, the lowest intermediate order 64-bits (i.e., bits 127:64) of the 256-bit register Z0 maps or corresponds to the 64-bit register X1, the highest intermediate order 64-bits (i.e., bits 191:128) of the 256-bit register Z0 maps or corresponds to the 64-bit register X2, and the highest order 64-bits (i.e., bits 255:192) of the 256-bit register Z0 maps or corresponds to the 64-bit register X3. In the third view 844, the lowest order 128-bits (i.e., bits 127:0) of the 256-bit register Z0 maps or corresponds to the 128-bit register Y0, and the highest order 128-bits (i.e., bits 255:128) of the 256-bit register Z0 maps or corresponds to the 128-bit register Y1.
In various embodiments, the actual physical registers used to implement the views may be 64-bit registers, 32-bit registers, or 128-bit registers, although this is not required. In the illustrated embodiment adjacent or sequential registers are used, although this is not required. In other embodiments, non-adjacent registers may be combined (e.g., non-adjacent registers in different banks, alternating registers, etc.). In the illustrated embodiment, three different views are supported, although in other embodiments fewer (e.g. two) or more (e.g., four or more) different views may be supported.
Furthermore, in other embodiments, the views may use different numbers of bits. For example, in some embodiments, there may be a view where a set of registers may be logically viewed or accessed as a single 512-bit register in one view, and multiple smaller registers in another view (e.g., two 256-bit registers, four 128-bit registers, eight 64-bit registers, etc.). Moreover, in other embodiments, there may be a view where a set of registers may be logically viewed or accessed as a single 1024-bit register in one view, and multiple smaller registers in another view (e.g., two 512-bit registers and/or four 256-bit registers and/or eight 128-bit registers, and/or sixteen 64-bit registers, etc.).
FIG. 9A is a block diagram of a first embodiment of a suitable instruction format for a multiple register memory access instruction. The instruction format has an operation code or opcode 950A. The opcode may represent a plurality of bits or one or more fields that are operable to identify the instruction and/or the operation to be performed (e.g., a multiple register load from memory operation, a multiple register store to memory operation, or other multiple register memory access operation). The first instruction format also includes a memory location specifier 952A to specify a memory location. The memory location specifier may represent a plurality of bits or one or more fields. The specified memory location may represent a source in the case of a load from memory instruction, or a destination in the case of a write to memory instruction. By way of example, the specifier may be used to specify the starting location of the data to be loaded (e.g., the first byte of the data). The first instruction format also includes an optional register specifier 954A. The register specifier may specify a register. The register specifier may represent a plurality of bits or one or more fields. The specified register may represent a destination register in the case of a load from memory instruction, or a source register in the case of a write to memory instruction. Alternatively, the register specifier may optionally be omitted (e.g., the register may be implicitly indicated by the instruction instead of being explicitly specified). In some embodiments, one or more other registers may be indicated based on the explicitly specified or implicitly indicated register. For example, one or more predetermined registers may be implicitly indicated or implicitly associated with the explicitly specified or implicitly indicated register. For example, one or more adjacent, sequential, or consecutive registers may be associated with the register. As another example, every other register may be associated with the register. As yet another example, predetermined sequential registers in different register banks may be associated with the register. One specific example of such an embodiment where the instruction may implicitly indicate the registers is where the load or store operation involves all of the architecturally visible registers in the architecture. Alternatively, a given register may be dedicated to the multiple register load, store, or other operation and therefore may be implicit.
FIG. 9B is a block diagram of a second embodiments of a suitable instruction format for a multiple register memory access instruction. The second instruction format has an operation code or opcode 950B, a memory location specifier 952B, and a register specifier 954B. Each of these may be as previously described. The second instruction format also includes an optional number of registers specifier 956 to specify a number of registers involved in the memory access operation (e.g., to be used as a source in the case of a write to memory operation or a destination in the case of a load from memory operation). By way of example, the number of registers specifier may specify or indicate two registers, three registers, four registers, or some other number of registers. In other embodiments, rather than specifying the number of registers, it is also possible to specify the number of bits associated with the memory operation (e.g., as a multiple of a given register size or number of bits). This field is optional and not required. In another embodiment, the number of registers may be implicit (e.g., implicit to the register specifier 954B, implicit to the opcode 950B, etc.).
FIG. 9C is a block diagram of a third embodiments of a suitable instruction format for a multiple register memory access instruction. The third instruction format has an operation code or opcode 950C and a memory location specifier 952C. Each of these may be as previously described. The third instruction format also includes a plurality of optional register specifiers 958. In the illustrated embodiment, four register specifiers 958-1 through 958-4 are shown, although fewer (e.g., two, three), or more than four may alternatively be included. Each of these specifiers may represent a plurality of bits or one or more fields. These multiple register specifiers may allow explicit specification of the registers that are to be combined to be involved in the memory access operation. In some cases, this optional feature may be utilized to optimize or at least improve the performance of code, avoid or at least reduce the number of register-to-register operations to move data around, etc. These multiple register specifiers are optional and not required.
These are just a few examples of suitable instruction formats. It is to be appreciated that additional fields may optionally be added to any of these instruction formats. In other embodiments certain explicitly specified fields may instead optionally be implicit to the instruction. It is to be appreciated that the specifiers or fields need not include contiguous sequences of bits but may instead optionally be formed of non-contiguous bits. Specifiers or fields may optionally overlap. Additionally, the illustrated order/arrangement of the specifiers or fields is only illustrative. Other embodiments may move or rearrange the fields.
Referring now to FIG. 15, shown is a block diagram of a second more specific exemplary system 1500 in accordance with an embodiment of the present invention. Like elements in FIGS. 14-15 bear like reference numerals, and certain aspects of FIG. 14 have been omitted from FIG. 15 in order to avoid obscuring other aspects of FIG. 15.
Components, features, and details described for any of FIGS. 3-4 may also optionally be used in any of FIGS. 1-2. Components, features, and details described for any of FIGS. 5-9 may also optionally be used in any of FIGS. 1-4. Moreover, components, features, and details described herein for any of the processors or instruction processing apparatus may also optionally be used in any of the methods described herein, which in embodiments may be performed by and/or with such processors or apparatus.
In the description and claims, the terms "coupled" and/or "connected," along with their derivatives, have be used. It should be understood that these terms are not intended as synonyms for each other. Rather, in particular embodiments, "connected" may be used to indicate that two or more elements are in direct physical or electrical contact with each other. "Coupled" may mean that two or more elements are in direct physical or electrical contact. However, "coupled" may also mean that two or more elements are not in direct contact with each other, but yet still co-operate or interact with each other. For example, a memory access unit may be coupled with a set of registers and/or a decode unit through one or more intervening components. In the figures, arrows are used to show couplings.
In the description and claims, the term "logic" may have been used. As used herein, logic may include hardware, firmware, software, or various combinations thereof. Examples of logic include integrated circuitry, application specific integrated circuits, analog circuits, digital circuits, programmed logic devices, memory devices including instructions, etc. In some embodiments, hardware logic may include transistors and/or gates potentially along with other circuitry components.
In the description above, specific details have been set forth in order to provide a thorough understanding of the embodiments. However, other embodiments may be practiced without some of these specific details. The scope of the invention is not to be determined by the specific examples provided above but only by the claims below. In other instances, well-known circuits, structures, devices, and operations have been shown in block diagram form or without detail in order to avoid obscuring the understanding of the description. Where multiple components have been shown and described, in some cases these multiple components may be incorporated into one component. Where a single component has been shown and described, in some cases this single component may be separated into two or more components.
Examples of suitable machines include, but are not limited to, general-purpose processors, special-purpose processors, instruction processing apparatus, digital logic circuits, integrated circuits, and the like. Still other examples of suitable machines include computing devices and other electronic devices that incorporate such processors, instruction processing apparatus, digital logic circuits, or integrated circuits. Examples of such computing devices and electronic devices include, but are not limited to, desktop computers, laptop computers, notebook computers, tablet computers, netbooks, smartphones, cellular phones, servers, network devices (e.g., routers and switches), Mobile Internet devices (MIDs), media players, smart televisions, nettops, set-top boxes, and video game controllers.
Example 1 is a processor that includes a plurality of N-bit registers. The processor also includes a decode unit to receive a multiple register memory access instruction. The multiple register memory access instruction is to indicate a memory location and is to indicate a register. The processor also includes a memory access unit coupled with the decode unit and with the plurality of the N-bit registers. The memory access unit is to perform a multiple register memory access operation in response to the multiple register memory access instruction. The multiple register memory access operation is to involve N-bit data, in each of the plurality of the N-bit registers that are to comprise the indicated register. The multiple register memory access operation is also to involve different corresponding N-bit portions of an M.times.N-bit line of memory, that is to correspond to the indicated memory location. Optionally, a total number of bits of the N-bit data in the plurality of the N-bit registers to be involved in the multiple register memory access operation is to amount to at least half of the M.times.N-bits of the line of memory.
Example 2 includes the processor of Example 1 and optionally in which the memory access unit is to perform the operation in which the total number of bits of the N-bit data in the plurality of the N-bit registers to be involved in the multiple register memory access operation is to amount to all of the M.times.N-bits of the line of memory.
Example 3 includes the processor of Example 1 and optionally in which the memory access unit is to perform the operation in which the total number of bits of the N-bit data in the plurality of the N-bit registers to be involved in the multiple register memory access operation is to amount to at least 256-bits.
Example 4 includes the processor of Example 3 and optionally in which the memory access unit is to perform the operation in which the total number of bits of the N-bit data in the plurality of the N-bit registers to be involved in the multiple register memory access operation is to amount to at least 512-bits.
Example 5 includes the processor of any preceding example and optionally in which the memory access unit is to perform the operation that is to involve the N-bit data in each of at least three N-bit registers.
Example 6 includes the processor of any preceding example and optionally in which the memory access unit is to perform the operation that is to involve the N-bit data in each of at least four N-bit registers.
Example 7 includes the processor of Example 1 and optionally in which the memory access unit is to perform the operation that is to involve 128-bit data, in each of at least four 128-bit registers, and the different corresponding 128-bit portions of the line of memory that is to be at least 512-bits.
Example 8 includes the processor of Example 1 and optionally in which the memory access unit is to perform the operation that is to involve 256-bit data, in each of at least two 256-bit registers, and the different corresponding 256-bit portions of the line of memory that is to be at least 512-bits.
Example 9 includes the processor of any of Examples 1-8 and optionally in which the processor includes a reduced instruction set computing (RISC) processor, and in which the multiple register memory access instruction includes a multiple register load from memory instruction, and in which the memory access unit is to load the different N-bit portions of the M.times.N-bit line of memory in each of the plurality of the N-bit registers, in response to the multiple register load from memory instruction. Optionally, the total number of bits of the different N-bit portions to be loaded in the plurality of the N-bit registers from the M.times.N-bit line of memory is to amount to at least half of the M.times.N-bits of the line of memory.
Example 10 includes the processor of Example 9 and optionally in which the memory access unit is to load different 128-bit portions of the line of memory which is at least 512-bits in each of at least four 128-bit registers.
Example 11 includes the processor of Example 9 and optionally in which the memory access unit is to load different 256-bit portions of the line of memory which is at least 512-bits in each of at least two 256-bit registers.
Example 12 includes the processor of any of Example 1-8 and optionally in which the processor includes a reduced instruction set computing (RISC) processor, and in which the multiple register memory access instruction includes a multiple register write to memory instruction, and in which the memory access unit is to write the N-bit data, from each of the plurality of the N-bit registers, to the different corresponding N-bit portions of the M.times.N-bit line of memory, in response to the multiple register write to memory instruction. Optionally, the total number of bits of the N-bit data to be written from the plurality of the N-bit registers to the M.times.N-bit line of memory is to amount to at least half of the M.times.N-bits of the line of memory. Optionally, the at least half of the M.times.N-bits of the line of memory is at least 256-bits.
Example 13 includes the processor of any of Example 1-8 and optionally in which the multiple register memory access instruction is to explicitly specify each of the plurality of registers.
Example 14 includes the processor of any of Example 1-8 and optionally in which the multiple register memory access instruction is to specify a number of the plurality of registers.
Example 15 is a method performed by a processor that includes receiving a multiple register memory access instruction. The multiple register memory access instruction indicates a memory location and indicating a register. The method includes performing a multiple register memory access operation in response to the multiple register memory access instruction. The operation involves N-bit data, in each of a plurality of N-bit registers that comprise the indicated register. The operation also involves different corresponding N-bit portions of an M.times.N-bit line of memory, corresponding to the indicated memory location. Optionally, a total number of bits of the N-bit data in the plurality of the N-bit registers involved in the multiple register memory access operation amounts to at least half of the M.times.N-bits of the line of memory.
Example 16 includes the method of Example 15 and optionally in which the total number of bits of the N-bit data in the plurality of the N-bit registers involved in the multiple register memory access operation amounts to all of the M.times.N-bits of the line of memory.
Example 17 includes the method of Example 15 and optionally in which the total number of bits of the N-bit data in the plurality of the N-bit registers involved in the multiple register memory access operation amounts to at least 256-bits.
Example 18 includes the method of any preceding example and optionally in which performing includes performing the operation involving the N-bit data in each of at least four N-bit registers.
Example 19 includes the method of Example 15 and optionally in which performing includes performing the operation involving 128-bit data, in each of at least four 128-bit registers, and the different corresponding 128-bit portions of the line of memory which is at least 512-bits.
Example 20 includes the method of Example 15 and optionally in which performing includes performing the operation involving 256-bit data, in each of at least two 256-bit registers, and the different corresponding 256-bit portions of the line of memory which is at least 512-bits.
Example 21 includes the method of any of Examples 15-20 and optionally in which receiving includes receiving a multiple register load from memory instruction, and in which performing includes loading the different N-bit portions of the M.times.N-bit line of memory in each of the plurality of the N-bit registers, in response to the multiple register load from memory instruction. Optionally, the total number of bits of the different N-bit portions loaded in the plurality of the N-bit registers from the M.times.N-bit line of memory amounts to at least half of the M.times.N-bits of the line of memory.
Example 22 includes the method of Example 21 and optionally in which performing includes loading different 128-bit portions of the line of memory which is at least 512-bits in each of at least four 128-bit registers.
Example 23 includes the method of Example 21 and optionally in which performing includes loading different 256-bit portions of the line of memory which is at least 512-bits in each of at least two 256-bit registers.
Example 24 includes the method of any of Examples 15-20 and optionally in which receiving includes receiving a multiple register write to memory instruction, and in which performing includes writing the N-bit data, from each of the plurality of the N-bit registers, to the different corresponding N-bit portions of the M.times.N-bit line of memory, in response to the multiple register write to memory instruction. Optionally, the total number of bits of the N-bit data written from the plurality of the N-bit registers to the M.times.N-bit line of memory amounts to at least half of the M.times.N-bits of the line of memory. Optionally, the at least half of the M.times.N-bits of the line of memory is at least 256-bits.
Example 25 is a system to process instructions that includes an interconnect, a dynamic random access memory (DRAM) coupled with the interconnect, and a processor coupled with the interconnect. The processor, in response to a multiple register memory access instruction that is to indicate a memory location in the DRAM and a register, is to perform a multiple register memory access operation. The operation is to involve N-bit data, in each of a plurality of N-bit registers of the processor that are to comprise the indicated register. The operation is also to involve different corresponding N-bit portions of an M.times.N-bit line of the DRAM that is to correspond to the indicated memory location. Optionally, a total number of bits of the N-bit data in the plurality of the N-bit registers to be involved in the multiple register memory access operation is to amount to at least half of the M.times.N-bits of the line of memory.
Example 26 includes the system of Example 25 and optionally in which the total number of bits of the N-bit data in the plurality of the N-bit registers to be involved in the multiple register memory access operation is to amount to all of the M.times.N-bits of the line of memory which is at least 512-bits.
Example 27 is an article of manufacture that includes a non-transitory machine-readable storage medium storing a multiple register memory access instruction. The multiple register memory access instruction is to indicate a memory location and a register. The multiple register memory access instruction if processed by a machine is operable to cause the machine to perform operations including performing a multiple register memory access operation involving N-bit data, in each of a plurality of N-bit registers that are to comprise the indicated register. The operation is also to involve different corresponding N-bit portions of an M.times.N-bit line of memory, that is to correspond to the indicated memory location. Optionally, a total number of bits of the N-bit data in the plurality of the N-bit registers involved in the multiple register memory access operation amounts to at least half of the M.times.N-bits of the line of memory.
Example 28 includes the article of manufacture of Example 27 and optionally in which the total number of bits of the N-bit data in the plurality of the N-bit registers to be involved in the multiple register memory access operation is to amount to all of the M.times.N-bits of the line of memory which is at least 512-bits.
Example 29 is a processor that includes means for receiving a multiple register memory access instruction. The multiple register memory access instruction is to indicate a memory location and indicating a register. The processor also includes means for performing a multiple register memory access operation in response to the multiple register memory access instruction. The operation is to involve N-bit data, in each of a plurality of N-bit registers that comprise the indicated register. The operation also is to involve different corresponding N-bit portions of an M.times.N-bit line of memory, corresponding to the indicated memory location. Optionally, a total number of bits of the N-bit data in the plurality of the N-bit registers involved in the multiple register memory access operation amounts to at least half of the M.times.N-bits of the line of memory.
Example 30 includes the processor of Example 29 and optionally in which the total number of bits of the N-bit data in the plurality of the N-bit registers involved in the multiple register memory access operation amounts to all of the M.times.N-bits of the line of memory.
Example 31 is a machine-readable storage medium storing an instruction that if executed by a machine is to cause the machine to perform the method of any of Examples 15-24.
Example 32 is a processor to perform the method of any of Examples 15-24.
Example 33 is a processor including means for performing the method of any of Examples 15-24.
Example 34 is a processor including integrated circuitry and/or logic and/or units and/or components and/or modules, or any combination thereof, to perform the methods of any of Examples 15-24.
Example 35 is a computer system including a processor and optionally including a dynamic random access memory (DRAM), the computer system to perform the method of any of Examples 15-24.
Example 36 is a processor to perform a method or operation substantially as described herein.
Example 37 is a processor including means for performing a method or operation substantially as described herein.
Example 38 is a processor to execute an instruction substantially as described herein.
Example 39 is a processor including means for performing operations of an instruction substantially as described herein.
Previous Patent US 9,786,337 | Next Patent US 9,786,339