USRE34052E - Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage - Google Patents
Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage Download PDFInfo
- Publication number
- USRE34052E USRE34052E US07/285,827 US28582788A USRE34052E US RE34052 E USRE34052 E US RE34052E US 28582788 A US28582788 A US 28582788A US RE34052 E USRE34052 E US RE34052E
- Authority
- US
- United States
- Prior art keywords
- data
- register
- transfer
- tag
- registers
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
- G06F9/30007—Arrangements for executing specific machine instructions to perform operations on data operands
- G06F9/30032—Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7828—Architectures of general purpose stored program computers comprising a single central processing unit without memory
- G06F15/7832—Architectures of general purpose stored program computers comprising a single central processing unit without memory on one IC chip (single chip microprocessors)
Definitions
- the present invention relates to data processing systems and particularly to data processing systems having a primary I/O bus to main storage and other I/O devices.
- the present invention provides a solution to the microprocessor problem of maintaining high processing speeds while eliminating or substantially reducing CPU storage caches by providing apparatus in which the register to register data transfers required for CPU computations and other operations are conducted coincidentally or overlapped with transfer of data to and from main memory storage or other I/O units.
- the invention is directed to data processing systems comprising a CPU, at least one external unit such as main storage requiring data from or providing data to the CPU, and I/O bus for the transfer of data between the CPU and the external unit.
- the present CPU comprises means for transferring data to and from the main storage or other external unit over the I/O bus during synchronized CPU time cycles.
- CPU further includes local storage means which comprises a plurality of registers, means for transferring data from register to register in such local storage means, and control means for controlling the register to register data transfer so that it is conducted during time cycles coincident with the transfer of data to or from the external units.
- control means further include means for dynamically determining this data dependency.
- the means for transferring data to and from the external storage unit includes means for generating data transfer commands, means for assigning a register in said local storage to and from which data is to be transferred, and means for storing a tag identifying the assigned register.
- the system further includes means for comparing subsequent data transfer commands and register to register transfer commands to the stored tags..]. .Iadd.
- the present invention is directed to a conventional data processing system having a CPU and at least one external unit such as the main storage unit acquiring data from or providing data to the CPU and I/O bus for the transfer of data between the CPU and the external unit.
- the apparatus of the present invention provides for transfers to and from this external unit, e.g., main storage being overlapped with a register to register data transfer routinely carried out in the CPU to implement various CPU operations and computation functions.
- the CPU includes apparatus for transferring data to or from said external unit over the I/O bus during synchronized time cycles.
- the CPU also includes local storage apparatus which comprise a plurality of registers as well as expedients for transferring data from register to register.
- Control apparatus controls the register to register data transfer so that such transfers are conducted during time cycles coincident with the transfer of data to or from the external storage unit.
- the register to register data transfers within the CPU are overlapped with the data transfers over the I/O bus to main storage.
- the data transfers to and from main storage are generally considerably longer that the simpler register to register data transfer.
- the apparatus may be operated so that several register to register transfers may take place during the time required for a transfer of data to or from the external storage unit.
- the present invention further includes means for dynamically determining data dependencies between the register to register transfers and the I/O bus transfers.
- FIG. 1 is a logical block diagram showing the CPU apparatus involved in the present invention in a generalized form.
- FIG. 2 is a logic block diagram more specifically showing the logic units involved in the tag logic unit of FIG. 1.
- FIG. 3 is a flow chart of the tag operation for load instruction involved in the present invention.
- FIG. 4 is a flow chart of the operations involved in the hold-off tag compare operation involved in the present invention.
- FIG. 5 is a flow chart of the operations involved in the destination compare operation of the present invention.
- FIG. 6 is a flow chart of the operations involved in the tag return procedure of the present invention.
- FIG. 7 is a diagram of a register to register transfer instruction.
- FIG. 8 is a diagram of a main storage transfer instruction.
- FIG. 1 a generalized diagram of the apparatus which may be used to carry out the present invention is shown.
- the pertinent elements of the present invention are shown to be contained within CPU 10 which communicates over I/O bus or channel 11 with main memory storage 12 through storage controller 13 and with various I/O devices such as diskette drives, printer or display (not shown) via I/O bus controller 14.
- the CPU 10 may be implemented using any conventional microprocessor. Before describing the particulars of the present invention, general operation of the CPU insofar as pertinent to the present invention will now be described. When the CPU is operational, instructions to be carried out are fetched from storage in the conventional manner and temporarily stored in an instruction buffer 15.
- instruction multiplexer 16 breaks up the instruction, a portion of which goes to control logic 17 to control CPU operations as will be hereinafter described and a portion to various registers in the register array 18 which provides the local storage means for the CPU.
- register array 18 data may be transferred through the ALU/Shifter 21 where various computorial operations may be carried out or to main storage via register 22, bus 23 and I/O bus 11.
- Data from main storage may be returned to the CPU via bus 11, bus 24, formatter 25 which will be subsequently described in greater detail back to register array 18.
- data may be returned from the ALU/Shifter 21 back to register array 18 via ALU output register 26 and bus 27. It should be understood that a great many transactions within the CPU may involve operations on the contents of the registers in array 18. These will be referred to as register to register data transfers. Other transfers will be to and from main storage 12 or I/O bus controller 14 via I/O bus 11.
- Instructions either already in CPU 10 or obtained from main storage are stored in instruction buffer 15.
- the instruction may be for a register to register transfer in which case it will have the format shown in FIG. 7 or it will be a transfer to or from main storage or other I/O external unit devices in which case it will have the format shown in FIG. 8.
- Instruction multiplexer 16 will divide the instruction as follows.
- the OP code 31 which indicates the type of instruction to be performed is applied to control logic 17 which will control the execution of the function by applying execute instructions through control register 32 (FIG. 1).
- control register 32 (FIG. 1).
- the next two sections 33 and 34 of the instruction in FIG. 7 indicate the contents of the source registers.
- R3 and R4 are the two source registers which are to be involved in the computation.
- the last section 35 indicates the destination register.
- contents of register 3 and register 4 are to be added and placed in destination register 3.
- signals are applied along lines 33 and 34 resulting in the reading of the contents of the first and second source registers which will result in R3 and R4 being read.
- the control register 32 will contain the add function resulting from the reading of the operational code.
- This add operational code will be applied to the ALU/Shift via execute control output from register 32 to have the ALU to have the contents of the first and second source registers, i.e., R3 and R4 latched in input registers 35 and 36 to ALU 21.
- control information i.e., the add function
- control register 32 is used to control the operation to be carried out.
- Control code from control register 32 is applied to the ALU/Shifter via input 37.
- the operation in the ALU is performed in the conventional manner, and results of the operation are latched in ALU output register 26.
- the next phase (which may be referred to as write back), the result of the ALU operation is written back or returned via bus 27 to the destination register, in the present example, R3 as indicated by the destination register input 49.
- Each of these operations i.e., fetch, execute and write back is performed in a single CPU time cycle. While we have illustrated the carrying out of a single instruction, it should be noted that consecutive instructions are overlapped so that when a first instruction is in its execute phase, a second instruction may be initiated into its fetch phase, and when a first instruction is in its store back phase, the second instruction may be in its execute phase and a third instruction may be in its initial fetch phase. As a result, because of the overlapping of three instructions, while the normal internal CPU operation involving register to register transfers take three CPU time cycles to complete, the actual throughput of the CPU is one complete operation per cycle.
- a transaction involving a transfer to or from main storage is carried out in a similar fashion in so far as CPU operations are concerned. It is controlled by the main storage transfer instruction shown in FIG. 8.
- the instruction involves an OP code which is divided out by instruction multiplexer 16 through control logic 17 and applied to control register 32 indicating the type of storage operation, i.e., either store (write into main storage) or load (read out of main storage) This OP code is applied to the ALU/Shifter 21 as previously described via input 37.
- Section 39 of the main storage transfer instruction indicates that the contents of register R2 in register array 18 is to be stored or written into main storage or in the case of a load operation, the destination register into which data read from main storage is loaded.
- the effective throughput is one complete transfer to or from main storage in three CPU time cycles. Since, as we have indicated above, the effective throughput of an internal register to register transfer within the CPU is one register to register transfer per CPU time cycle, the effective throughput of the apparatus is such that while one transfer to or from main storage is taking place, three register to register transfers within the CPU may coincidentally take place.
- the apparatus of the present invention is capable of dynamically determining data dependencies, determining whether sufficient previous operations have been completed to provide the data required in the subsequent operation.
- An example of this situation can occur when in a sequence of operation, an execution of an instruction is requested before the execution of a previously commenced but overlapped instruction which would provide data required by the subsequent instruction has been completed.
- a main storage transfer instruction (FIG. 8) which is a load instruction whereby section 39 will indicate a destination register in array 18 to which data read from main storage will be loaded.
- the tag logic shown in FIG. 2 has two tag registers, tag 0 and tag 1 which will keep track of registers in register array 18 and will function as destination registers for keeping track of load transfers from main storage 12 back to the designated array register which is respectively identified by either the tag 0 register or the tag 1 register. Accordingly, after multiplexing, the first and second source registers which will be used to determine the storage address (FIG. 8) are applied to array 18 via lines 33 and 34 and are also respectively applied to the tag logic shown in FIG. 2 via lines 45 and 46. This input will be used to determine hold-offs in a procedure to be subsequently described. Likewise, contents of destination register section 39 (FIG. 8) is applied to tag logic (FIG. 2) via line 47.
- the destination register number is stored in either tag 0 register 43 or tag 1 register 44 depending on the availability of either the tag 0 or the tag 1 registers. In any event, because of the availability of only two registers, tag 0 and tag 1 in the present embodiment, only two load transfers from main storage may be overlapped or carried on simultaneously. The transaction to main storage is then carried on as described hereinabove. However, with such a load instruction, during the execute phase, the control logic 17 through control register 32 and execute control line (FIG. 1) applies to either the respective tag 0 or tag 1 register format data along lines 50 and 51. This format data which is stored in the FMT portion of respective tag 0 and tag 1 registers will be used to properly format the data which is to be loaded when it returns from main storage.
- the format (FMT) data will indicate what portions of the data received from main storage are to be loaded into the appropriate register in array 18 designated by either the tag 0 or tag 1 register.
- Tag 0 register 43 has associated therewith compare units 52, 53 and 54 for respectively comparing the two source register lines 45 and 46 as well as the destination register line 47 with the destination register stored in tag 0 register 43.
- tag 1 register 44 has associated therewith compare units 55, 56 and 57 but likewise comparing the inputs on lines 45, 46 and 47 with the contents of tag 1 register 44.
- step 60 a determination is made, step 60, as to whether a tag register (0 or 1) is available. If none is available, then step 61, the instruction awaits the availability of a tag 0 or tag 1 register.
- step 62 a determination is made, step 62, as to whether the tag 0 register has already been used for a previous load instruction that is not as yet complete which designates the same destination load register in array 18. If this is the case, then, step 63, the whole previous instruction involving tag 0 is cancelled. After the cancellation of the previous instruction involving tag 0 or if the tag 0 register has not been used to designate a load register, then, step 64, a determination is made as to whether the tag 1 register has already been used for a previous load instruction which is not as yet complete which designates the same destination load register in array 18. If this is the case, then, step 65, the whole previous instruction involving tag 1 is cancelled.
- step 66 a determination is made, step 66, as to whether the tag 0 register is available. If it is, then tag 0 register is allocated to save the load register number of the current instruction and the format information is applied via line 50 (FIG. 2) to tag register 0. On the other hand, if the tag 0 register is not available, then the tag 1 register must be available. Consequently, it is allocated to the load register of the current instruction and the format data is applied via line 51.
- the tag operation is set forth in step 60-68 is carried out under the control of tag control logic 70 which communicates with the tag 0 and the tag 1 registers via lines 72 and 73.
- the outputs of tag 0 register 43 is applied to multiplexer 71 via line 72 while the output of tag 1 register 44 is applied to multiplexer 71 via line 73.
- This multiplexed output of multiplexer 71 is applied to register array 18 over line 74 to provide to register array 18 the destination register address where data returned from main storage over line 24 is to be loaded in register array 18.
- Lines 75 and 76 similarly apply to multiplexer 77.
- the format control data (FMT) respectively is stored in association with tag register 0 and tag register 1 so that multiplexer 77 can provide an output along line 78 to formatter 25 indicative of the format of the data to be loaded in the designated register.
- tag decode logic 80 determines whether the tag is one of several conventional tags indicating an instruction fetched from storage or one of the pair, tag 0, tag 1. If the tag is indicative of an instruction, the tag code logic signals the instruction buffer 15 via line 81 to load the instruction in the instruction buffer via line 83. On the other hand in the case of tag 0, tag 1, the logic of tag decode 80, performs the procedure shown in FIG. 6 in determining if the tag is a tag 0 or tag 1 indicator.
- step 85 a determination is made as to whether the tag is indicative of the tag 0 register. If it is, then, step 86, a further determination is made as to whether tag 0 has been cancelled. A tag is cancelled when its associated register has been overwritten so that the load associated with the tag is no longer valid. Thus, if the tag has not been cancelled, then, step 87, the data is loaded into the register of array 18 indicated in the tag 0 register. This is done by having the tag decode 80 issue a signal on line 82 (FIG. 1) to tag logic which in turn causes tag control logic 70 in FIG.
- step 86 the tag 0 register 43 is set to an available state, step 88.
- step 85 determines whether the tag associated with the data from storage is not a tag 1.
- step 90 determines whether the tag is a tag 1. Then, steps 91, 92 and 93 respectively the same as steps 86, 87 and 88 are carried out with respect to the tag 1 register.
- step 100 a determination is made as to whether either source register equals the register in tag 0. This comparison is made using compare units 52 and 53 in FIG. 2. If there is such a comparison, then it indicates that there is a data dependency on the contents of the register indicated by tag 0 and, step 101, the system is put into a wait state. In FIG. 2 this is accomplished by an output on either line 102 or 103 respectively resulting from a compare on either compare unit 52 or compare unit 53 causing OR gate 104 to produce a hold output on line 105 to control logic 17.
- step 100 If it is determined in step 100 (FIG. 4) that neither source register equals a tag 0 register, then, the operation proceeds to step 106, and the above procedure is repeated with respect to the tag 1 register 44 (FIG. 2) using compare units 55 and 56.
- a compare leads to step 107 resulting in a wait or hold off until the register indicated in the tag 1 register is finally loaded by return from main storage.
- the destination register in the instruction applied via line 47 is also compared to tag 0 register 43 and tag 1 register 44 respectively by compare unit 54 and compare unit 57 resulting in either an output cancelling the tag 0 register on line 109 to control logic 17 or cancelling the tag 1 register on line 110 control logic 17.
- This procedure is shown in the flow chart of FIG. 5.
- the cancel procedure shown with respect to FIGS. 5 and 2 covers the situation where a subsequent command transfers data to the load destination register indicated by a previous command before the transfer involved in the previous command is completed. In such a case, the assigned destination of the previous command is cancelled thereby, in effect, cancelling the previous command.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Advance Control (AREA)
Abstract
The present invention is directed to a conventional data processing system having a CPU and at least one external unit such as the main storage unit acquiring data from or providing data to the CPU and I/O bus for the transfer of data between the CPU and the external unit. The apparatus of the present invention provides for transfers to and from this external unit, e.g., main storage being overlapped with a register to register data transfer routinely carried out in the CPU to implement various CPU operations and computation functions. The CPU includes apparatus for transferring data to or from said external unit over the I/O bus during synchronized time cycles. The CPU also includes local storage apparatus which comprise a plurality of registers as well as expedients for transferring data from register to register. Control apparatus controls the register to register data transfer so that such transfers are conducted during time cycles coincident with the transfer of data to or from the external storage unit. Thus, the register to register data transfers within the CPU are overlapped with the data transfers over the I/O bus to main storage. The data transfers to and from main storage are generally considerably longer than the simpler register to register data transfer. The apparatus may be operated so that several register to register transfers may take place during the time required for a transfer of data to or from the external storage unit. The present invention further includes means for dynamically determining data dependencies between the register to register transfers and the I/O bus transfers.
Description
The present invention relates to data processing systems and particularly to data processing systems having a primary I/O bus to main storage and other I/O devices.
In the data processing art including present day microprocessor technology, it is a known expedient to use pipelining on the primary I/O bus or channel between the CPU and external units such as main storage and the various I/O devices, e.g., disk, display or printer. Such pipelining involves overlapped transactions on the I/O bus, i.e., a plurality of data transfers to and from various I/O devices or units or main storage may be overlapped on the primary I/O bus. In other words, the I/O bus needn't be locked into a single transaction; a first transaction may be initiated and before it is completed a second and a third transfer transaction involving the I/O bus may be initiated. Some typical patents describing such pipelining are Calta et al, U.S. Pat. No. 3,447,135, Peripheral Data Exchange; Dennis, U.S. Pat. No. 4,130,885, Packet Memory System for Processing Many Independent Memory Transactions Concurrently; Levy et al, U.S. Pat. No. 4,232,366, Bus for a Data Processing System with Overlapped Sequences; Dennis, U.S. Pat. No. 4,128,882, Packet Memory System with Hierarchical Structure; and Cassarino, Jr. et al, U.S. Pat. No. 3,997,896, Data Processing System Providing Split Bus Cycle Operation.
While the art has recognized the need to overlap such data transfers and external units over I/O buses to speed up data processing operations, there appears to have been little consideration given to the overlapping of such external transfers with storage transfers that take place within the CPU itself. The CPU in carrying out its operational and computing functions must conduct extensive register to register transfers within the local storage means in the CPU. In present day microprocessor technology, such local storage means may customarily comprise a plurality of RAM registers in which the data fetched from the external main storage is temporarily stored while it is being manipulated in the CPU. Such data manipulation normally requires a great number of register to register transfers within CPU. Such register to register transfers are relatively short in duration, normally requiring an effective throughput one CPU time cycle to complete. In contrast, transfers over the I/O bus to main storage or other I/O devices are much longer, normally requiring three or more CPU time cycles to complete. In a great many conventional data processing systems, it has been customary to employ a memory cache expedient in the CPU so that a substantial number of data transfer transactions from the I/O bus to main storage or other I/O devices may be carried out during time periods previous to their use in the CPU and stored or buffered in the storage cache associated with the CPU. In systems utilizing such a cache, the relatively long times required to transfer data from storage or other I/O devices may not present a problem in that a great many of the instructions or other data required from main storage to carry out CPU operations or computations have been prestored in the CPU cache and are immediately available.
However, with the development of microprocessors, there has been a trend to eliminate or greatly curtail the size of CPU caches because of technology space limitations resulting from the size of the semiconductor substrate in which the various microprocessor circuits are formed. Accordingly, technology presents a problem of how to eliminate the need for cache space and yet maintain the high operational speeds required of microprocessors.
.[.The present invention provides a solution to the microprocessor problem of maintaining high processing speeds while eliminating or substantially reducing CPU storage caches by providing apparatus in which the register to register data transfers required for CPU computations and other operations are conducted coincidentally or overlapped with transfer of data to and from main memory storage or other I/O units.
The invention is directed to data processing systems comprising a CPU, at least one external unit such as main storage requiring data from or providing data to the CPU, and I/O bus for the transfer of data between the CPU and the external unit. The present CPU comprises means for transferring data to and from the main storage or other external unit over the I/O bus during synchronized CPU time cycles. CPU further includes local storage means which comprises a plurality of registers, means for transferring data from register to register in such local storage means, and control means for controlling the register to register data transfer so that it is conducted during time cycles coincident with the transfer of data to or from the external units.
Because there is often a data dependency between the data transferred between CPU and external unit and said register to register transfer data, control means further include means for dynamically determining this data dependency.
In carrying out the present invention in order to dynamically determine data dependencies, the means for transferring data to and from the external storage unit includes means for generating data transfer commands, means for assigning a register in said local storage to and from which data is to be transferred, and means for storing a tag identifying the assigned register. The system further includes means for comparing subsequent data transfer commands and register to register transfer commands to the stored tags..]. .Iadd.
The present invention is directed to a conventional data processing system having a CPU and at least one external unit such as the main storage unit acquiring data from or providing data to the CPU and I/O bus for the transfer of data between the CPU and the external unit. The apparatus of the present invention provides for transfers to and from this external unit, e.g., main storage being overlapped with a register to register data transfer routinely carried out in the CPU to implement various CPU operations and computation functions. The CPU includes apparatus for transferring data to or from said external unit over the I/O bus during synchronized time cycles. The CPU also includes local storage apparatus which comprise a plurality of registers as well as expedients for transferring data from register to register. Control apparatus controls the register to register data transfer so that such transfers are conducted during time cycles coincident with the transfer of data to or from the external storage unit. Thus, the register to register data transfers within the CPU are overlapped with the data transfers over the I/O bus to main storage. The data transfers to and from main storage are generally considerably longer that the simpler register to register data transfer. The apparatus may be operated so that several register to register transfers may take place during the time required for a transfer of data to or from the external storage unit. The present invention further includes means for dynamically determining data dependencies between the register to register transfers and the I/O bus transfers.
Referring now to the drawings, wherein a preferred embodiment of the invention is illustrated, and wherein like reference numerals are used throughout to designate like parts;
FIG. 1 is a logical block diagram showing the CPU apparatus involved in the present invention in a generalized form.
FIG. 2 is a logic block diagram more specifically showing the logic units involved in the tag logic unit of FIG. 1.
FIG. 3 is a flow chart of the tag operation for load instruction involved in the present invention.
FIG. 4 is a flow chart of the operations involved in the hold-off tag compare operation involved in the present invention.
FIG. 5 is a flow chart of the operations involved in the destination compare operation of the present invention.
FIG. 6 is a flow chart of the operations involved in the tag return procedure of the present invention.
FIG. 7 is a diagram of a register to register transfer instruction.
FIG. 8 is a diagram of a main storage transfer instruction.
With reference to FIG. 1, a generalized diagram of the apparatus which may be used to carry out the present invention is shown. The pertinent elements of the present invention are shown to be contained within CPU 10 which communicates over I/O bus or channel 11 with main memory storage 12 through storage controller 13 and with various I/O devices such as diskette drives, printer or display (not shown) via I/O bus controller 14. The CPU 10 may be implemented using any conventional microprocessor. Before describing the particulars of the present invention, general operation of the CPU insofar as pertinent to the present invention will now be described. When the CPU is operational, instructions to be carried out are fetched from storage in the conventional manner and temporarily stored in an instruction buffer 15. As will be hereinafter described, instruction multiplexer 16 breaks up the instruction, a portion of which goes to control logic 17 to control CPU operations as will be hereinafter described and a portion to various registers in the register array 18 which provides the local storage means for the CPU. From register array 18, data may be transferred through the ALU/Shifter 21 where various computorial operations may be carried out or to main storage via register 22, bus 23 and I/O bus 11. Data from main storage may be returned to the CPU via bus 11, bus 24, formatter 25 which will be subsequently described in greater detail back to register array 18. In addition, data may be returned from the ALU/Shifter 21 back to register array 18 via ALU output register 26 and bus 27. It should be understood that a great many transactions within the CPU may involve operations on the contents of the registers in array 18. These will be referred to as register to register data transfers. Other transfers will be to and from main storage 12 or I/O bus controller 14 via I/O bus 11.
Transfers to and from main storage 12 or I/O devices via I/O bus 11 take considerably longer than register to register transfers. In this connection, it should be noted that the operation of the CPU 10 is a synchronous operation under the control of clock 28 which produces a regular cyclic output on clock line 29 which is applied to all of the major elements in CPU 10 as well as to storage controller 13 and I/O controller 14 so that the overall data processing system is synchronized based upon CPU time cycle determined by the clock. The clock is a conventional circuit for producing standard CPU time cycle or synchronized operations. In such operations, a register to register data transfer within register array 18 of CPU 10 will take in the order of one CPU cycle while a transaction involving transfers to and from main storage 12 or I/O devices could take three or more of such CPU time cycles.
At this point we will describe the operation of the pertinent logic in the CPU of FIG. 1 as well as the details of the tag logic in FIG. 2 with respect to transactions involving both register to register transfers and transfers to and from storage on the I/O bus 11.
Instructions, either already in CPU 10 or obtained from main storage are stored in instruction buffer 15. The instruction may be for a register to register transfer in which case it will have the format shown in FIG. 7 or it will be a transfer to or from main storage or other I/O external unit devices in which case it will have the format shown in FIG. 8. Let us first consider a register to register transfer instruction having the format shown in FIG. 7. Instruction multiplexer 16 will divide the instruction as follows. The OP code 31 which indicates the type of instruction to be performed is applied to control logic 17 which will control the execution of the function by applying execute instructions through control register 32 (FIG. 1). For the purpose of this illustration, let us assume that we have an add function. The next two sections 33 and 34 of the instruction in FIG. 7 indicate the contents of the source registers. In the instruction shown in FIG. 7 R3 and R4 are the two source registers which are to be involved in the computation. Finally, the last section 35 indicates the destination register. Thus, in the illustrated instruction in FIG. 7, contents of register 3 and register 4 are to be added and placed in destination register 3. As a result, signals are applied along lines 33 and 34 resulting in the reading of the contents of the first and second source registers which will result in R3 and R4 being read. The control register 32 will contain the add function resulting from the reading of the operational code. This add operational code will be applied to the ALU/Shift via execute control output from register 32 to have the ALU to have the contents of the first and second source registers, i.e., R3 and R4 latched in input registers 35 and 36 to ALU 21. We are now at the end of the fetch phase.
During the next phase, the execute phase, the control information, i.e., the add function, in control register 32 is used to control the operation to be carried out. Control code from control register 32 is applied to the ALU/Shifter via input 37. The operation in the ALU is performed in the conventional manner, and results of the operation are latched in ALU output register 26. During the next phase (which may be referred to as write back), the result of the ALU operation is written back or returned via bus 27 to the destination register, in the present example, R3 as indicated by the destination register input 49.
Each of these operations, i.e., fetch, execute and write back is performed in a single CPU time cycle. While we have illustrated the carrying out of a single instruction, it should be noted that consecutive instructions are overlapped so that when a first instruction is in its execute phase, a second instruction may be initiated into its fetch phase, and when a first instruction is in its store back phase, the second instruction may be in its execute phase and a third instruction may be in its initial fetch phase. As a result, because of the overlapping of three instructions, while the normal internal CPU operation involving register to register transfers take three CPU time cycles to complete, the actual throughput of the CPU is one complete operation per cycle.
A transaction involving a transfer to or from main storage is carried out in a similar fashion in so far as CPU operations are concerned. It is controlled by the main storage transfer instruction shown in FIG. 8. The instruction involves an OP code which is divided out by instruction multiplexer 16 through control logic 17 and applied to control register 32 indicating the type of storage operation, i.e., either store (write into main storage) or load (read out of main storage) This OP code is applied to the ALU/Shifter 21 as previously described via input 37. Section 39 of the main storage transfer instruction indicates that the contents of register R2 in register array 18 is to be stored or written into main storage or in the case of a load operation, the destination register into which data read from main storage is loaded. Consequently, at the end of the fetch CPU time cycle, in a store operation this data to be written will be latched in register 36. At the end of this same fetch time cycle, the storage address section 40 of the instruction is latched in A input register 35. Next, during the execute phase, the contents of register 36, i.e., the data to be stored, is transferred to the storage data register 22 while ALU/Shifter 21 calculates the storage address from the contents of A input register 35 and puts this storage address in storage address register 41. Then, during the store back time cycle, the storage data contents of register 22 and the storage address contents of register 41 are transferred along I/O bus 11 to storage controller 13. Thus, the transfer of data from the CPU to storage controller 13 has taken three CPU time cycles. Because of the operation of main storage with respect to the storage controller it will take another three CPU time cycles to either write the data into main storage in a store operation or read the data from main storage 12 back to a designated register in register array 18 in CPU 10 in a load operation.
As will be described hereinafter in greater detail, with the equipment of the present specific embodiment, it is possible to overlap two transfers to or from main storage with each other since it takes six CPU time cycles to complete a transfer to or from main storage, with the overlap of two of these transfers, the effective throughput is one complete transfer to or from main storage in three CPU time cycles. Since, as we have indicated above, the effective throughput of an internal register to register transfer within the CPU is one register to register transfer per CPU time cycle, the effective throughput of the apparatus is such that while one transfer to or from main storage is taking place, three register to register transfers within the CPU may coincidentally take place.
We have indicated above that the apparatus of the present invention is capable of dynamically determining data dependencies, determining whether sufficient previous operations have been completed to provide the data required in the subsequent operation. An example of this situation can occur when in a sequence of operation, an execution of an instruction is requested before the execution of a previously commenced but overlapped instruction which would provide data required by the subsequent instruction has been completed. This occurs on a main storage transfer instruction (FIG. 8) which is a load instruction whereby section 39 will indicate a destination register in array 18 to which data read from main storage will be loaded. Thus, when data required by a subsequent instruction is not as yet available in the destination register because the previous overlapping instruction has not as yet been completed, there must be a "hold off" or waiting of the execution of the subsequent instruction until the previous instruction is completed. This function is carried out by the tag logic 42 of FIG. 1 which is shown in detail in FIG. 2. This tag logic function will now be described with respect to FIGS. 1 and 2.
The tag logic shown in FIG. 2 has two tag registers, tag 0 and tag 1 which will keep track of registers in register array 18 and will function as destination registers for keeping track of load transfers from main storage 12 back to the designated array register which is respectively identified by either the tag 0 register or the tag 1 register. Accordingly, after multiplexing, the first and second source registers which will be used to determine the storage address (FIG. 8) are applied to array 18 via lines 33 and 34 and are also respectively applied to the tag logic shown in FIG. 2 via lines 45 and 46. This input will be used to determine hold-offs in a procedure to be subsequently described. Likewise, contents of destination register section 39 (FIG. 8) is applied to tag logic (FIG. 2) via line 47. The destination register number is stored in either tag 0 register 43 or tag 1 register 44 depending on the availability of either the tag 0 or the tag 1 registers. In any event, because of the availability of only two registers, tag 0 and tag 1 in the present embodiment, only two load transfers from main storage may be overlapped or carried on simultaneously. The transaction to main storage is then carried on as described hereinabove. However, with such a load instruction, during the execute phase, the control logic 17 through control register 32 and execute control line (FIG. 1) applies to either the respective tag 0 or tag 1 register format data along lines 50 and 51. This format data which is stored in the FMT portion of respective tag 0 and tag 1 registers will be used to properly format the data which is to be loaded when it returns from main storage. Conveniently, the format (FMT) data will indicate what portions of the data received from main storage are to be loaded into the appropriate register in array 18 designated by either the tag 0 or tag 1 register. Tag 0 register 43 has associated therewith compare units 52, 53 and 54 for respectively comparing the two source register lines 45 and 46 as well as the destination register line 47 with the destination register stored in tag 0 register 43. Likewise tag 1 register 44 has associated therewith compare units 55, 56 and 57 but likewise comparing the inputs on lines 45, 46 and 47 with the contents of tag 1 register 44.
Now with reference to the logic shown in FIG. 1 and particularly in FIG. 2, there will be described with reference to the flow charts of FIGS. 3-6 a series of operations involving the tag logic with respect to situations in which one or more of the overlapped instructions being executed involves a main storage transfer instruction involving a load into one of the registers of register array 18. With respect to the flow chart of FIG. 3, during the execution of a load instruction, a determination is made, step 60, as to whether a tag register (0 or 1) is available. If none is available, then step 61, the instruction awaits the availability of a tag 0 or tag 1 register. On the other hand, if a register is available, then a determination is made, step 62, as to whether the tag 0 register has already been used for a previous load instruction that is not as yet complete which designates the same destination load register in array 18. If this is the case, then, step 63, the whole previous instruction involving tag 0 is cancelled. After the cancellation of the previous instruction involving tag 0 or if the tag 0 register has not been used to designate a load register, then, step 64, a determination is made as to whether the tag 1 register has already been used for a previous load instruction which is not as yet complete which designates the same destination load register in array 18. If this is the case, then, step 65, the whole previous instruction involving tag 1 is cancelled. At this point, a determination is made, step 66, as to whether the tag 0 register is available. If it is, then tag 0 register is allocated to save the load register number of the current instruction and the format information is applied via line 50 (FIG. 2) to tag register 0. On the other hand, if the tag 0 register is not available, then the tag 1 register must be available. Consequently, it is allocated to the load register of the current instruction and the format data is applied via line 51. The tag operation is set forth in step 60-68 is carried out under the control of tag control logic 70 which communicates with the tag 0 and the tag 1 registers via lines 72 and 73.
The outputs of tag 0 register 43 is applied to multiplexer 71 via line 72 while the output of tag 1 register 44 is applied to multiplexer 71 via line 73. This multiplexed output of multiplexer 71 is applied to register array 18 over line 74 to provide to register array 18 the destination register address where data returned from main storage over line 24 is to be loaded in register array 18. Lines 75 and 76 similarly apply to multiplexer 77. The format control data (FMT) respectively is stored in association with tag register 0 and tag register 1 so that multiplexer 77 can provide an output along line 78 to formatter 25 indicative of the format of the data to be loaded in the designated register.
With respect to FIG. 6, we will now consider the procedure involved in decoding the tag that accompanies the data returned from storage, particularly the tag indicative of the tag 0 or tag 1 register. The data returned from storage along bus 24 is monitored by tag decode logic 80 which determines whether the tag is one of several conventional tags indicating an instruction fetched from storage or one of the pair, tag 0, tag 1. If the tag is indicative of an instruction, the tag code logic signals the instruction buffer 15 via line 81 to load the instruction in the instruction buffer via line 83. On the other hand in the case of tag 0, tag 1, the logic of tag decode 80, performs the procedure shown in FIG. 6 in determining if the tag is a tag 0 or tag 1 indicator. First, step 85, a determination is made as to whether the tag is indicative of the tag 0 register. If it is, then, step 86, a further determination is made as to whether tag 0 has been cancelled. A tag is cancelled when its associated register has been overwritten so that the load associated with the tag is no longer valid. Thus, if the tag has not been cancelled, then, step 87, the data is loaded into the register of array 18 indicated in the tag 0 register. This is done by having the tag decode 80 issue a signal on line 82 (FIG. 1) to tag logic which in turn causes tag control logic 70 in FIG. 2 to have the tag 0 register 43 put out its contents on line 72 which in turn passes through multiplexer 71 from which the appropriate load register destination which has been stored in the tag 0 register is applied over line 74 to register array 18. Similarly the format data in tag register 0 is applied via line 75 through multiplexer 77 and line 78 to provide the requisite format control. At this point, (FIG. 6) or if a determination has been made in step 86 that the tag 0 had been cancelled then, the tag 0 register is set to an available state, step 88.
On the other hand, if a determination was made in decision step 85 that the tag associated with the data from storage is not a tag 0, a determination is then made in step 90 of whether the tag is a tag 1. Then, steps 91, 92 and 93 respectively the same as steps 86, 87 and 88 are carried out with respect to the tag 1 register.
Now with reference to FIG. 4 and with the logic of FIG. 2 there will be described compare function carried out by the compare logic for all instructions including both register to register as well as transfers to and from main storage and I/O units. First, step 100, FIG. 4, a determination is made as to whether either source register equals the register in tag 0. This comparison is made using compare units 52 and 53 in FIG. 2. If there is such a comparison, then it indicates that there is a data dependency on the contents of the register indicated by tag 0 and, step 101, the system is put into a wait state. In FIG. 2 this is accomplished by an output on either line 102 or 103 respectively resulting from a compare on either compare unit 52 or compare unit 53 causing OR gate 104 to produce a hold output on line 105 to control logic 17.
If it is determined in step 100 (FIG. 4) that neither source register equals a tag 0 register, then, the operation proceeds to step 106, and the above procedure is repeated with respect to the tag 1 register 44 (FIG. 2) using compare units 55 and 56.
A compare leads to step 107 resulting in a wait or hold off until the register indicated in the tag 1 register is finally loaded by return from main storage.
With respect to FIG. 2, it should be noted that in addition to comparing source registers in a given instruction as described with respect to the procedure of FIG. 4, the destination register in the instruction applied via line 47 is also compared to tag 0 register 43 and tag 1 register 44 respectively by compare unit 54 and compare unit 57 resulting in either an output cancelling the tag 0 register on line 109 to control logic 17 or cancelling the tag 1 register on line 110 control logic 17. This procedure is shown in the flow chart of FIG. 5. The cancel procedure shown with respect to FIGS. 5 and 2 covers the situation where a subsequent command transfers data to the load destination register indicated by a previous command before the transfer involved in the previous command is completed. In such a case, the assigned destination of the previous command is cancelled thereby, in effect, cancelling the previous command.
While the invention has been particularly shown and described with reference to a preferred embodiment it will be understood by those skilled in the art that various other changes in form and detail may be made without departing from the spirit and scope of the invention.
Claims (20)
1. In a data processing system including a CPU, at least one external unit requiring data from or providing data to said CPU and an I/O bus for the transfer of said data between said CPU and external unit, said CPU comprising:
means for executing a sequence of instructions including a first instruction;
means connected to the executing means for transferring data to or from said external unit over said bus during synchronized CPU time cycles,
means connected to the executing means for storing data in a plurality of registers within said CPU,
means connected to the transferring means and storing means for internally transferring data within said CPU registers concurrently during the transfer of data to or from the external unit, and
control means connected to the executing means, transferring means and storing means for controlling the transfer of data wherein the transfer of data between CPU registers coincides with the transfer of data to or from the external unit, said control means further including means for
determining when data required for execution of a first of a sequence of instructions in said CPU has not been stored in one or more of the CPU registers as required by the first instruction and
delaying the execution of the first instruction until such data is stored in the one or more registers while permitting the execution of other instructions of said sequence that do not require any data resulting from the execution of said first instruction.
2. The data processing system of claim 1 wherein said external unit is an external data storage unit.
3. The data processing system of claim 2 wherein said control means includes
means for generating data transfer commands to the external unit transfer means,
means for assigning a register in said CPU storing means to which data is to be transferred, and
means connected to said assigning means for storing a tag identifying said assigned register in a tag register in the control means, for comparing subsequent data transfer commands to the stored tags to determine if data for these subsequent data transfer commands includes data resulting from the external unit transfer command, for clearing said tag in the tag register when the external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has been cleared.
4. The data processing system of claim 3 wherein said control means further includes
means for cancelling a previous data transfer command in the event that a subsequent data transfer command assigns the same register assigned by the previous command before the previous command transfer is completed.
5. The data processing system of claim 4 wherein
said storing means includes means for generating register to register transfer commands, and
said control means further includes means for comparing said register to register transfer commands to said stored tags and for cancelling a previous data transfer command in the event that a subsequent register to register transfer command transfers data to the same register assigned by the previous command before the previous command transfer is completed.
6. The data processing system of claim 5 wherein said transfers to and from said external unit require a greater number of CPU time cycles than do said register to register transfers. .Iadd.
7. The data processing system of claim 6 wherein said control means further includes
means for delaying the execution of any subsequent instruction requiring the assignment of a register when there are no tag registers available. .Iaddend. .Iadd.8. In a data processing system including a CPU, at least one external unit requiring data from or providing data to said CPU and an I/O bus for the transfer of said data between said CPU and external unit, said CPU comprising:
means for executing a sequence of instructions;
means connected to the executing means for transferring data to or from said external unit over said bus;
means connected to the executing means for storing data in a plurality of registers within said CPU;
means connected to the transferring means and storing means for internally transferring data within said CPU registers concurrently during the transfer of data to or from the external unit; and
control means connected to the executing means, transferring means and storing means for controlling the transfer of data wherein the transfer of data between CPU registers coincides with the transfer of data to or from the external unit, said control means further including means for
determining when data to be loaded into first one or more of the CPU registers by execution of a first of a sequence of instructions in said CPU has not been loaded in first one or more of the CPU registers as required by the first instruction
determining when data to be loaded into second one or more of the CPU registers by execution of a second within the sequence of instructions in said CPU has not been loaded in second one or more of the CPU registers as required by the second instruction and
simultaneously waiting for completion of execution of the first and second instructions while permitting the execution of other instructions of said sequence that do not require any data resulting from the completion of
execution of said first or second instructions. .Iaddend. .Iadd.9. The data processing system of claim 8 wherein said external unit is an external data storage unit. .Iaddend. .Iadd.10. The data processing system of claim 9 wherein said control means includes
means for generating data transfer commands to the external unit transfer means,
means for assigning a register in said CPU storing means to which data is to be transferred, and
means connected to said assigning means for storing a tag identifying said assigned register in a tag register in the control means, for comparing subsequent data transfer commands to the stored tags to determine if data for these subsequent data transfer commands includes data resulting from the external unit transfer command, for clearing said tag in the tag register when the external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has been cleared. .Iaddend. .Iadd.11. The data processing system of claim 10 wherein said control means further includes
means for cancelling a previous data transfer command in the event that a subsequent data transfer command assigns the same register assigned by the previous command before the previous command transfer is completed.
.Iaddend. .Iadd.12. The data processing system of claim 11 wherein
said storing means includes means for generating register to register transfer commands, and
said control means further includes means for comparing said register to register transfer commands to said stored tag and for cancelling a previous data transfer command in the event that a subsequent register to register transfer command transfers data to the same register assigned by the previous command before the previous command transfer is completed. .Iaddend. .Iadd.13. The data processing system of claim 12 wherein said transfers to and from said external unit require a greater number of CPU time cycles than do said register to register transfers. .Iaddend. .Iadd.14. The data processing system of claim 10 wherein said control means further includes
means for assigning each one of the plurality of registers in said CPU storing means to which data is to be transferred,
a plurality of tag registers,
means for storing a tag identifying each of said assigned registers in one of the plurality of tag registers, for comparing subsequent data transfer commands to each of the stored tags to determine if data for these subsequent data transfer commands includes data resulting from one of the external unit transfer commands, for clearing one of the plurality of tags in the tag register when its respective external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has been cleared, and
means for delaying the execution of any subsequent instruction requiring the assignment of a register when there are no tag registers available.
.Iaddend. .Iadd.15. The data processing system of claim 14 wherein said control means further includes means for clearing any one of the plurality of tags in the tag register when its respective external unit data transfer is complete, irrespective of the order in which the tags were assigned. .Iaddend. .Iadd.16. A data processing system comprising:
means for executing a sequence of instructions;
means connected to the executing means for storing data in a plurality of registers;
means connected to the executing means and storing means for transferring data between registers concurrently during the transfer of data to or from an external unit, and
control means connected to the executing means, transferring means and storing means for controlling the transfer of data and further including means for
determining when data to be loaded into one or more registers by execution of at least two instructions in a sequence of instructions has not been loaded in one or more of the registers as required by the at least two instructions, and
waiting for completion of execution of the at least two instructions while permitting the execution of other instructions of said sequence that do not require any data resulting from the completion of execution of either of said at least two instructions. .Iaddend. .Iadd.17. The data processing system of claim 16 wherein said control means includes
means for generating data transfer commands to the external unit transfer means,
means for assigning a register in said CPU storing means to which data is to be transferred, and
means connected to said assigning means for storing a tag identifying said assigned register in a tag register in the control means, for comparing subsequent data transfer commands to the stored tags to determine if data for these subsequent data transfer commands includes data resulting from the external unit transfer command, for clearing said tag in the tag register when the external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has
been cleared. .Iaddend. .Iadd.18. The data processing system of claim 17 wherein said control means further includes
means for cancelling a previous data transfer command in the event that a subsequent data transfer command assigns the same register assigned by the previous command before the previous command transfer is completed. .Iaddend. .Iadd.19. The data processing system of claim 18 wherein said storing means includes means for generating register to register transfer commands, and
said control means further includes means for comparing said register to register transfer commands to said stored tags and for cancelling a previous data transfer to the same register assigned by the subsequent command before the previous command transfer is completed. .Iaddend. .Iadd.20. The data processing system of claim 17 wherein said control means further includes
means for assigning each one of the plurality of registers in said CPU storing means to which data is to be transferred,
a plurality of tag registers,
means for storing a tag identifying each of said assigned registers in one of the plurality of tag registers, for comparing subsequent data transfer commands to each of the stored tags to determine if data for these subsequent data transfer commands includes data resulting from one of the external unit transfer commands, for clearing one of the plurality of tags in the tag registers when its respective external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has been cleared, and
means for delaying the execution of any subsequent instruction requiring the assignment of a register when there are no tag registers available.
.Iaddend. .Iadd.21. The data processing system of claim 20 wherein said control means further includes means for clearing any one of the plurality of tags in the tag register when its respective external unit data transfer is complete, irrespective of the order in which the tags were
assigned. .Iaddend. .Iadd.22. A data processing system comprising:
means for executing a sequence of instructions;
means connected to the executing means for storing data in a plurality of registers;
means connected to the executing means and storing means for transferring data between registers concurrently during the transfer of data to or from an external unit, and
control means connected to the executing means, transferring means and storing means for controlling the transfer of data and further including means for
determining when data to be loaded in one or more of the CPU registers by execution of an instruction in a sequence of instructions has not been loaded in said one or more of the registers as required by the instruction and
waiting for completion of execution of the instruction until either data required by said instruction is stored in said one or more registers or until a subsequent instruction in said sequence is encountered which will result in data being loaded in the same one or more registers, while permitting the execution of other instructions of said sequence that do not require any data resulting from the completion of execution of the
instruction. .Iaddend. .Iadd.23. The data processing system of claim 22 wherein said control means includes
means for generating data transfer commands to the external unit transfer means,
means for assigning a register in said CPU storing means to which data is to be transferred, and
means connected to said assigning means for storing a tag identifying said assigned register in a tag register in the control means, for comparing subsequent data transfer commands to the stored tags to determine if data for these subsequent data transfer commands includes data resulting from the external unit transfer command, for clearing said tag in the tag register when the external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has
been cleared. .Iaddend. .Iadd.24. The data processing system of claim 23 wherein said control means further includes:
means for cancelling a previous data transfer command in the event that a subsequent data transfer command assigns the same register assigned by the previous command before the previous command transfer is completed.
.Iaddend. .Iadd.25. The data processing system of claim 24 wherein said storing means includes means for generating register to register transfer commands, and
said control means further includes means for comparing said register to register transfer commands to said stored tags and for cancelling a previous data transfer command in the event that a subsequent register to register transfer command transfers data to the same register assigned by the previous command before the previous command transfer is completed. .Iaddend. .Iadd.26. The data processing of claim 23 wherein said control means further includes
means for assigning each one of the plurality of registers in said CPU storing means to which data is to be transferred,
a plurality of tag registers,
means for storing a tag identifying each of said assigned registers in one of the plurality of tag registers, for comparing subsequent data transfer commands to each of the stored tags to determine if data for these subsequent data transfer commands includes data resulting from one of the external unit transfer commands, for clearing one of the plurality of tags in the tag registers when its respective external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has been cleared, and
means for delaying the execution of any subsequent instruction requiring the assignment of a register when there are no tag registers available.
.Iaddend. .Iadd.27. The data processing system of claim 26 wherein said control means further includes means for clearing any one of the plurality of tags in the tag register when its respective external unit data transfer is complete, irrespective of the order in which the tags were assigned. .Iaddend. .Iadd.28. A data processing system comprising:
means for executing a sequence of instructions;
means connected to the executing means for storing data in a plurality of registers;
means connected to the executing means and storing means for transferring data within registers concurrently during the transfer of data to or from an external unit, and
control means connected to the executing means, transferring means and storing means for controlling the transfer of data and further including means for
determining when data to be loaded into one or more of the CPU registers by execution of at least two instructions in a sequence of instructions has not been stored in one or more of the registers as required by the at least two instructions and
waiting for the completion of execution of the at least two instructions until either data required by said instructions is stored in said one or more registers or until a subsequent instruction in said sequence is encountered which will result in data being loaded in the same one or more registers, while permitting the execution of other instructions of said sequence that do not require any data resulting from the completion of execution of said at least two instructions. .Iaddend. .Iadd.29. The data processing system of claim 28 wherein said control means includes
means for generating data transfer commands to the external unit transfer means,
means for assigning a register in said storing means to which data is to be transferred, and
means connected to said assigning means for storing a tag identifying said assigned register in a tag register in the control means, for comparing subsequent data transfer commands to the stored tags to determine if data for these subsequent data transfer commands includes data resulting from the external unit transfer command, for clearing said tag in the tag register when the external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has
been cleared. .Iaddend. .Iadd.30. The data processing system of claim 29 wherein said control means further includes:
means for cancelling a previous data transfer command in the event that a subsequent data transfer command assigns the same register assigned by the previous command before the previous command transfer is completed. .Iaddend. .Iadd.31. The data processing system of claim 30 wherein said storing means includes means for generating register to register transfer commands, and
said control means further includes means for comparing said register to register transfer commands to said stored tags and for cancelling a previous data transfer command in the event that a subsequent register to register transfer command transfers data to the same register assigned by the previous command before the previous command transfer is completed. .Iaddend. .Iadd.32. The data processing system of claim 29 wherein said control means further includes
means for assigning each one of the plurality of registers in said CPU storing means to which data is to be transferred,
a plurality of tag registers,
means for storing a tag identifying each of said assigned registers in one of the plurality of tag registers, for comparing subsequent data transfer commands to each of the stored tags to determine if data for these subsequent data transfer commands includes data resulting from one of the external unit transfer commands, for clearing one of the plurality of tags in the tag registers when its respective external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has been cleared, and
means for delaying the execution of any subsequent instruction requiring the assignment of a register when there are no tag registers available.
.Iaddend. .Iadd.33. The data processing system of claim 32 wherein said control means further includes means for clearing any one of the plurality of tags in the tag register when its respective external unit data transfer is complete, irrespective of the order in which the tags were assigned. .Iaddend. .Iadd.34. A data processing system, comprising:
means for executing a sequence of instructions;
means connected to the executing means for storing data in a plurality of registers;
means connected to the executing means and the storing means for transferring data between registers concurrently during transfer of data to or from an external unit; and
control means connected to the executing means, transferring means and storing means for controlling the transfer of data, said control means including means for
determining when data to be stored in at least a first register by execution of a first instruction in said sequence of instructions has not been stored in said first register,
determining when data to be stored in at least a second register by execution of a second instruction in said sequence of instructions has not been stored in said second register,
waiting for the completion of execution of said first instruction until data is loaded in said first register, while permitting the execution of other instructions of said sequence that do not require any data resulting from the completion of execution of said first instruction,
concurrently waiting for the completion of execution of said second instruction until data is loaded in said second register, while permitting the execution of other instructions of said sequence that do not require any data resulting from the completion of execution of said second instruction, and
cancelling the execution of either of said first or second instructions if any of said other instructions of said sequence designate either said first or second registers as a destination register before completion of execution of said first or second instruction, respectively. .Iaddend.
.Iadd.35. The data processing system of claim 34 wherein said control means further includes
means for assigning each one of the plurality of registers in said CPU storing means to which data is to be transferred,
a plurality of tag registers,
means for storing a tag identifying each of said assigned registers in one of the plurality of tag registers, for comparing subsequent data transfer commands to each of the stored tags to determine if data for these subsequent data transfer commands includes data resulting from one of the external unit transfer commands, for clearing one of the plurality of tags in the tag registers when its respective external unit data transfer is complete, and for delaying the execution of any subsequent data transfer commands requiring data from the result of this external unit data transfer until the tag has been cleared, and
means for delaying the execution of any subsequent instruction requiring the assignment of a register when there are no tag registers available. .Iaddend. .Iadd.36. The data processing system of claim 35 wherein said control means further includes means for clearing any one of the plurality of tags in the tag register when its respective external unit data transfer is complete, irrespective of the order to which the tags were assigned. .Iaddend.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US07/285,827 USRE34052E (en) | 1984-05-31 | 1988-12-16 | Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US06/615,984 US4630195A (en) | 1984-05-31 | 1984-05-31 | Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage |
US07/285,827 USRE34052E (en) | 1984-05-31 | 1988-12-16 | Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US06/615,984 Reissue US4630195A (en) | 1984-05-31 | 1984-05-31 | Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage |
Publications (1)
Publication Number | Publication Date |
---|---|
USRE34052E true USRE34052E (en) | 1992-09-01 |
Family
ID=26963400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US07/285,827 Expired - Lifetime USRE34052E (en) | 1984-05-31 | 1988-12-16 | Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage |
Country Status (1)
Country | Link |
---|---|
US (1) | USRE34052E (en) |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5341506A (en) * | 1984-12-10 | 1994-08-23 | Nec Corporation | Data flow processor with a full-to-half word convertor |
US5367648A (en) * | 1991-02-20 | 1994-11-22 | International Business Machines Corporation | General purpose memory access scheme using register-indirect mode |
US5404466A (en) * | 1989-06-13 | 1995-04-04 | Nec Corporation | Apparatus and method to set and reset a pipeline instruction execution control unit for sequential execution of an instruction interval |
US5754812A (en) * | 1995-10-06 | 1998-05-19 | Advanced Micro Devices, Inc. | Out-of-order load/store execution control |
US5778208A (en) * | 1995-12-18 | 1998-07-07 | International Business Machines Corporation | Flexible pipeline for interlock removal |
US5787465A (en) * | 1994-07-01 | 1998-07-28 | Digital Equipment Corporation | Destination indexed miss status holding registers |
US6038657A (en) | 1995-10-06 | 2000-03-14 | Advanced Micro Devices, Inc. | Scan chains for out-of-order load/store execution control |
US20130275473A1 (en) * | 2011-12-08 | 2013-10-17 | Oracle International Corporation | Techniques for maintaining column vectors of relational data within volatile memory |
US9158810B2 (en) | 2012-10-02 | 2015-10-13 | Oracle International Corporation | Hardware message queues for intra-cluster communication |
US9342314B2 (en) | 2011-12-08 | 2016-05-17 | Oracle International Corporation | Efficient hardware instructions for single instruction multiple data processors |
US9697174B2 (en) | 2011-12-08 | 2017-07-04 | Oracle International Corporation | Efficient hardware instructions for processing bit vectors for single instruction multiple data processors |
US9792117B2 (en) | 2011-12-08 | 2017-10-17 | Oracle International Corporation | Loading values from a value vector into subregisters of a single instruction multiple data register |
US9990308B2 (en) | 2015-08-31 | 2018-06-05 | Oracle International Corporation | Selective data compression for in-memory databases |
US10025823B2 (en) | 2015-05-29 | 2018-07-17 | Oracle International Corporation | Techniques for evaluating query predicates during in-memory table scans |
US10055358B2 (en) | 2016-03-18 | 2018-08-21 | Oracle International Corporation | Run length encoding aware direct memory access filtering engine for scratchpad enabled multicore processors |
US10061832B2 (en) | 2016-11-28 | 2018-08-28 | Oracle International Corporation | Database tuple-encoding-aware data partitioning in a direct memory access engine |
US10061714B2 (en) | 2016-03-18 | 2018-08-28 | Oracle International Corporation | Tuple encoding aware direct memory access engine for scratchpad enabled multicore processors |
US10176114B2 (en) | 2016-11-28 | 2019-01-08 | Oracle International Corporation | Row identification number generation in database direct memory access engine |
US10380058B2 (en) | 2016-09-06 | 2019-08-13 | Oracle International Corporation | Processor core to coprocessor interface with FIFO semantics |
US10402425B2 (en) | 2016-03-18 | 2019-09-03 | Oracle International Corporation | Tuple encoding aware direct memory access engine for scratchpad enabled multi-core processors |
US10459859B2 (en) | 2016-11-28 | 2019-10-29 | Oracle International Corporation | Multicast copy ring for database direct memory access filtering engine |
US10534606B2 (en) | 2011-12-08 | 2020-01-14 | Oracle International Corporation | Run-length encoding decompression |
US10599488B2 (en) | 2016-06-29 | 2020-03-24 | Oracle International Corporation | Multi-purpose events for notification and sequence control in multi-core processor systems |
US10725947B2 (en) | 2016-11-29 | 2020-07-28 | Oracle International Corporation | Bit vector gather row count calculation and handling in direct memory access engine |
US10783102B2 (en) | 2016-10-11 | 2020-09-22 | Oracle International Corporation | Dynamically configurable high performance database-aware hash engine |
US10915514B2 (en) | 2013-09-21 | 2021-02-09 | Oracle International Corporation | Methods and systems for fast set-membership tests using one or more processors that support single instruction multiple data instructions |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3401376A (en) * | 1965-11-26 | 1968-09-10 | Burroughs Corp | Central processor |
US3447135A (en) * | 1966-08-18 | 1969-05-27 | Ibm | Peripheral data exchange |
US3588829A (en) * | 1968-11-14 | 1971-06-28 | Ibm | Integrated memory system with block transfer to a buffer store |
US3949379A (en) * | 1973-07-19 | 1976-04-06 | International Computers Limited | Pipeline data processing apparatus with high speed slave store |
US3962706A (en) * | 1974-03-29 | 1976-06-08 | Massachusetts Institute Of Technology | Data processing apparatus for highly parallel execution of stored programs |
US3967247A (en) * | 1974-11-11 | 1976-06-29 | Sperry Rand Corporation | Storage interface unit |
US3997896A (en) * | 1975-06-30 | 1976-12-14 | Honeywell Information Systems, Inc. | Data processing system providing split bus cycle operation |
US4062059A (en) * | 1975-10-15 | 1977-12-06 | Tokyo Shibaura Electric Co., Ltd. | Information processing system |
US4063078A (en) * | 1976-06-30 | 1977-12-13 | International Business Machines Corporation | Clock generation network for level sensitive logic system |
US4095269A (en) * | 1975-10-01 | 1978-06-13 | Hitachi, Ltd. | Data processing system having a high speed buffer memory |
US4128882A (en) * | 1976-08-19 | 1978-12-05 | Massachusetts Institute Of Technology | Packet memory system with hierarchical structure |
US4130885A (en) * | 1976-08-19 | 1978-12-19 | Massachusetts Institute Of Technology | Packet memory system for processing many independent memory transactions concurrently |
US4153932A (en) * | 1974-03-29 | 1979-05-08 | Massachusetts Institute Of Technology | Data processing apparatus for highly parallel execution of stored programs |
US4181934A (en) * | 1976-12-27 | 1980-01-01 | International Business Machines Corporation | Microprocessor architecture with integrated interrupts and cycle steals prioritized channel |
US4232366A (en) * | 1978-10-25 | 1980-11-04 | Digital Equipment Corporation | Bus for a data processing system with overlapped sequences |
US4370710A (en) * | 1980-08-26 | 1983-01-25 | Control Data Corporation | Cache memory organization utilizing miss information holding registers to prevent lockup from cache misses |
US4376976A (en) * | 1980-07-31 | 1983-03-15 | Sperry Corporation | Overlapped macro instruction control system |
US4675806A (en) * | 1982-03-03 | 1987-06-23 | Fujitsu Limited | Data processing unit utilizing data flow ordered execution |
-
1988
- 1988-12-16 US US07/285,827 patent/USRE34052E/en not_active Expired - Lifetime
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3401376A (en) * | 1965-11-26 | 1968-09-10 | Burroughs Corp | Central processor |
US3447135A (en) * | 1966-08-18 | 1969-05-27 | Ibm | Peripheral data exchange |
US3588829A (en) * | 1968-11-14 | 1971-06-28 | Ibm | Integrated memory system with block transfer to a buffer store |
US3949379A (en) * | 1973-07-19 | 1976-04-06 | International Computers Limited | Pipeline data processing apparatus with high speed slave store |
US4153932A (en) * | 1974-03-29 | 1979-05-08 | Massachusetts Institute Of Technology | Data processing apparatus for highly parallel execution of stored programs |
US3962706A (en) * | 1974-03-29 | 1976-06-08 | Massachusetts Institute Of Technology | Data processing apparatus for highly parallel execution of stored programs |
US3967247A (en) * | 1974-11-11 | 1976-06-29 | Sperry Rand Corporation | Storage interface unit |
US3997896A (en) * | 1975-06-30 | 1976-12-14 | Honeywell Information Systems, Inc. | Data processing system providing split bus cycle operation |
US4095269A (en) * | 1975-10-01 | 1978-06-13 | Hitachi, Ltd. | Data processing system having a high speed buffer memory |
US4062059A (en) * | 1975-10-15 | 1977-12-06 | Tokyo Shibaura Electric Co., Ltd. | Information processing system |
US4063078A (en) * | 1976-06-30 | 1977-12-13 | International Business Machines Corporation | Clock generation network for level sensitive logic system |
US4130885A (en) * | 1976-08-19 | 1978-12-19 | Massachusetts Institute Of Technology | Packet memory system for processing many independent memory transactions concurrently |
US4128882A (en) * | 1976-08-19 | 1978-12-05 | Massachusetts Institute Of Technology | Packet memory system with hierarchical structure |
US4181934A (en) * | 1976-12-27 | 1980-01-01 | International Business Machines Corporation | Microprocessor architecture with integrated interrupts and cycle steals prioritized channel |
US4232366A (en) * | 1978-10-25 | 1980-11-04 | Digital Equipment Corporation | Bus for a data processing system with overlapped sequences |
US4376976A (en) * | 1980-07-31 | 1983-03-15 | Sperry Corporation | Overlapped macro instruction control system |
US4370710A (en) * | 1980-08-26 | 1983-01-25 | Control Data Corporation | Cache memory organization utilizing miss information holding registers to prevent lockup from cache misses |
US4675806A (en) * | 1982-03-03 | 1987-06-23 | Fujitsu Limited | Data processing unit utilizing data flow ordered execution |
Non-Patent Citations (12)
Title |
---|
"A Data Flow Multiprocessor" by J. Rumbaugh, pp. 138-146. |
"A Preliminary Architecture for a Basic Data-Flow Processor" by J. B. Dennis and D. P. Misunas, pp. 126-132. |
"Data-flow IC makes short work of tough processing chores" Electronic Design, pp. 191-206. |
"The 801 Minicomputer" by George Radin, pp. 212-221. |
"The Control Data 6600" by Thornton p. 6 and pp. 124-140. |
"The Piecewise Data Flow Architecture: Architectural Concepts" by Joseph E. Requa, pp. 425-437. |
A Data Flow Multiprocessor by J. Rumbaugh, pp. 138 146. * |
A Preliminary Architecture for a Basic Data Flow Processor by J. B. Dennis and D. P. Misunas, pp. 126 132. * |
Data flow IC makes short work of tough processing chores Electronic Design, pp. 191 206. * |
The 801 Minicomputer by George Radin, pp. 212 221. * |
The Control Data 6600 by Thornton p. 6 and pp. 124 140. * |
The Piecewise Data Flow Architecture: Architectural Concepts by Joseph E. Requa, pp. 425 437. * |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5341506A (en) * | 1984-12-10 | 1994-08-23 | Nec Corporation | Data flow processor with a full-to-half word convertor |
US5404466A (en) * | 1989-06-13 | 1995-04-04 | Nec Corporation | Apparatus and method to set and reset a pipeline instruction execution control unit for sequential execution of an instruction interval |
US5367648A (en) * | 1991-02-20 | 1994-11-22 | International Business Machines Corporation | General purpose memory access scheme using register-indirect mode |
US5787465A (en) * | 1994-07-01 | 1998-07-28 | Digital Equipment Corporation | Destination indexed miss status holding registers |
US6038657A (en) | 1995-10-06 | 2000-03-14 | Advanced Micro Devices, Inc. | Scan chains for out-of-order load/store execution control |
US5754812A (en) * | 1995-10-06 | 1998-05-19 | Advanced Micro Devices, Inc. | Out-of-order load/store execution control |
US5778208A (en) * | 1995-12-18 | 1998-07-07 | International Business Machines Corporation | Flexible pipeline for interlock removal |
US20130275473A1 (en) * | 2011-12-08 | 2013-10-17 | Oracle International Corporation | Techniques for maintaining column vectors of relational data within volatile memory |
US10534606B2 (en) | 2011-12-08 | 2020-01-14 | Oracle International Corporation | Run-length encoding decompression |
US9201944B2 (en) * | 2011-12-08 | 2015-12-01 | Oracle International Corporation | Techniques for maintaining column vectors of relational data within volatile memory |
US10229089B2 (en) | 2011-12-08 | 2019-03-12 | Oracle International Corporation | Efficient hardware instructions for single instruction multiple data processors |
US9342314B2 (en) | 2011-12-08 | 2016-05-17 | Oracle International Corporation | Efficient hardware instructions for single instruction multiple data processors |
US9697174B2 (en) | 2011-12-08 | 2017-07-04 | Oracle International Corporation | Efficient hardware instructions for processing bit vectors for single instruction multiple data processors |
US9792117B2 (en) | 2011-12-08 | 2017-10-17 | Oracle International Corporation | Loading values from a value vector into subregisters of a single instruction multiple data register |
US9965501B2 (en) | 2011-12-08 | 2018-05-08 | Oracle International Corporation | Techniques for maintaining column vectors of relational data within volatile memory |
US10055224B2 (en) | 2012-10-02 | 2018-08-21 | Oracle International Corporation | Reconfigurable hardware structures for functional pipelining of on-chip special purpose functions |
US9158810B2 (en) | 2012-10-02 | 2015-10-13 | Oracle International Corporation | Hardware message queues for intra-cluster communication |
US9251272B2 (en) | 2012-10-02 | 2016-02-02 | Oracle International Corporation | Reconfigurable hardware structures for functional pipelining of on-chip special purpose functions |
US10915514B2 (en) | 2013-09-21 | 2021-02-09 | Oracle International Corporation | Methods and systems for fast set-membership tests using one or more processors that support single instruction multiple data instructions |
US10922294B2 (en) | 2013-09-21 | 2021-02-16 | Oracle International Corporation | Methods and systems for fast set-membership tests using one or more processors that support single instruction multiple data instructions |
US10073885B2 (en) | 2015-05-29 | 2018-09-11 | Oracle International Corporation | Optimizer statistics and cost model for in-memory tables |
US10216794B2 (en) | 2015-05-29 | 2019-02-26 | Oracle International Corporation | Techniques for evaluating query predicates during in-memory table scans |
US10025823B2 (en) | 2015-05-29 | 2018-07-17 | Oracle International Corporation | Techniques for evaluating query predicates during in-memory table scans |
US9990308B2 (en) | 2015-08-31 | 2018-06-05 | Oracle International Corporation | Selective data compression for in-memory databases |
US10331572B2 (en) | 2015-08-31 | 2019-06-25 | Oracle International Corporation | Selective data mirroring for in-memory databases |
US10061714B2 (en) | 2016-03-18 | 2018-08-28 | Oracle International Corporation | Tuple encoding aware direct memory access engine for scratchpad enabled multicore processors |
US10055358B2 (en) | 2016-03-18 | 2018-08-21 | Oracle International Corporation | Run length encoding aware direct memory access filtering engine for scratchpad enabled multicore processors |
US10402425B2 (en) | 2016-03-18 | 2019-09-03 | Oracle International Corporation | Tuple encoding aware direct memory access engine for scratchpad enabled multi-core processors |
US10599488B2 (en) | 2016-06-29 | 2020-03-24 | Oracle International Corporation | Multi-purpose events for notification and sequence control in multi-core processor systems |
US10380058B2 (en) | 2016-09-06 | 2019-08-13 | Oracle International Corporation | Processor core to coprocessor interface with FIFO semantics |
US10614023B2 (en) | 2016-09-06 | 2020-04-07 | Oracle International Corporation | Processor core to coprocessor interface with FIFO semantics |
US10783102B2 (en) | 2016-10-11 | 2020-09-22 | Oracle International Corporation | Dynamically configurable high performance database-aware hash engine |
US10459859B2 (en) | 2016-11-28 | 2019-10-29 | Oracle International Corporation | Multicast copy ring for database direct memory access filtering engine |
US10176114B2 (en) | 2016-11-28 | 2019-01-08 | Oracle International Corporation | Row identification number generation in database direct memory access engine |
US10061832B2 (en) | 2016-11-28 | 2018-08-28 | Oracle International Corporation | Database tuple-encoding-aware data partitioning in a direct memory access engine |
US10725947B2 (en) | 2016-11-29 | 2020-07-28 | Oracle International Corporation | Bit vector gather row count calculation and handling in direct memory access engine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
USRE34052E (en) | Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage | |
US4630195A (en) | Data processing system with CPU register to register data transfers overlapped with data transfer to and from main storage | |
JP3531166B2 (en) | Register renaming system and method | |
US4807115A (en) | Instruction issuing mechanism for processors with multiple functional units | |
KR0133238B1 (en) | Computer processing system and instruction execution method | |
EP0021399B1 (en) | A method and a machine for multiple instruction execution | |
EP0243892B1 (en) | System for guaranteeing the logical integrity of data | |
EP0213842B1 (en) | Mechanism for performing data references to storage in parallel with instruction execution on a reduced instruction-set processor | |
EP0437044B1 (en) | Data processing system with instruction tag apparatus | |
KR100295081B1 (en) | System and method for assigning tags to commands for command execution control | |
JPH06242954A (en) | Method and system for improving order dispatch in superscalar processor system by using middle storage area that is independently accessed | |
NZ201809A (en) | Microprocessor | |
JP3556246B2 (en) | Apparatus for interrupt handling in a pipeline processor | |
US6591359B1 (en) | Speculative renaming of data-processor registers | |
US4385365A (en) | Data shunting and recovering device | |
US5617549A (en) | System and method for selecting and buffering even and odd instructions for simultaneous execution in a computer | |
CA1321027C (en) | Vector tailgating in computers with vector registers | |
JPH0743648B2 (en) | Information processing equipment | |
US5163157A (en) | Pipeline computer with bypass route for returning data to request source | |
KR100241970B1 (en) | Data processing apparatus for performing pipeline processing | |
KR920002830B1 (en) | Direct memory access controller | |
JPH02742B2 (en) | ||
JP2814683B2 (en) | Instruction processing unit | |
JPH08272608A (en) | Pipeline processor | |
JPH10283178A (en) | Method and system for issuing instruction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Fee payment |
Year of fee payment: 8 |
|
FPAY | Fee payment |
Year of fee payment: 12 |