EARLY SCISM ALU STATUS DETERMINATION APPARATUS

Abstract: A status determination apparatus, includes a three-to-one arithmetic logic unit (ALU), for predicting the status of the ALU operations related to the carries incorporated in the ALU which is designed to execute a second instruction of an interlock instruction pair in parallel whether or not the second instruction is independent or dependent on a result of the operation of the first instruction. An apparatus is developed (Figs. 2-3) for generating carries (C0, C1) due to the second instruction of the interlock instruction pair when executing all combinations of logical and aritthmetic pair. A critical path for calculating the carries ( lambda ) is first presented. Next, the expression for generating the carries ( lambda ) is used to derive a fast implementation (Figs. 4-5) for generating an overflow (OF). Additionally, an implementation scheme is developed for predicting result equal to zero (Fig. 6).

Description: EARLY SCISM ALU STATUS DETERMINATION APPARATUS RELATED APPLICATIONS: This application claims priority and is to be treated as a continuation in part of the following applications: (1) Application Serial No. 07/504,910 (IBM Docket EN9-90-014), filed April 4, 1990, entitled "Data Dependency Collapsing Hardware Apparatus", the inven¬ tors being Stamatis Vassiliadis et al.; (2) Application Serial No. 07/619,868 (IBM Docket EN9-90-033) filed November 28, 1990, entitled "Overflow Determination for Three-Operand ALUs in a Scalable Compound Instruction Set Machine", the inventors being Stamatis Vassiliadis et al.; This application relates to subject matter disclosed in: (3) Application Serial No. (IBM Docket EN9-91-005), filed March, 1991 , entitled "High Performance Interlock Collapsing ALU Appa¬ ratus", the inventors being Stamatis Vassiliadis et al., filed concurrently here¬ with. Furthermore, the subject matter of this application, while having other appli¬ cations and uses, may be used in connection with a Scalable Compound Instruction Set Machine (SCISM) as defined by the following additional appli¬ cations: The present United States patent application is related to the following co- pending United States patent applications: (1) Application Serial No. 07/519,382 (IBM Docket EN9-90-020), filed May 4, 1990, entitled "Scalable Compound Instruction Set Machine Architecture", the inventors being Stamatis Vassiliadis et al.; (2) Application Serial No. 07/519,384 (IBM Docket EN9-90-019), filed May 4, 'i 990, entitled "General Purpose Compound Apparatus For Instruction-Level Parallel Processors", the inventors being Richard J. Eickemeyer et al.; (3) Application Serial No. 07/522,219 (IBM Docket EN9-90-012), filed May 10, 1990, entitled "Compounding Preprocessor For Cache", the inventors being Bartholomew Blaner et al.; (4) Application Serial No. 07/543,464 (IBM Docket EN9-90-018), filed June 26, 1990, entitled "An In-Memory Preprocessor for a Scalable Compound Instruc¬ tion Set Machine Processor", the inventors being Richard Eickemeyer et al.; (5) Application Serial No. 07/543,458, (IBM Docket EN9-90-042), filed June 26, 1990, entitled "Memory Management for Scalable Compound Instruction Set Machines With In-Memory Compounding", the inventors being Richard Eickemeyer et al.; (6) Application Serial No. 07/642,011 (IBM Docket EN9-90-049), filed January 15, 1991 , entitled "Compounding Preprocessor for Cache", the inventors being Bartholomew Blaner et al.; (7) Application Serial No. (IBM Docket EN9-90-039) filed , entitled "System for Compounding Instructions for an Instruction Processor With Different Attributes With Apparatus for Handling Test and Data With Differing Reference Point Information and Backward Compounding Apparatus for Compound Instructions", the inventors being Richard Eickemeyer et al.; and (8) Application Serial No. (IBM Docket EN9-90-040), filed , entitled "System for Preparing Instructions for Instruction Processor and System with Mechanism for Branching in the Middle of a Com¬ pound Instruction", the inventors being S. Vassiliadis et al. These co-pending applications and the present application are owned by one and the same assignee, namely, International Business Machines Corpo¬ ration of Armonk, New York. FIELD OF THE INVENTION This invention relates to the field of Arithmetic Logic Units (ALUs), and to a new machine organization which executes pairs of instructions in parallel having "add/logical combinatorial operations" which means combining all four of the following combinations: add-add; add-logical; logical-add; and logical-logical functions, and to a machine organization in which two or more disassociated ALU operations are specified by a single ALU which responds to the parallel issuance of a plurality of separate instructions, each of which specifies ALU operations, and executes the instructions in parallel, and par¬ ticularly to to the prediction of the status for three-to-one arithmetic logic units or ALU's. BACKGROUND OF THE INVENTIONS Conventional architectures are scalar, represented by such systems as RISC, IBM System/360 and System/370. In addition there are such devices as have been described in Wulf et al., U.S. Patent 4,819,155 and Oota, U.S. Patent 4,852,040. See also, the article by W.A. Wulf proposed in Computer Architec¬ ture News, March, 1988, entitled "The WM Computer Architecture". The Wulf apparatus is for vector processing rather than scalar processing, but teaches two operands are combined in an ALU to produce a result in a first execution cycle, following which the result and a third operand are provide to a second ALU which produces a result in a second execution cycle. This reference hints at pipelining similar to superscalar machines which are known, as one way to improve performance. Pipelining is a standard technique used by computer designers to improve the performance of computer systems. In pipelining an instruction is parti¬ tioned into several steps or stages for which unique hardware is allocated to implement the function assigned to that stage. If the cycle time of an n-stage pipeline implementation is assumed to be m/n, where m is the cycle time of the corresponding implementation not employing pipelining, then the best pipeline implementation will have a cycle time of m/n. Another known tech¬ nique is super-scalar, which permits instructions, grouped strictly on a first- in-first-out basis to be simultaneously issued. The superscalar machine was not designed for a scalable compound instruction set, where related instructions not necessarily originally written together, may be issued as a plural set unit instruction for execution in parallel. Parallel execution of instructions has become a popular technique for improving processor performance for a reasonable cost. The invention does not consider the parallel execution of instructions per se as novel, even though parallel execution of base instructions is achieved by the inventions, rather it concerns the prediction of the status of a three-to-one adder. Such an adder may be used in a which processes instructions in parallel. It is known to implement a three to one adder. It consists of a three to two carry save adder (CSA) followed by a two to one carry look ahead adder (CLA). S. Vassiliadis and M. Putrino, recognized that the critical path in ALUs is usually limited by determination of result equal to zero. In "Condi¬ tion code predictor for fixed-point arithmetic units," Int. J. Electronics, vol. 66, no. 6, pp. 887-890, 1989, they proposed a method for predicting that the result is equal to zero for a two-to-one two's complement adder; however, as recognized by the author and one of the joint inventors here, that method does not apply for a three-to-one ALU. A discussion of one known form of the two-to-one CLA can be found in S. Vassiliadis, "Recursive Equations for Hardware Binary Adders," Int. J. Elec¬ tronics, vol. 67, no. 2, pp. 201-213, 1989, which discusses hardwired binary adders. This journal article may be referenced for definitions of the known quantities G and T n , which represent the pseudo-generate and transmit, respectively, at bit position n in the Boolean expressions which we use to describe the stages of the CLA employed in a described preferred embod¬ iment of our inventions. For ease in understanding of our inventions, they have been precisely detailed in Boolean expressions and the booksets described in the description of our preferred embodiments. In the discussion which follow, only the generation of true logic values of a variable are pre¬ sented in stage by stage delay. These assumptions, however, are not intended to and do not limit the applicability of the discussion and the devices presented since such a bookset is common in currently available technologies and extendable to other technologies having similar character¬ istics or equivalent functional power within their bookset. BACKGROUND OF RELATED INVENTIONS The System/370 sold by International Business Machines which can be made to execute in parallel certain interlocked instructions, and can perform with limitations the requirements of scalable compound instruction set machine as first disclosed in the referenced applications, and there are such suggestions made in other applications as to possibilities which may be used, for example, Application Serial No. 07/642,011 (IBM Docket EN9-90-049) as other ALUs for a scalable compound instruction set machine. These existing processors have not been publicly used as such, and there has been no pub¬ lication of the possibility of such a use, but the possibility has been described in some aspects in applications filed after the priority claimed herein. Further, by way of background the first collapsing ALU was described in Application Serial No. 07/504,910 (IBM Docket EN9-90-014), filed April 4, 1990, entitled "Data Dependency Collapsing Hardware Apparatus", the inventors being Stamatis Vassiliadis et al; and in Application Serial No. 07/619,868 (IBM Docket EN9-91-033), filed November 28, 1990, entitled "Overflow Deter¬ mination for Three-Operand ALUs in a Scalable Compound Instruction Set Machine", the inventors being Stamatis Vassiliadis et al., from which this application claims priority. It is the object of this invention to provide new devices for Arithmetic Logic Units (ALUs), and devices which are capable of implementation with an architecture which defines instructions that have an "add/logical combinatorial operation" which means combining all four of the following combinations: add-add; add-logical; logical-add; and and logical- logical functions, and to an architecture in which two or more disassociated ALU operations are specified by a single interlock collapsing ALUs which responds to the parallel issuance of a plurality of separate instructions, each of which specifies ALU operations, and executes the instructions in parallel.Thus a plurality of separate operands as a feature which the present inventions accommodate are passed to the execution unit (ALU) in the same execution cycle, and they may also be passed altogether with a third operand to the execution unit (ALU). Two results are produced and available at the end of a single execution cycle. One of the results may be produced by the first ALU and another single result may be produced by the second ALU. Thus, in a data dependency collapsing hardware apparatus, will broadly have an instruction device for receiving a plurality of scalar instructions, a first of which produces a result used by the second of the scalar instructions, and there is a device which simultaneously issues a plurality of operands, at least two of which are used by the first and another of the scalar instructions, and the execution unit, under control signals indicating operations which execute the plurality of scalar instructions, produces in a single cycle a single result corresponding to the performance of the operations on the operands. (See USSN 07/504,910 referenced above for full details of such a proposed appa¬ ratus). The SCISM architecture is applicable not only to 370 architectures, but other architectures, including RISC, where it is desirable to enhance performance of applications which have been developed and which would desirably operate faster if there were parallel issuance and execution of specified plural instructions for an ALU. Such a system enables new hardware to execute old instructions at a more rapid rate, reducing the necessity of repro- gramming old programs for a new machine having a new architecture. The apparatus for which the disclosures of this application are directed is applicable to parallel execution of instructions, and is specifically advanta¬ geous in the environment of the related inventions, and to architectures which issue and execute plural instructions in parallel, such as the Scalable Compound Instruction Set Machine architecture which we now call the SCISM architecture. Less than ideal speedups have been obtained by parallel execution of instructions partially due to data dependencies also known as interlocks. To reduce this performance degradation due to interlocks, an interlock col¬ lapsing ALU has been provided in USSN 07/504,910, supra, and an appa¬ ratus for handling all "Add/Logical Combinatorial Operations" has been disclosed in the application noted above for a High Performance Collapsing SCISM ALU. The interlock collapsing ALU would be used in conjunction with a conventional two-to-one ALU in a manner in which the first instruction of an interlocked pair would be executed in the conventional ALU at the same time that both instructions are executed simultaneously in the interlock collapsing ALU. If the instruction pair does not possess an interlock, then the interlock collapsing ALU executes the second instruction singularly as the conven¬ tional ALU executes the first instruction. In addition to producing the correct results, ALU's must also accurately report status. This status can include result less than zero, result greater than zero, result equal to zero, and overflow. For the interlock collapsing ALU, this status should be reported as if the second instruction were exe- cuted singularly using the results of the first instruction, as provided by USSN 07/619,868, filed Nov. 28, 1990, supra. ALU status can be determined if the carries into and from the most significant bit (MSB) are known and result equal to zero can be determined. The determination of result equal zero can at worst be made from the result, if no method of predicting the outcome can be found. Generation of result equal zero using this method would be accu¬ rate since for proper operation, the result produced from the interlock col¬ lapsing ALU must be identical to the result that would be produced via a serial implementation. Therefore, the problem of generating ALU status in the interlock collapsing ALU can be reduced to that of extracting the carries into and from the MSB that are due to the execution of the second instruc¬ tion. These carries, which are not explicitly produced during the execution of the interlock collapsing ALU, must be extracted from the information gener¬ ated during the simultaneous execution of the interlocked instruction pair. An algorithm for extracting these carries during three-to-one add/subtract operations has been provided also by USSN 07/619,868 filed Nov. 28, 1990, supra. Three-to-one add/subtract operations arise from collapsing interlocks between two arithmetic instructions. The algorithm is: where c 0 and c, represent the carries due to the execution of the second operation into and from the MSB, κ 0 and K- represent the carries that would have been produced during the execution of the first instruction, λ 0 and λ- represent the carries produced by the carry save adder CSA, and φ 0 and φ- represent the carries produced by the carry look-ahead adder CLA used in the three-to-one adder. In this expression, V represents a bitwise EXCLUSIVE-OR operation. Thus, an algorithm that can be implemented is known for extracting c 0 and c, when the first functional category is executed. Our own work mentioned above can be improved in the following areas: 1. The systems can be made applicable to all functional categories required to be performed by the three-to-one ALU, 2. Even for the categories to which it is applicable, it will produce critical paths that do not extend the cycle time, and 3. Additional elements and functions can be provided to handle all of the intricacies required for controlling the ALU, which had not been handled heretofore; and where by functional categories is meant: A + B + r Arithmetic followed by Arithmetic B + (A LOP _T) Logical followed by Arithmetic B LOP (A + _T) Arithmetic followed by Logical B LOP (A LOP _T). Logical followed by Logical and prior work discusses only the arithmetic followed by arithmetic category. SUMMARY OF THE INVENTIONS In this application we present a carry extraction that includes all functional categories. We also provide a means to predict overflow for three-to-one ALU operations. We present result equal zero prediction hardware for the categories; arithmetic followed by arithmetic and logical followed by arith¬ metic. We prove that the proposed apparatus's will not constitute a critical path when compared to high speed three-to-one ALU's. We provide parallel status determination for three high speed three-to-one ALU's subdivided into two implementation categories. Our implementations of the preferred embodiment of each of our inventions are detailed in the following detailed description. For a better understanding of the inventions, together with advantages and features, reference may be had to the copending applications for some detailed additional background. Further, specifically as to the improvements described herein reference should be made to the following description and the below-described drawings. BRIEF DESCRIPTION OF THE DRAWINGS • FIGURE 1 represents a three-to-one ALU, and a parallel status predictor. • FIGURE 2 represents parallel extraction of carries for parallel prediction of status (first embodiment) • FIGURE 3 represents parallel extraction of carries for parallel prediction of status (second embodiment) • FIGURE 4 represents parallel extraction of overflow for parallel prediction of status (first embodiment) • FIGURE 5 represents parallel extraction of overflow for parallel prediction of status (second embodiment) • FIGURE 6 represents parallel extraction of result equal zero for parallel prediction of status (all embodiments) DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS To prove the feasibility of the parallel status determination embodiments a fast ALU implementation must be assumed as a basis for making a compar¬ ison of the critical paths. We assume the fastest three-to-one ALU implemen¬ tations known to us, i.e. as provided by the apparatus disclosed by USSN 07/ (IBM DOCKET EN9-91-005), filed concurrently here¬ with, and included herein by reference as noted above. To describe our invention, we illustrate our invention by disclosure of equations which provide the implementation of our preferred embodiment of our various inventions, as implementations of the embodiments, each of which may be commonly known as a scheme or schema. Carry Extraction for the First Implementation Scheme In this implementation scheme, the carry from the CSA at bit position i is: λ, = Cd β, + α, y, 4- β, y, where „ β„ and y, represent the inputs into the CSA corresponding to the inputs of the ALU, A,*, B„ and T,-, respectively. In this equation, + represents bitwise OR, and juxtaposition represents bitwise AND. The inputs A and V contain the operands for the first instruction while the input B contains the independent operand for the second interlocked instruction. All inputs to the CSA can be forced to zero or fed the corresponding input as shown in FIGURE 1. First consider a three-to-one addition. For this case, the CSA carry is: ;., = A,- B, + A, r, + B, r„ the appropriate CSA carry for a three-to-two addition as desired by the above carry extraction algorithm. In addition the carry at bit position i due to the first instruction can be generated from the CSA inputs α, and y,. Using CLA techniques, this carry at bit positions 0 and 1, 0 and κ can be generated in three stages using the assumed bookset as follows: STAGE 1 Gf = α 1 y, G,* /+1 =α, y, -i-α, + 1 y, + 1 = 0, 2, 4, 6, ...28 T, = α* + y, / = 0, 1,4,7,8, 12, 16,20, 28 T/ + 1 = α;y + ^Ty ? / = 1,9, 17,25 T; +2 = α y + / + 1 y ϊ + /+ 2 , + 2 / = 1, 4, 7, 9, 10, 12, 13, 16, 17, 19, 20, 22, 25, 28 Α30 = «3o so + 3 ι y 3 . + α 31 τ 2 + y 3 ι ~2 STAGE 2 Gf = G,* + 7? Gt 2 + H T A Gt 5 + 71 TΪ GΪe G *, + 7 = G *; + . + T + 2 G */+3 + τ t - T . + Gfcs + T i t - TJtiG?i% 7 = 0, 8, 16 7? = 7? T 7V T B 77 β = 7? 7| 7? T i 77 7 1β 7?< = 7? 7| 7? 772 77f 771 7 7 Ψ% = G 2 % 25 + Tit G 1 + UI T 2β G 2 * 8 29 + Til Tie 0 - 3o STAGE 3 Ko ___= To Gf + To 7? G 8 * 15 + To 77 β G$* + T 0 7? 4 ψ% κ , = T, Gr + H G 8 * 1S + 6 G + T? 4 Ψll In these expressions, G m , TIP, and ^ represent the pseudo-propagate, transmit and new carry, respectively, from bit position m to bit position n, while G and T n represent the pseudo-generate and transmit, respectively, at bit position n. Definitions of these quantities can be found in Int. J. Elec. Vol. 67, No. 2, supra.. Also, τ 2 represents the hot one that would have been sup¬ plied during the execution of the first instruction. A set of requirements for τ 2 that are sufficient, though maybe not necessary, to produce valid results for the three-to-one add/subtract operations has been given in USSN 07/619,868 filed Nov. 28, 1990, supra. These requirements can be summarized as: (1) if two hot ones are supplied to the three-to-one ALU, then τ 2 = 1 ; (2) if no hot ones are supplied to the three-to-one ALU, then τ 2 * = 0; (3) if adding/subtracting a third operand with the result of a logical opera¬ tion, then τ 2 = 0. The above logical expressions produce zero for both κ 0 and K- when the second functional category is executed. This result follows since both and y are forced to zero when executing this functional category. With α and y both zero, all of the pseudo-generates and transmits will be zero. In addi- tion, since τ 2 is zero, the new carry's, ,'s are all zero. Thus, all of the literals in the expressions for 0 and K- are zero so that the results will be zero. With 0 and κ< both zero and since λ 0 and λ- are both zero as noted above, the algorithm for extracting the carries, c 0 and c- reduce to: Co = OVOV o = φo c, = OVOV , = φ,. Thus, the extracted carries equal the carries from the CLA as desired. Extraction of carries due to the second instruction of a compound instruction pair is required only for the first two functional categories as was discussed in the Background of Related Inventions section specifically regarding USSN 07/619,868, supra. The stage-by-stage implementation for generating κ 0 and <• was given above. To this implementation the expressions leading to λ 0 , λ φ Q , φ and ultimately to Co and c- must be added to complete the implementation for generating c 0 and C-. A stage-by-stage description for the first implementation scheme is given below. In this description, pseudo-generates and transmits for gener¬ ating Ko and K- have been subscripted with a cc (carry correct) to distinguish them from the pseudo-generates and transmits of the CLA used in the three- to-one add/subtract by which φ 0 and φ- are generated. The expressions at each stage are: STAGE 1 G«ι = °-ι V ι 5, + 1 = α < y, + α/ + 1 y, + ι = 0, 2, 4, 6 28 7 CC ; = a,- + y, / = 0, 1 , 4, 7, 8, 12, 16, 20, 28 7έc = α ; y; -f- α^ y777 / = 1 , 9, 17, 25 " £α 2 = α, y, + α, + 1 y / + 1 + α J + 2 y, + 2 = 1 , 4, 7, 9, 10, 12, 13, 16, 17, 19, 20, 22, 25, 28 1^30 = 0-30 y30 + α 31 y 31 + OC31 ~2 -<- 1/Z. ^2 λ, = α, β,- + α, y, + β, y, 0</≤31 σ, = α,V/?,Vy, 0</ ' <31 L, -f- A, r, i2χos_. 0<<31 STAGE 2 ;*7 _ cc, — G c*d + 71 ccl l - : 'cc2 + 7? ccci) T '- cc4 t**- 1 ^ + 72.17| c,c4 G **-* , c*c 7 6- G*; + 7 _ * " * ;--./ + 1 i 7 * 7 + 2 β*/ + 3 ι T/ + 3 T (~*ι + 5 T' + 3 V + 6 .( *' + 7 - cc/ — ~ccι i 'cα + 1 u ccι + 2 T I cci + 1 ' cc/ + 4 < *-**c< * 7 + 4 ι ' cci + 1 ' cc; + Α ~cι + 6 = 0, 8, 16 'cd *= *cc1 7cc4 'cc7 'cc8 ' cd *** - * 7cc1 Jc47 C 7 Tccio 7cc13 'cc16 'ccl **= /cd 7 C 47 c7 Tccio 7cc13 'cc167cc19 'cc22 ■ f? = G* 2 2 5 4 + 7? c 6 25 G* 2 2 7 6 + 7? c 7 25 7 cc28 G* 8 + 7|25 T c2 ~ ι 3 o G*' + 1 =λ l + - σ, + λ l + 2 σ l + - + L,σ l + L l + zσ l + y i = 1,3, 5, ...,29 T, = σ, + λ l + , + L, = 1, 5, 8, 9, 13, 17, 21, 29 T l ' + - = T l λ l+ zL l +- ~ - ~ -λ l + 2 L. + - i = 2.10, 18, 23,26 Tι' + ~ = σ, λ, + Λ L, + σ, + 1 λ, + 2 Li + - + σ, + 2 λ, + 3 L, + 2 / = 2, 5, 8, 10, 11, 13, 14, 17, 18, 20, 21, 23, 26, 2 Φ 3) = τ 2 σ 31 + 3 ι σ 3ι 4- τ- STAGE 3 Ko K. = ' cd G*d + 7 c ι G*8 + 'cd G* C 16 + |ci 1^24 G I* ; + 7 _ — <3-).*'+, - -Lf. I .ι + + 2 • f-,* + ι + 23 _ T|_ T '7/ + + 31 * r ; + 4. f <--?;* +ι + 45 + i '/ι+ + 31 T'ιι+ +4 e { •----.*/* +' ± 67 = 1,9, 17 7i = 73 π T B T 9 T '2*7 — •*2" T'5~ T'8iO T '1*31 T ' 1*4e T ' 17 73° 7,'? 77! 7,'? 7|o 2 7i Φi = G% - + Gtf- + Til 729 G 2 *9 30 + Til 1 STAGE 4 Ko ** = oVAo K* = K,V>lι φ, -= r, G 8 + 7, 7| G 9 *' 6 + 7, T? G + 7, 72 s Φ& STAGE 5 c, = KfVφz C 0 = j TO + £ G 0 φi + ξ Go *+- K? To i. All of the above expressions, except that for the calculation of c 0 follow from a direct application of the algorithm for extracting carries due to the second instruction or from the recursive equations for hardwired binary adders as discussed in Int. J. Elec. Vol. 67, No. 2, supra. The expression for c 0 can be derived as follows. The expression for c 0 is: = jV o- But, φo can be expressed as: Substituting the expression for Φ 0 : Φo = Gf + 7ι Φ, into the expression for φ 0 produces: = 7o Go* + 7 0 7ι Φ 1 . Recognizing that 7ι Φi is φ- allows φ 0 to be written as: This expression for φ 0 can now be substituted into the expression for gener¬ ating Co to give: Expanding the above expression into the canonical sum of products for EXCLUSIVE-OR produces: Co = K? (To Go* + 7 0 0,) + Kt (T 0 Go* -f 7 0 ø,) = Kf To Go* 7 0 ø, + ic? To Go* + ϊcj 7 0 ø, = κ$ (To + G ) (7 ~ + 00 + J To Go* + j To øι *= KJ (77 + T Gf + 7 " Ø7 + Gf øό + i? 7 0 Go* + icj T 0 Ø, = o* {f ~ + G£ 00 + icj To Go* + ic? To ø, -= K* To * + * £ Go* 0 1 + ? To Go* + j T O 0,. But o G O * can be reduced to: To GO* = (<7 0 + i + o) σ 0 (λ- + ) = Go*. Substituting this into the expression for c 0 yields: C 0 = K* To + K? Go* 0ι + K* Gb* + K* T 0 01 which is the expression used in the five stage implementation. Thus, both c 0 and Ci can be generated in five stages with the assumed bookset for this implementation scheme. The logic diagram for the generation of c 0 and c, for the first implementation scheme are depicted in FIG. 2. Carry Extraction for the Second Implementation Scheme Complications arise when attempting to apply the carry extraction algorithm to the second scheme for implementing the SCISM ALU. These compli¬ cations arise because λ,- and K, are not guaranteed to be a logic zero when a three-to-one addition is not desired. For example, the CSA carry for this implementation is computed by USSN 07/504,910, supra.: i o = Ωi αo β 0 + Ω 2 o 0 γ 0 + Ω.z β 0 γ 0 λ f = Ωi a, βι + Ω 2 ,y ; -f Ω, β t γ, + Ω 3 β, _ , 1 </<31 For this implementation to execute the second functional category, it is required that , be equal to B,- , when 1< <32. This can be achieved by making Ω. Ω 2 , and τ 2 a logic zero while making Ω 3 a logic one. Therefore, λ,- takes on the value of the ALU input, B,_ ,. Consequently, λ, can not be guar¬ anteed to be a logic zero for 1 </<32. Similarly, K, can not be guaranteed to be a logic zero since the operands corresponding to the first instruction are not forced to a logic zero. Because of these results, controls must be added to the implementation of the carry extraction algorithm to extract the desired carry as if λ, and K, were logic zero, but allow λ, and K, to be used as gener¬ ated when extracting the carries due to a three-to-one add/subtract. The complication due to λ,- not being a logic zero when it is not utilized can be overcome by producing a conventional CSA carry that is gated by a control signal indicating that the operation being executed is a three-to-one add/subtract. This signal must only control the carries generated at the bit positions zero and one as these are the only positions at which the carries due to the second operation need to be extracted for generating ALU status. These additional carry signals, denoted as il cc o and λ CC ), are generated as: Λ-ccO = 3( 0 ι αo βo + 3to1 ~0 y~ + Ω3fo1 βo >O λ cc . = Ωaoi α, βt + Ω-tfoi α. y. + Ω 3 . 0 ι β) Vt where Ω 3 - 0 , is the control signal and is a logic one iff a three-to-one addition/subtraction is being executed. These extra carry signals have the desired property of being the CSA carry when a three-to-one add/subtract is being executed but being a logic zero otherwise; therefore, they can be sub¬ stituted into the carry extraction algorithm for λ 0 and λ, when extracting c 0 and Cι. The complication of K, not being a logic zero when not being utilized can be overcome by considering the third stage in the generation of κ 0 and K-. In this stage, these quantities are produced by the expressions: Ko ____ o Go* 7 + To T? G 8 *' 5 + o Tι 16 Gfe 23 + To T? 4 ø!S κ , = T, Gf + T? G 8 *' 5 -f T,- 6 Gf 6 23 + 7? 4 ψ%. Since the expression for Kι is directly implemented in the assumed bookset by a 2x4 AO book, the gating control signal indicating that a three-to-one add/subtract operation is being executed can be directly applied resulting in a 3x4 AO book. Thus, κ can be produced by: = α ■ 3_o1 7, Gf + Ω 3to , 7? G 8 * 15 + Ω ; T O •3to) / 1ie r 1.3-*1623 _ Tι_ iώ3to1 π ψ This signal has the desired qualities of being zero when a three-to-one add/subtract operation is not specified but being the carry produced into the MSB during the execution of the first instruction when a three-to-one add/subtract operation is specified. A first glance at the expression for gen¬ erating o is discouraging for using a similar approach since the expression for generating κ 0 already requires a 3x4 AO book. However, the expression for the literal, T 0 , which can be generated in the first stage, is: o = α 0 + γ 0 . This expression requires a two-way OR book to which a gating signal can be added resulting in a 2x2 AO book. The gated T-, denoted as , therefore, can be generated in the first stage and substituted for 7 0 in the third stage expression for generating κ 0 . The results are: STAGE 1 G = <Xι γ- G*' '+l = α y + α ; + l +1 ___.0, 2, 4, 6, ...28 T, = α, + y, = 1,4, 7, 8, 12,16,20,28 7 + , = α y- + ^Ty-T = 1,9, 17,25 Tj + - = oTiYi + a l + - yTTT + α /+2 y. + 2 = 1 , 4, 7, 9, 10, 12, 13, 16, 17, 19, 20, 22, 25, 28 030 = α 30 y 30 + α 3 , y 31 + α 3 , τ 2 + 2 STAGE 2 Gf 7 = Gf + 7? G 2 * 3 + 7? T 4 G 4 * s + 7? 7| G 6 * 7 G *+7 = G; */+ι + Vιt 2 G *+ 3 + T i t ~ r . +4 G * +5 + r/ +37-+|G*f . -s 7 / = 0,8, 16 7? = 7? 7| T 7 T 8 77 β = T? 7 7? T,'o 2 7717,6 Tf = 7? 7 7? ι ' 0 2 T, 1 ! T,-f ? 7g 012 = G 2 *4 25 + 711 G 2 * e 27 + 7 T 28 G,*! 9 + Til 71 8 ° ø∞ STAGE 3 κ 0 = To* Go* 7 + T o * T| G 8 * ,s + To* Ti 16 Gi- + Tξ T? 4 ψ% K, = Ω 3 , 0 , T, G,* 7 + Ω 3fo , 7? G 8 * 15 + Ω 3to , T, 16 G& 3 + Ω 3tol 7? 4 φ_\. Both Ko and K, generated in this manner have the desired property of being the carry due to the execution of the first instruction when executing a three- to-one add/subtract but being a logic zero otherwise. From the above results, c 0 and c- can be determined by: Co = K o Vil cc oV0o Ci = κ,V.-l cC ιVø, where κ 0 and κ are generated as just described. No additional restrictions have been placed on supplying hot ones to the ALU for this technique. Both Co and c, can be generated in five stages for this implementation scheme; therefore, no additional delay results from the implementation. A stage-by-stage description of the carry extraction follows. As for the description for the first implementation scheme, the pseudo-generates and transmits associated with generating κ 0 and K- have been subscripted with cc to distinguish them from their counterparts for executing the three-to-one add. The stage-by-stage implementation is: STAGE 1 G? c ', + 1 = α, , + α, + ,y + 1 / = 0, 2, 4, 6, ...28 cc, = α, + y. /= 1,4,7,8, 12, 16,20,28 ccV = α, y, + α, + , y / + , = 1, 7, 9, 17, 25 r. + 2 _ ~ α-~, y, + α / + ,y, + ι + α, + 2 y, + 2 / = 1,4, 7, 9, 10,12, 13, 16, 17, 19,20,22,25,28 030 = 0:30 y3o + 0-31 y 3 ι + α 3 , τ 2 + y 3 ι τ 2 lo = Ωi α 0 β 0 + Ω α 0 y 0 + Ω, β 0 y 0 ;., = Ω, α, β, + Ω 2 a,γ, + Ω, β, y, + Ω 3 β, _ , 1 </ ' <31 . 32 = Ω 3 β 3 - + Ω 3 τ 2 . ~cco - ~ 3 foi αo βo + Ω3(oi o yo + 3 f 0 ι o o λ cc - = Ω 3to ι α, β. + Ω 3to ι a- γ< + Ω 3fo1 β- y-. σ, = α,V?,Vy, 0</<31 L; = A, Ω.OALASL + 1 / JO S.. + A, 1 , Ω,χ A AL + A, l , Ωχos_. 0<<31 STAGE 2 G CC 1 = G* C 1 + 7 d G CC 2 + 7? 1 Tcc4 G cc4 + Tc) Tc4 G*c6 G*ι + . _ fi*y+1 1 T/ + 2 , β*ι + 3 j . + 3 * r _ β*' + 5 _ 4- T' + 3 . T' + 6 _G*' + 7- cci — Ά CCI I ' cc; + 1 Α cci + 2 ι ' cc/ + 1 ' cc< + 4 '■■•'cc. + 4 T ' cci + 1 ' ccι + A ΆX 'CCI + 6 / = 0,8, 16 'cci == 'cd 'cc4 'cc7 'cc8 T16 _ * π 7-6 7 * 9 7-12 T15 'cd — 'cd 'cc4 'cc7 'cc10 'cc13 'cc16 7cc1 ~~ Ice) ec", Tcc7 <cc10 'cc13 'cc16 7cc197c C 22 ψ% = Gc*c4 + ? C 6 2S Gc e + 7!25 T cc28 G*c% + 7? 7 25 Tf C 2~ - 30 G,*' + 1 * =Ωι σ/λi + z -f- Ω 4 σ / + ι ,* + 2 + L,-/-, + ι + Lj + •,)., ■ +2 = 1,3, 5, ...,29 T ; = + ι + Ω 4 σ,+ L,- = 1, 5, 8, 9, 13, 17, 21, 29 7 + 1 = il / + 1 Ω 4 L, + λjx-1 Gj Lj + λ i + 2 Ω-. L; + ι + λ, + 2 < ~ ι + 1 L/ +1 = 2, 10, 18,23,26 77 + 2 = (Λ + 1 + Ω 4 σ, + L (λ i + 2 + O, σ, + , + L / + ,) (;- ; + 3 + Ω 4 σ + 2 + L / + 2 ) = 2, 5, 8, 10, 11, 13, 14, 17, 18, 20, 21, 23, 26, 29 Φ 31 = Ω 4 σ 3 ι il 32 + L 3 , l 32 + ~ STAGE 3 Ko K, = Ω-« 0 , ec G*c 7 ι + Ω-ac 7f c , G*' 8 5 + Ω 3 - 0 , T < jc 6 ι G*c 2 ι 3 6 + Ω 3to ι 7™, < 1$ G*' +7 = G*' + + Tli Gtit- + 77-f? 7) +4 G*| s + 77*? T\it G*i¥ 1 = 1,9,17 TJ 7 =7371 T- T, 1 ? 7717 17 τψ = nn n° w 77? Φψ- = G&- + Tg G 28 + 7|| T 29 Gi 0 + Til W Φ31 STAGE 4 j = KoVAcco 0, = T, Gf 8 + 7, ' 7| G 9 * 16 + 7, TJ 7 Gf 4 + 7, 71 5 Φ2J STAGE 5 c, = κ?Vø, Co = J TO + K6* GO* øι + K? GO* + K* o ø,. All of the expressions in the above implementation for extracting the carries from the second instruction can be implemented with the assumed bookset except for the transmit generated across three bit positions, T/ +2 , which occurs in Stage 2. This transmit is needed to produce øi in the fourth stage which is then used to determine c 0 and c t in the fifth stage. If the generation of this transmit is to be avoided, c 0 and c, must be generated without the explicit generation of ø,. To generate c 0 and c, without explicitly generating ø,, ø, must be expanded using the recursive equations. Such an expansion gives: ø, = 7, G,* x + 7, T_ + 1 Φ y x+ 1 1 <x<y<31. Substituting this expression for ø, into the expressions for c 0 and c, in Stage 5 gives: Co = K6* 7 0 + K6* Go* (7, Gf* + T, 7| + 1 φ χ + ,) + KS G 0 * + K* T 0 (7, Gf + 7, T + ' Φjf + ,) c, = κ*V(T,Gf*+T, T + -Φ + .,). The expression for c, can be developed using standard Boolean techniques as follows. c, = Kf (T, Gf* + 7, T1 + 1 φ y + ,) + K? (T, Gf* + 7, T + 1 Φj[ + ,) = j 7, Gp + icf T, Tl + ' x y + ) + κf TGf*T, 1 + 'Φ^ +1 = K* i Gf* + K* T + ' Φj[ + 1 + K* (T, + Gf*) (T, + 7? + • + Φj + ,) = K T, Gf* + f Tf + 1 Φϊ + , + K* ( T + Gf 7 Tf÷ 7 + Gf* Φ + z) -= Kf (7, +T$ + ' Gf) + Kf T, Gf* + K? 7f + 1 ΦJ + , + Kf Gf Φj + ,. This expression for c, can be generated in the fifth stage using the assumed bookset if: 7, + 7 +1 Gf Gf Gf + ) can be generated in the fourth stage. Now consider the expression for c 0 . This expression can be developed using standard Boolean techniques as follows. This last expression can be used to generate c 0 in the fifth stage using the assumed bookset if, in addition to those values required for generating c the following values are generated in the fourth stage: To determine whether the above signals can be generated by the fourth stage of the implementation, the values for x and y in the expressions, Φϊ +1 and Gf*, must be determined. These values are determined by the number of bit positions that can be spanned in three stages for the new carry, using the assumed bookset. By application of the recursive equations for binary adders, the number of bit positions that can be spanned for the assumed bookset is: STAGE 1 Generate results for CSA and Logic function block as shown above STAGE 2 G*' + • = Ω 4 σ,- λ i + 1 • +- j σ j + ■ λ i+2 + L, λ i + - + L i + -?. i + 2 / = 9, 11,13, ...,29 7/ + 1 = i, + ι Ω 4 Lj + λ i+ z σ,- Lj + ?. i+ Ω^ L, + 1 + λ i + 2 o + i L- +1 = 10, 12, 14, ...,30 Φ 3 ι = 4 <7 3 ι Λ 32 + 3 ι / 3 2 + T1 STAGE 3 G */ + 5 = G */ + 1 + 7 + 2 G *+3 + 77 + 277 + 4 G *H-5 / = 9, 15,21 7? 2 7 = , 1 4 5 7, 1 I 77 71.71! 71 71 6 7 φ3o = G ffB + τ$$ G *3o + 7 τi φ 31 STAGE 4 ΦI 6 = G 9 *' 4 + 7W T, 1 ! Gtf 0 + 7W 7?J G 2 *, 26 + Jo 1 ? 2 7 ΦI) from which x can be determined to be eight, and y to be 26. Substituting these values into the expressions that must be generated by the fourth stage provides the requirements for generating c 0 and Ci in five stages with the assumed bookset. These requirements are the generation of: by the fourth stage in addition to that of Φ| 6 . Φ| 6 can be generated in the fourth stage as shown above; the remaining expressions can also be gener¬ ated by the fourth stage by: STAGE 1 Generate results for CSA and Logic function block as shown above STAGE 2 G*' + = Ω 4 a,- λj+z + Ω 4 σ ; + 1 . / + 2 + Lj . / + 1 + L+ 1 . / + 2 ' / = 1,3,5,7 G-* = Ω 4 σ 0 A l -f o ili T; = il, + 1 + Ω 4 <Jj + Lj / = 0, 1 7 r}'+1 — λ i+ .- Ω 4 L,- +λ i+i σ.-L i - +/ / + 2 Ω 4 L /+1 + λ f - + 2 σ 7 + 1 L /+1 = 0,2, 4, 6,8 STAGE 3 G; *; + 5 G "• **ι/ + + 11 11 T 7 * ι/ + + 2 _ <" * *;*_i +.3_ -_ • p*-2Tι + β*ι + 5 ; T ' ; + 1 - 1 + 2 T I ; + 1 ' / 1 ++ 33 * "--*-- ■ .,+ . - 4 ■ = 3 7? = 7, 7| 7| 717 7| = 717|7I7| (7, = Go* Gf 2 STAGE 4 Gf = Gf + Ti G 3 * 8 Gf 8 = Gf 2 + 71 G 3 * 8 = Gf T\ + Gf G 3 * 8 U 2 = 7* + 7 2 9 G* 8 = 7, + 7 2 9 G* 2 7 Z 3 + 7 2 9 G-* 2 G 3 * 8 = 7, + 7 2 3 G* 2 + 7 2 9 C-f 2 G 3 * 8 U 3 = Go* + To 1 Gf 8 = Go* + o 1 (Gf 2 + 71 G 3 * 8 ) = G 0 * + 7 0 1 Gf 2 + T.71 G 3 * 8 • = + ~* T + l G 0 * G* 8 = 0 " + G* " + 7 2 s G 0 * (Gi* z 7 2 3 + G,* 2 G 3 * 8 ) = To " + G * + 7 2 U. + 7 2 9 U. G 3 * 8 From the above considerations, the stage by stage implementation for gener¬ ating Co and Ci in five stages is: STAGE 1 Gc, + ' = α, y, + α, + , y, + , 1 = 0, 2, 4, 6, ...28 Tec, = α, + y, / = 1 , 4, 7, 8, 12, 16, 20, 28 T* c o = 3 toi αo -f- -jtoi yo T c ^ = ",γ, + α + ,y, + , ι = 1,7,9, 17,25 T C c l 2 = " iyi + " l+ ιγ l + + o.. +2 y*+2 = 1, 4, 7, 9, 10, 12, 13, 16, 17, 19, 20, 22, 25, 03o = «3o yso + α 31 y 3 , 4- α 3 , τ 2 + y 3 ι τ 2 λ 0 = Ωi α 0 βo + Ω 2 α 0 y 0 4 * Ωi β 0 y 0 λ, = Ω, α ; β, + Ω 2 α,y, -f Ω, β, γ, + Ω 3 β, _ , 1 <<31 ilcco = Ω 3 * 0 ι αo />o + Ω3f 0 ι α 0 yo + Ω 3(0 ι βo yo λ CC ) = Ω 3to ι α, β- + Ω 3f0 , α, y, + Ω 3to1 /?, y,. σ, = α,Vβ,Vy, 0</≤31 L, = A, AΩ,0ALASL + i , Ω.AOLASL + A, L, Ω.χAAL + A, 1 , ΩχoSi. 0<<31 STAGE 2 G c c1 =* Gc*d + T?c1 G cc2 + Tjd CC 4 G*c4 + Ice- 7cc4 G* C B G7-./ + (≥-ki + ) A. T> + 2 2*/ + 3„ i * p + 3 * T Λ* -<-5 _ι_ + 3 * r/ + 6 / */ + 7 cc/ — '-'cc/ i ' cci + 1 '-'cc/ + ! ~ ' cc/ + 1 ' cc/ + 4 '•'cc/ + 4 ι ' cci + 1 ' cci + ", A -~CCI + 6 /=0,8, 16 ■ cd " = 'cci 'cc4 'cc7 'cc8 Ted = Ice Ice", 7 C 77x107 CC 13 T CC 16 724 7 ** 3 7 * 6 7*9 7"12 7 * 15 T'8 * 7-21 7 * 24 cd — 'cd 'cc4 'cc7 'cc10 'cc13 'cc16 'cc19 'cc22 012 = G*c 2 2 S 4 + 7|c 6 25 G*?2 7 6 + 7f 2 5 T cc2 8 G*? 8 + T S 7?c°28030 G,*' + 1 = Ω 4 σ, λ, + - + Ω 4 σ, + - λ l + 2 + L, λ, + ι + L l + -λ l + 2 , ' =1,3,5, ...,29 Tj = λ j+ 1 Ω 4 L; + λ j+ O j L j + λ i + 2 Ω 4 L i+ . + λ j + 2 σ / + 1 L i+ 1 / = 0,2, 4, ...,30 Φ 3 ι = £2 4 σ 3 ι Λ3 2 + 3 ι Λ3 2 -f- ~ STAGE 3 Ko — T* c o G*cO + T* c o Tc1 GccB + TccO T CC 1 G C c16 + 7* c o T C 1 - 24 1 = £ 3 (oi Tec) Gcc) + Ω 3 f 0 ι 7 c1 G cc8 + Ω 3 f 0 ι T CC 1 G*d6 + 3 ( 0 ι Tic) 024 G *,+5 = G *,+ 1 + J, t - G */ + 3 + T-, + 2 r , + G * t 5 / = 9, 15,21 T? = T, 7i n 71 7|=717f Tl 7| * ri5 7 * 137-15 ' 12 — '12 '14 7? 2 7 = Vi 71 T 771 717?4 5 7g t/, = Go* G,* 2 ΦI? = G*/ 8 + 7 G2*9 30 + 73718 Φ31 STAGE 4 Kξ = κr 0 Vil cc0 /Ci = ZCIV CC I Gf 8 = Gf 2 + 7 G 3 * 8 Gf = Gf f + Gf G U 2 = T, + 71 G,* 2 + 7| Gf 2 G 3 * 8 t/ 3 = Go* + To Gf + 737| G 3 * 8 ( y 4 = 7 + G?7T+7lty, + 7ft/ιG φ§6 = Gs *4 + Jtø 71f G *j-0 + 7,1721 G *26 + 711727 φ% STAGE 5 C 1 = K U 2 + * 7, Gf + c* 7? Φ| 6 + Kf Gf 8 ΦI 6 Co = KJ (7 4 + KJ L/ 3 + Kff ty, Φl 6 + KJ 7 ΦI 6 . The logic diagram for the generation of c 0 and Ci for the second implementa¬ tion scheme are depicted in FIG.3. Generation of Overflow In the previous section, the implementation for extracting carries due to the execution of only the second of an interlocked pair of instructions was pre¬ sented for the two ALU implementation schemes. The carries into and out of the MSB were shown to be calculable in five stages using the assumed bookset. It is well known that arithmetic overflow can be determined for two's complement addition by the EXCLUSIVE-OR between the carry into and out of the MSB. Therefore, overflow due only to the execution of the second instruction can be produced from the EXCLUSIVE-OR between c 0 and C L Using this approach, overflow can be generated in six stages of the assumed bookset since c 0 and Ci are generated in five. This would result in the critical path for the ALU. In this section, an earlier generation of overflow is pursued. First, developments that are common to both implementation schemes are presented. Next the first implementation scheme is considered with an implementation for the assumed bookset presented. Finally, the implementation for the second ALU implementation scheme is developed. From the signals described in the previous section, overflow can be com¬ puted explicitly by: OF= κ 0 Vκι lc C oVyl cc ιV oV ,. The EXCLUSIVE-OR of two carries in a binary adder, Θ Q and θ- using a con¬ ventional CLA is equal to: 0oV ι = 7 0 θ- + Gf 0ι. These results are directly applicable to the EXCLUSIVE-OR between κ 0 and Kι because they are derived by an implicit, conventional CLA, but the results are not directly applicable to the EXCLUSIVE-OR between φ 0 and φ- since the inputs to the CLA producing them have been modified. Thus, κ 0 V ι can be expressed as: KoV C, = 7 cc0 i + Gc*cθ K), but a more general expression must be used for expressing φoMφ>. To develop this expression, φ 0 needs to be expressed in terms of φ-. Given (according to Int. J. Elec. Vol.67, No.2, supra) that: φ 0 Vφ) = (To Go* -f T 0 φι)Vφ Expanding the EXCLUSIVE-OR into its canonical sum of products yields: Φ Φ) = (To Go* + To φ-) φy + (To Go* + To φy) φ- ~-(To+Gl)(To+ f)) φy + To G$f- = To φ- + To Gf φ-. Further development of these expressions to derive an expression for over¬ flow is contingent upon the ALU implementation being considered since the expressions for cc0 , Λ cc1l 7 0 and Gf differ for the two implementation schemes. The expression for overflow for each of these schemes is developed below. Before deriving these expressions, the following theorem, which will be useful in the derivations, is proven: Theorem 1 If a, b, c, and d are Boolean variables, then (ab d + ab < )Vc == (a b + a b) dV (a c + b c + a b c) Proof: (ab d + ab d)Vc = [(aV6) (ab)d+ (aVώ) a b + a b d] Vc = {(aVfe) da ~ b + [(aVJ ) + d _ a b} Vc = {(aVb) da ~ b + [(aVJ ) d ~ ]ab}Vc = [(aVb)d]V(aJ)Vc = (a E + a b) dV (a c + b c + a b c) QED Generation of Overflow for the First Implementation Scheme In this implementation scheme, yl cc o is equivalent to λ 0 . Therefore, 0 V c,Vlcco = z 0 V/CιWo = (αoVyo) /c, V (/?o ( 0 V yo)). Substituting this result into the expression for overflow produces: OF = (( oVyo) ic,) V(/? 0 ( 0 Vy 0 )) V λ Hφtfφ.. Now consider φ 0 V ι. From the above developments, this can be expressed as: Since the inputs to the CLA for this implementation scheme have been modi¬ fied so that one of the inputs is fed the carry from the CSA and the output of the logic function block from which it must select the appropriate signal while the other input is fed the sum, the expressions for T 0 and Gf will differ from those for a conventional CLA. The expressions for these signals for this implementation scheme at bit position 0 are: Substituting these expressions into the expression for φ 0 Vφ produces: (σ 0 + λ, + Lo) φ) + (σ 0 + λ- + L 0 ) σ 0 (λ- -f- L 0 ) φt -= σ 0 (λ- + Lo) φ- + Go (λ> + Lo) φi. Since λ CC ) is equal to ,, φ 0 VφιW C ci can be expressed as: φ-VφlVλcc. = φoVφ.Vλi = σi (λ) + Lo) φ- + σ 0 (λ- + Lo) φ-Jϊλ-,. Thus, by theorem 1 : 0 V ιV2 C ci = σ {λ- + Lo) + σ 0 (λ- + L 0 )] φ, V [σj λ- + (λ- + L 0 )λ- + σ 0 (λ- + L 0 ) λ-_ = (σ^ λ- Lo + σ 0 λ\ + σ 0 L 0 ) φi V (σ^ λ- + σ 0 L 0 ) Substituting this expression into that for generating overflow gives: OF= (α 0 Vy 0 ) κ-Vβ 0 (α 0 Vy 0 )V(σ 0 λ- + σ 0 L 0 )V(σ 0 L 0 λ- + σ 0 λ- + σ 0 L 0 ) φ\. Expressing overflow in this manner allows it to be calculable in five stages. The calculation proceeds stage by stage as follows: STAGE 1 X 2 = βo (α 0 Vy 0 ) = βo α 0 ψo + βo αo yo STAGE 2 X 3 = G λ- -f- Go Lo STAGE 3 K- = Tec G* 7 , + Tic G*c 1 8 5 + 73?, G* , 3 6 + 71c 4 , ψ® STAGE 4 X 6 = X 5 VX, K, = X 5 7 + X 5 κ + 5 X, K, φ- = T, Gf + T, T| Gf 16 + T, Tj 7 Gf-? 4 + T, 7? 5 ΦU STAGE 5 OF = X 6 VX 4 , = X 6 X φi + β X 4 + β Φi- The logic diagram for the computation of overflow for the first implementation scheme is depicted in FIG. 4. For simplicity, the expressions for generating K- and i are given during the appropriate stage in the stage by stage description without showing the generation of their precursors. The details of the stage by stage generation of these values, can be found in the section called "Carry Extraction for the First Implementation Scheme". Generation of Overflow for the Second Implementation Scheme In the second implementation scheme, λ cc0 and λ CC ) can be expressed in terms of λ 0 and λ, as: In addition, the carries produced due to the first operation, κ 0 and K- are gen¬ erated by gating the corresponding expressions with a signal indicating that a three-to-one addition is being executed. Let the ungated signals be desig¬ nated as J and κ. Then 0 and K- can be expressed as: Ko = Ω 3to ι κ% K, = Ωsto, ?ct. Using this notation, overflow can be expressed as: OF = κ 0 V/c,VA Cc oVl cc iVφoVφ, = Ω 3fo , /cJVΩ 3 - 0 , cfVΩ 3 , 0 , /l 0 V cc ,VφoVφ,. Since, A BVA D-=A (SVD), OF = [Ω3. 0. ( V/cτv;.o)]Vi cc ,vφ 0 vφ 1 . Making use of the expression for c 0 Vc,V/- 0 and using the assumed terminology gives: zcJV/cTV/lo = (α 0 Vy 0 ) κ|V? 0 ( 0 Vy 0 ), so that: OF = {Ω 3 . 0 ι [( 0 Vy 0 ) κ^β 0 ( 0 Vy 0 )]}Vl c c,VφoVφ, = Ωajoi (α 0 Vy 0 ) /ctVΩ 3fo ι β 0 ( 0 Vo)V.cciVφ 0 V ι = Oo yo) c,VΩ 3to ι ?«, (α 0 Vy 0 )V/l cc ,VφoVφι. ow consider the expression φ 0 Vφ), which, from above, can be expressed as: φ 0 Vφ, = T 0 φ, + 7 0 Gf φi. As for the first implementation scheme, the pseudo-generate and transmit at bit position 0 differ from those of a conventional CLA since the inputs to the CLA have been modified in this implementation. The expression for these values is from EN9-91-005, Phillips et al., supra.: where Ω, is a control signal to zero the sum from the CSA when it is not required to execute the specified function. Substituting these into the expression for φ 0 Vφι yields: φoVφ, = T 0 φi + To Gf φi = (λ, + Ω, Go + Lo) φ, + (λ- + Ω, G O + Lo) (Ω, σ 0 λ- + L 0 λ-) φ, = λ- (Ωi Go + Lo) φi + (λ- + Ω, σ 0 + o) Ai (Ω_ 4 σ 0 + L 0 ) φi = λ- (Ω, σ 0 + Lo) φi + λ- (Ωt σ 0 + L 0 ) φ-,. Therefore, φ 0 Vφ,VAcci can be expressed as: φ 0 VφιV lccl = [λ, (Ω, Go + Lo) φ\ + λ- (Ω, G 0 + Lo) φy_Vλ C c). Let, v = Ω 4 Go + o, then by theorem 1 : φoVφiVAcd = ( l V + λ- V) φi V (A, ylcc + lccl V + λ- λ CC i v), = ( .,Vv) φ, V (λ-i λ cc - + λ e o V + A, λ cc i V), so that: φ 0 vφ,v;- cc , = [μ,Vv) φ,] v (X- λ C o + λ cc , v + ;., ;. cc , v). Substituting this expression into that for overflow gives: OF= (α 0 Vy 0 ) K- VΩ^, βo ( 0 Vy 0 ) V (A,Vv) φ, V (λ, λ CC ) + λ c o v + λ- λ c « v) v) V (λ fo) φ, In the section called "Carry Extraction for the Second Implementation Scheme" it was shown that φ, can not be generated in four stages using the assumed bookset for this implementation scheme. Thus, if overflow is to be implemented in five stages, it must be implemented without the explicit calcu¬ lation of φ,. Also in "Carry Extraction for Second Implementation Scheme" the expression for φ, that could be available by the fifth stage was: φ, = 7, Gf + 7, 7| ΦI 6 . Assume for the moment that: (α 0 Vy 0 ) c, V Ω 3to , β 0 (α 0 Vy 0 ) V (λ< λ CC ) + λ CC ) v + λ, λ CC ) v) can be generated by the fourth stage. Let this value be designated as X 8 . In addition, assume that yl,Vv can be generated by the fourth stage and let it be designated by X d . That these conditions are true will be shown in the stage- by-stage implementation to follow. With these assumptions, OF can be calcu¬ lated as: OF = X 8 VX„(T, Gf + T, 71 ΦI 6 ). By distributing X tf this expression becomes: OF = X 8 V(X„ T, Gf + X d T, Tf ΦI 6 ). Let X- = X d T, Tf, then, OF = X 8 V(X 6 Gf + X 9 Φ| 6 ). This expression can be developed by expanding the EXCLUSIVE-OR and applying Boolean identities as follows. OF = X 8 X 6 Gf 8 + X 8 X 9 ΦI 6 + X 8 (X 6 Gf + X 9 ΦI 6 ) = X X 6 Gf + X7 X 9 ΦI 6 + X B X G XTΦJ 6 = x 6 Gf - Xs ' Xs Φi 6 + x 8 (Xβ + Gf) (xl + Φ 6 ) = X 8 X 6 Gf 8 + X 8 X 9 Φ| 6 + X 8 X 6 X 9 + X 8 X 9 Gf + X 8 X 6 Φi 6 + X 8 G Φ = X 8 X 9 (X 6 + Gf 8 ) + X 8 X 6 Gf 8 + X 8 X 9 ΦI 6 + X 8 (X 6 + Gf) Φg 26 This expression is implementable in the fifth stage if X 6 4- Gf , X 6 , X 9 , and X 8 can be generated by the fourth stage. The other values were shown to be implementable by the fourth stage in "Carry Extraction for the Second Imple¬ mentation Scheme". First, consider the generation of X 6 which is: = (A,Vv) T,. But v is: Since Ω 4 is a control signal input to the ALU and σ 0 and L 0 are both calcu¬ lated in the first stage of the ALU, then v can be calculated in the second stage. Also, 7, as well as Λ t were shown previously to be calculable by the second stage. Therefore, X 6 can be calculated in the third stage by: X 9 which is X 6 71 is calculable in the fourth stage since X 6 and 71 are calcu¬ lated in the third stage. Next consider the generation of X 6 + Gf 8 . The generation of Gf 8 has been discussed previously. Making use of these results and denoting X 6 + Gf 8 as X,o gives: X,o = X 6 + (Gf 2 + 71 G 3 * 8 ) = Xe + G* 2 7H- Gf 2 G 3 * 8 . All of the values in this expression have been shown previously to be calcu¬ lable in three stages; therefore, ι 0 can be calculated in the fourth stage. To show that OF can be generated in five stages, it remains to show that X 8 can be generated in four stages. The four stage generation of X 8 is as follows: STAGE 1 X, = α 0 Vy 0 X 2 = (α 0 Vy 0 ) STAGE 2 = A, λ c c) + λ c c) -Atxi, Lo - - λcc G L • = λ C c) ***-*4 Go * T " -n-CCl Lo STAGE 3 X 6 = A, v 7, + λ> v 7, X 7 = 3 V(X 4 + A, X 5 ) = X 3 X 4 + X 3 i X 5 + X 3 X A 1 + X 3 X X 5 STAGE 4 = X, K, + X7 X 7 + κ7 X 7 X 9 = T_ e Xιo = Xe + G,* 2 71 + Gf G 3 * 8 . In this presentation, the calculation of K- that occurs in stage 3 was omitted since it has been shown earlier how this occurs. With the above values, OF can be calculated in the fifth stage as: STAGE 5 OF = X 8 X X10 + T Xe Gf 8 + T X 9 ΦI 6 + X 8 X,o ΦΪ 6 . The logic diagram for generating overflow for the second implementation scheme is shown in FIG. 5. Result Equal Zero Determination The detection of result equal zero consists of two parts. The first part is the actual determination that Λ-, the ALU output, for 0</<31 is zero for each and every i. This determination will be denoted by = 0 - The second part is the qualification of R = 0 to account for overflow conditions. The method of detecting R = 0 depends upon whether or not the ALU supports the collapsing of interlocks between two instructions in which both specify an ALU operation with the second specifying a logical operation. If collapsing of such inter¬ locks is supported, case 1 , the detection of R = 0 is direct from the result. If the collapsing of such interlocks is not supported, case 2, R = 0 can be predicted; thereby, allowing the determination of R = 0 earlier in the execution cycle. For case 1, the determination of R = 0 is performed directly on the results from the ALU, Λ,-. This output has been shown to be obtainable in five stages (USSN 504,910, supra.). The result is zero if each and every bit of the results zero. This can be expressed as: R = o = Λ 0 Λι Λ 2 ... Λ 3 ι, a 32-way AND between all of the inverted ALU output bits. This expression can be implemented in two stages with an eight-way AND gate followed by a four-way AND gate. Alternatively, R = 0 can be expressed as: R«o = (Λo + ... + Λ 7 ) (Λβ + ... + Λ, s ) (Λ,e + ... + Λ 23 ) (Λ 24 + ... + Λ 3 ,). Expressing R= 0 in this manner allows its generation by eight-way Ol gates fol¬ lowed by a four-way AND gate and avoids the requirement of the generation of the one's complement of the result, Λ,*. In either case, R = 0 can be gener¬ ated in seven stages with the assumed bookset since the result can be gener¬ ated in five. As mentioned above, if the collapsing of particular interiocks is not supported in the ALU the detection of R = 0 can be predicted. A development of such a prediction scheme for the three-to-one ALU follows. The functions required in the ALU can be divided into four categories (see USSN 07/504,910, and Phillips, et al. supra.) These categories are: A + B + r Arithmetic followed by Arithmetic B + (A LOP D Logical followed by Arithmetic B LOP (A + T) Arithmetic followed by Logical B LOP (A LOP T) Logical followed by Logical. Two of these categories, three and four, occur when interlocks are collapsed between two instructions which both specify an ALU operation with the second instruction specifying a logical operation. In these categories, the output of the adder is modified by a logical operation. No method is known for generating R = 0 early for these conditions. Therefore, if the early gener¬ ation of R = 0 is desired, collapsing of interlocks between instruction sequences in which these functions arise can not be supported by the ALU. These instructions sequences must be issued and executed serially. As a result, only the functions contained in the first two categories of the above list need to be considered when considering the early generation of R = 0 - In the fol¬ lowing, the early prediction scheme is first applied to the first category in which a three-to-one addition is executed. These results will then be extended to cover the second category contained in the above list. Implied in three-to-one addition given in the first category are the addition of two operands and subtraction of a third operand, the subtraction of two oper¬ ands from a third operand as well as the addition of three operands. These functions can be represented as: A + B + Γ A + B - Γ A-B + Γ A-B-Γ in which + represents addition, — represents subtraction and A, B, and T are the three operands. By representing each operand as a two's complement number, these functions can be rewritten as: A + B + Γ A + B + (f+1) A + (B + 1) + T A + (B + 1) + (f+1) or, A + B + Γ A+B+Γ+1 A+B+1 +r A + B + 1 +r + ι. By using the notation B* to denote either the operand or the one's comple¬ ment of the operand as required by the operation to be performed, these functions can be expressed as: A + B* + T* + τ 2 + τ, where τ 2 and τ, are either 0 or 1 as required by the operation. By the addi¬ tive identity, this expression is equivalent to: A + B* + T* + τ 2 - 1 + τ, + 1. The first three terms of the expression: A + B* + r* can be considered as a three-to-two addition represented as: Bo* B* B 3*1 r 0 * r* 31 σ 0 σι ... σ 3 , o A, A 2 ... A 3 ,. Since τ 2 is either 1 or 0, it can be expressed as: 0 0 ... τ 2 . Therefore, since the carry, A, is shifted one bit to the left before being added to the sum, σ, τ 2 can be added to the carry as: o A, ... A 3 , 0 ... 0 τ 2 Ao A, ... A 3 , ~ . Using this result, the expression A + B* + P* + τ 2 can be generated as: Ao A, ... A 3 , B* Bf ... B*, σ 0 σ, .... σ 3 ι Ao A, A 2 ... x ,. In two's complement notation, a negative one is represented as a string of one's, ie. as: 1 1 ... 1. Thus, A + B* + r* + τ 2 — 1 can be expressed as a series of two three-to-two additions as: Ao A, ... A 3 , Bf Bf... B, r 0 * r* ... r*, σ 0 σ, ... σ 3 , λo λ \ λ 2 ... x . 1 1 ... 1 P P P thereby producing two variables P x and P y . Since the two's complement rep¬ resentation for τι is: 00...-T,, A + B* + r* + τ 2 — 1 + τ, can be computed by P x + P y + τ,. P y and τ- can be added in a manner similar to that in which A and T 2 were added to give: P ' yo P ' yi ••• P ' y-) 0 ...0 - yo - yi ••• - V31 τ ι* Thus, the ultimate result from the three-to-one addition can be produced by the two-to-one addition of P x and (P y + τ,). This addition can be represented as: P P P Pyo Py- yz — τ ) X <So i >31 where S is the ultimate result of the operation A + B* + T* + τ 2 + τ, — 1. For this two-to-one addition, 1 is supplied as the carry in. The ultimate result is zero if S, is 0 for all 0</<31. The generation of the ultimate result, A + B* + T* + τ 2 + τ- + 1 — 1 , as described above can be summarized as follows: Bo* B? ... B 3 *, σ 0 σ- ... σ 3 ι λo A, λ 2 ... ~ 2 . 1 1 1 ... 1 P I X0 P ' X\ • • • P ' X30 P ' X31 0 0 0 0 1 X So S- ... S 3 o S 3 ι. The advantages of representing the three-to-one addition operations in the fashion just described should become evident in the discussions to follow. The advantages of the above representation result from the theorems to follow. For simplicity of exposition, let P V32 = τ, and let P Xa P x . ...P X3 . be denoted by P x and P y . P yz ... P y3 . P y∞ be denoted by P y . Theorem 1 : If S, = 0, then the carry at position i, φ„ generated by the addition of P x , P y , and 1 is equal to 1 for all 0</ ' <31. Proof: Theorem 1 can be proven by induction. Base of induction The expression for the sum at bit position 31 is: S 3 ,=P X31 VP y32 Vl = — P r X31 M V P' 32 Assuming that S 3 ι = 0, then therefore, P • X3, M v P' y32 =1 ' ■ The carry produced at bit position 31, φ 3 ,, is: φ 3 , * = χ 31 Py3 2 + P χ 3 1 (1) + Py3 2 (1) where + represents logical OR. This reduces to: Since if S 31 = 0 P ' 31 •p' 32 _ —_ *1 ' - and since the EXCLUSIVE-OR is one iff one or the other of P X3 . or P y3Z is one, but not both, then: - X31 + ■ 32 = ' so that, Consequently, the carry from bit 31 into bit 30 is guaranteed to be a one if the sum of the addition at bit 31, S 31 , is equal to zero. Step of induction Assume that S, = 0 and φ i+ - — 1. Since the sum at i, S„ is then or, P«VP W+1 = 0 The carry at i is: Φi ~ -P Xi Py i+ z + P Xl Py i+ ,φj + ). Since φ / + ι — 1, then But from above, - 0 «VP yι+1 = 1, from which it follows that P*, + P y . + ι-- -. and, From steps one and two above, it follows by mathematical induction that φ, = 1 for 0<<31. QED Theorem 2: The sum, S, is zero if Pχ / VP y;+1 = 1 for 0</<31. Proof: Proof of if If S = 0 then from Theorem 1 , φ, + 1 = 1 for any i from which it follows that: since S, is zero. Proof of only if Consider the carry generated at φ,. This carry is: Φ, = P*. P,, + i + -°χ, Φ + 1 + Py.x.. Φ, + 1 = Pχ,Pγ. + , + *°χ. +ι CV, + Py i+ .) + Py /+1 Φ + 1 (*°χ. + P * ,) = Φ. + « = * D χ, *°y,. 1 + (Pχ Py, +1 ) -+ ι Since by assumption, then Φ, = ■ Φ, + ) Since this must hold for all i and since the carry in is 1 , then φ, = φ, + , = ... = 1 Let S, = 1. But S, is: S, = P χ ,VP y , +1 Vφ, + ,. However, from which it follows that: Φ. + ι = 0. Therefore, the assumption that S, = 1 leads to a contradiction and is therefore erroneous. Thus, S, must be zero. QED The conditions for the result of a three-to-one add type operation to be zero follow from Theorem 1 and Theorem 2. These conditions are: P^Vτ, = 1 and for all 0< <30. Result equal zero, denoted as R = 0 , can therefore be deter¬ mined from; R = 0 = (P X0 VP yι ) (P X zMP y2 ) ... (P X30 MP y „) (P X31 Vτ,). These results need to be extended to allow R = 0 to be produced for inter¬ locked instruction sequences in which a logical instruction is compounded with an arithmetic instruction. This case produces the second category shown earlier. Three implementations have been proposed for producing the desired results from the ALU provided by the Phillips application, supra. The application the above mechanism for generating result equal zero to the second function category is impacted by the choice of implementation. In particular, the generation of result equal zero depends on what outputs are generated by the CSA and by the logic function block in the ALU. Since two of the three implementations found in the Phillips application, supra, produce identical CSA and logic function block outputs while the third produces a unique set of outputs, the implementations can be divided into two implemen¬ tation schemes for discussing the generation of R= 0 as was done for the dis¬ cussion of overflow. The application of the mechanism for generating result equal zero to these two schemes is discussed in the following. Along with the discussion, a stage by stage description of the mechanism is presented. In the first implementation scheme, an unmodified three-to-two CSA is used to generate a sum, σ, and a carry, A. The inputs to the CSA, however, are controlled so that when executing the second functional category, the sum is equal to the second operand and the carry is zero. In parallel, the logic func¬ tion block generates the desired logical operation. The first input to the two- to-one adder at bit position i is the CSA sum, σ„ while the second input at the same position is derived by ORing the carry from the CSA at bit position / " + 1 , λ, + with the output from the logic function block at bit position i, Lj, for all i between 0 and 30. At bit position 31 , the first input is σ 3 , while the second is τ 2 ORed with 3 ι where τ 2 is one of the hot one's supplied to the ALU. These results imply that the result equal zero scheme derived above can be modified to include the second functional category for the ALU imple¬ mentation being considered by replacing A / + 1 with A + , + L, for all 0< <30 where + indicates the OR function, when generating P x , and P y . With these modifications, the stage by stage implementation of result equal zero is as follows. In the first stage, the CSA sum, σ, the CSA carry, A, and the output of the logic function block are generated. In the expressions that follow, the inputs to the CSA are denoted by the lower case greek letters cor¬ responding to the appropriate ALU input. This is done to distinguish the con¬ trolled CSA input, which may be forced to 0, from the corresponding ALU input. For a three-to-one addition, the ALU input would be passed to the CSA, for example, α, would be equal to A,. For the addition of the result from a logical operation with a third ALU input, however, α, and y, are forced to zero. With this notation, the results from the first stage are: Gj = c j βj γ, Lj = A/ -Q.OALASL + A / -*lθALASL + A/ 1 , A,lχAAL + A, 1 / ltlχoSL in which CI OALASL , Ω XAAL , and Ω XO s_. represent control signals supplied to the ALU. The details of this implementation can be found in EN9-91-005, Phillips, supra, which has been incorporated hereby by reference. In the next stage, P x and P y are generated as the three-to-two addition of the CSA sum with the CSA carry or τ 2 ORed with the logic block output as discussed above, and with minus one. The results are: P x , = σ,M(λ, + , + L,)V1 0</<30 P y , = σ, (λ i+ , + Lj) + Gj (1) + (A / + , + Lj) (1) 0<<30 Py* = σ 3i (~2 + 3 ,) + σ 3 , (1) + (τ 2 + 31 ) (1). These expressions can be simplified by recognizing that: XV1 =X X(1) = X XY+X+Y=X+Y to give: P x , = σ,V(A, + , + L) 0<<30 •°X 31 = σ 3 ιV(τ 2 + 31 ) P y/ = σ + λ, + . + L j 0<<30 The expressions for P Xj and P X3 . are not implementable in one stage with the assumed bookset. They, however, can be written as: P x , = σi (λ, + 1 + Lj) + Gj (λj + - + Lj) 0</<30 P Xl = σ ~ j λι -, + , + σ ~ j L, + σ, ~ J ~ T- L ~ 0</ ' <30 and, •° 3 i = -731 (τ 2 + 31 ) + σ 3 , (τ 2 + 31 ) χ 3ι = ° ~2 + ~~ L 3 - + σ 3 ι τj L 3 , both of which can be implemented in one stage with the assumed bookset. In the third stage, the two way XOR's can be generated in preparation of gen¬ erating f?=o- The desired XOR's are: R=o(i) = P Xi VPy l + z 0</<30 K=o(31) = P X3 ,V-r,. In stage four, eight-way ANDs can be applied to these signals to begin producing a single result equal zero signal. The desired expressions are: R-o(0:7) = R.o(0) K-o(1) ... «-o(7) fl-o(8:15) = R-o(8) rt- 0 (9) ... «-o(15) β-o(16:23) = R_o(16) «- 0 (17) ... R= 0 (23) R.o(24:31) = R-x-o(24) R-. 0 (25) „. R =0 (31). Finally, the desired signal, R = 0 , is produced in the fifth stage with a four-way AND by: R=o = R=o(0:7) R- 0 (8:15) R = 0 (16:23) R = 0 (24:31). The logic diagram for the generation for result equal to zero is shown in FIG. 6. In the second implementation scheme, the CSA and the logic function block are implemented according to EN9-91-005, Phillips, supra, so that the outputs are: 0< ≤31 Ao = α 0 βo Ω, + 0 y 0 Ω 2 + βo y Ω, A, = a, βj Ω, + α, y. Ω 2 + β, y, Ω, + β,_ , Ω 3 1 </<31 A 32 = τ Ω 3 + β 3 -ι Ω 3 Lj = A," LϊoALASL + 1 i,lo ALASL + A, 1 / Ω.XAAL + A/ r,' Ω.XAAL 0< <31. In these expressions, the notation is as defined above with the addition of Ω,, Ω 2 , and Ω 3 which are controls signals supplied to the ALU. The inputs to the two-to-one CLA, however, are derived differently than in the first implementa¬ tion scheme. In this case, the first input to the CLA at bit position i is A, + , for 0</≤31. The second input, however, at bit position i can be expressed by the following Boolean expression: Ω, G. + L, where i is a control signal supplied to the ALU and 0< <31. Thus, for these outputs, the result equal zero scheme can be modified to include the second functional category for the ALU implementation by replacing σ, with Ω 4 σ, + L,. With these modifications, the generation of R = 0 proceeds as follows. In the first stage, σ, = ocMβ.Mγ, 0</ " <31 Ao = 0 β 0 Ωi + α 0 o Ω 2 + β 0 y 0 Ωi A, = α, β, Ω, + α, y, Ω 2 + β, y, Ω, + ?,_, Ω 3 1 < <31 A 32 = ~ l + β - i2 3 L, = ΩoALASL + l / Ω.OALASL + A 1 , Ω.χ A AL + A, I , Ω.χ A AL 0< <31 can be generated. As before, the details of this implementation can be found in EN9-91-005, Phillips, supra. The generation of P x and P y can proceed in the second stage. These signals are generated by: P x , = (Ω 4 σ; + L,)VA, + ,V1 P yι = (Ω 4 σ, + L.) ).,-- + (Ω 4 G, + L.) (1) + A ; + , (1) or all i such that 0< <31. Simplification of these expressions results in: P x , = (Ω 4 σ, + / )VA + , P y , = Ω, σ, + ; + A, + ,. The expression for P x is not implementable in one stage as expressed, but the expression can be rewritten as: P x , = (Ω, G, + L,) λ,- < + (Ω, Gj + L.) A, + , = Ω, σ. Lj λ, + , + Ω 4 Gj λj + - + L, A* + 1 = (Ω 4 + σ / ) L,* A,- + ι + Ωi σ,- A,* + , + L • A, + 1 = Ω Lj λ, + - + σ, ,- λj + 1 + Ωj Gj A, + 1 + , A • + , which is implementable in one stage with the assumed bookset. The remainder of the generation of R =0 consisting of the third, fourth, and fifth stages can be achieved with the identical circuitry as used for the first imple¬ mentation scheme. Thus, R =0 can be obtained in the fifth stage which is the same stage that the output of the ALU is generated, see EN9-91-005, Phillips, supra. Clearly, the inventions we have described by way of exemplary implementa¬ tion schemes or preferred embodiments and in illustration of our best mode for practicing the inventions provide a basis for potential growth in processor performance. Accordingly, it will be understood that those skilled in the art after reviewing our presently contemplated implementations for practicing our inventions, both now and in the future, will envision further improvements and enhancements which may even amount to inventions, and these should be understood to be within the intended scope of the following claims which should be construed to maintain the first inventors' rights as they should be accorded.

Claims: What is claimed is: 1. An ALU status determination apparatus comprising: a three-to-one ALU means for executing plural instructions, predicting means for predicting the status of three-to-one ALU operations related to the presence/absence of carries incorporated in said three-to-one ALU means designed to execute a second instruction of a pair of instructions in parallel and whether or not the second instruction of the pair is independent or dependent on the result of the operation of the first instruction. 2. The apparatus according to claim 1 wherein overflow means is provided for predicting the overflow for arithmetic followed by arithmetic operations in the said three-to-one ALU means. 3. The apparatus according to claim 2 wherein the arithmetic operations are additions and subtractions in two's complement or unsigned form. 4. The apparatus according to claim 1 wherein overflow means is provided for predicting the overflow for logical followed by arithmetic operations in said three-to-one ALU means. 5. The apparatus according to claim 4 wherein the arithmetic operations are additions and subtractions in two's complement or unsigned form and logical operations are binary AND, OR, or XOR. 6. The apparatus according to claim 1 further including overflow means and the carries required to compute the overflow is computed by c, = zcfVφ, c 0 = /cJ T 0 + κ$ Go φ, + o Go + Kξ To φ,. where &r^ = ~,γ t + α, + ,y, + , = 0,2, 4, 6, ...,28 o~, + y, / = 0, 1,4,7,8, 12, 16,20,28 1 — T.γ. + α, + , y, + . /= 1,9, 17, 25 Tea 2 --". γ, + ~,χ.. y, + ) + α.. r2 y,_, 2 i = 1 , 4, 7, 9, 10, 12, 13, 16, 17, 19, 20, 22, 25, 28 Α30 — °*30 30 + «31 V31 + <*31 T 2 + y 3 ι T 2 A, = α, β, + , y, + /?, y, 0</≤31 σ, = a.Mβ.Mγ, 0<<31 L, — A, Ω.OALASL + -T, Ω-θLΛS_. + A, ϊ , Ω.χ AA L + A, I , Ωχos_. 0</ " <31 G cc , — Gcc, + 7cc1 G C c2 + 7cc1 ' cc4 Gcc4 + cc1 Ice", CC 6 G*'* 1 * 7 = G*' + 1 4- T' + 2 β* + 3 1 T-.+ 3 T- fi*' + 5, _L * p + 3. + 6./ * =* + 7, cc; — ΆJ CCI < ' cc; + 1 '-'cc; + 2T ' cc; + 1 ' cc; + 4 *- 7 cc; + 4 ~ ' cc; + 1 ' cc; + 4>--'cc; + 6 / = 0, 8, 16 • cci ~ ~ - ' cc) i cc", I cc7 'cc8 16 7-3 7-6 7-9 T-2 T*5 » cd — ' cc) 1 cci 1 ci I cclO ' cc13 ' ccie Ted *** -- Tie- Tζe c77 CC 107 CC 13 T CC 16 ccl9 ic c2 Ψ% = G&ix, + 7|f 2 5 G*c 2 2 7 e + 7fc 7 25 Tcc- G* c + TU_- Ti c ° 28 30 G*' + 1 = A, + 1 σ, + A* + 2 σ, + ι + L. σ, + L l + i σ l + - /= 1,3,5, ...,29 / = 1,5, 8, 9, 13,17,21,29 7/ * — c, A; + , , + σ, + 1 , + 2 L; + 1 / = 2, 10, 18,23,26 77 + 2 _= σ,- ,- +ι L, + Gj + i λ l + 2 L l + ι + σ, + 2 A,- + 3 L, + _ / = 2, 5,8, 10, 11, 13,14, 17, 18,20,21,23,26,2 Φ 3 ι = τ 2 σ 3 , + 3 , σ 3 ι + τ, K-0 — TccO G* c o + 7 cc o 7|c1 C c8 + Tc O Ted G c c16 + TccO "cd ψ 2 * K - ~ T cc ι G*c) + 7ci G*cs + 7 CC , G*c6 + 7| c , ψ 2 s G*ι + 7 (~ϊ*i+) 4_ Tι ÷ 2 / * _; *; •+• 3 _ι_ * T; + 3 * r ( * 2 * + 5 i * T; + 3 ** r; + 6 f≥ *i + 7 ; — ~ > , -t- 1 , + , , + 2 -r // + ι /; + U, + * +- /, + , / M - 4 ( _7 + 6 /= 1,9,17 7| = Tj 71 T 8 T 9 φ∞ = G ^ + 77 G *?8 + 7H 7-^ G *30 + 7 71 φ ^ K = κ 0 VAo c* = 1 VA 1 φ, = T, Gf + T, Tf G 9 * 16 + T, 7 7 Gf 7 24 + T, Tf 5 Φ 5 7. The apparatus according to claim 6 wherein carries are computed in five stages by computing: STAGE 1 Gc*c', + 1 = α, y, + α, + 1 y, + 1 / ' =0, 2, 4, 6, ...,28 Tec, = α, + y, = 0, 1,4,7,8, 12, 16,20, 28 Tέ 1 = α. y, + α, + ,y, + , 1 = 1,9, 17,25 / = 1, 4, 7, 9, 10, 12, 13, 16, 17, 19, 20, 22, 25, 28 • zo = α 30 y 30 + α 3 ι y 3 , + α 3 , τ 2 + y 3 , τ 2 λ, = α, jS, + α, y, + jβ, y, 0</<31 σ, = .Mβ.My, 0<<31 L, = A, itloALASL + 1 , liΛOLΛSL + A, 1 , Ω.XAAL + A, 1 , Ω XO S 0</<31 STAGE 2 G*d = G*d + 7cc1 CC 2 + 7cc1 T c G C c4 + Ted 7cc4 c c6 G*/ + 7 _ (~*i+ ) _1_ Ti- t -2 4 f-*i.+ 3 n -_ Tl + 3 , T . . G*' " + 5 4- T' + 3 t Jι + B Λ (~*i + 7 B cci — Α~ccι I • cci + 1 <---c ι + 2 ~ ' cc; + 1 ' cci + 4 '-- • 'cc; + 4 ~ ' cci + 1 ' cc; + 4 - 7 cc; + 6 / = 0, 8, 16 'cd " =*z 'cd 'cc4 'cc7 'cc8 7 * 16 _ 7 * 3 7-6 7-9 7-12 T15 7- ' cd — ' cd ' cc4 ' cc7 ' cc10 ' cc13 ' cc16 724 7 * 3 T"6 79 7-12 *5 -8 T~1 T^ 4 cc) — 'cd 'cc4 'cc7 'ccIO 'cc13 'cc16 'cc19 'cc22 lAl4° = G*c 2 2 5 4 + T|c 6 25 G* 2 2 7 6 + 7| c 7 2 5 T CC 28 G* 8 + 7? 7 2 57| c 0 28 ψ 3 0 G* /+ • = λjx.- G; + λ l+ 2 σ, + 1 + Lj Gj + Lj+ -σ i+ , = 1,3, 5, ...,29 7, = Gj + A ; _, + Lj i = 1, 5, 8, 9, 13, 17, 21, 29 Tr Gj λ, -t Li + Gj + • λ, + 2 , + , / = 2, 10, 18,23,26 T/ + — σ,- , + , ; + Gj + • λj + 2 Lj+< + Gj + 2 λ, . 3 ; + 2 • / = 2, 5, 8, 10, 11, 13, 14, 17, 18, 20, 21, 23, 26, 29 STAGE 3 KQ — TccO G cc o + ccO 7 c1 G C c8 + TccO Ted G C cl6 + T O Td ψ K- = ec G* 7 , + 7 c G*c 1 8 5 + 7cc 6 ι Gc*c 2 1 3 6 + Tie 4 , ψ® G * ; + 7 = G * l + , + Tj ~ ΪG*ii>- + 7?_f ? 7 / + 4 G*l 5 + / + ? H G* + % 7 = 1, 9, 17 T| = 7| 717 8 7 9 π = πn n° TU , 1 ! 7, 7 T25 = n T 7 γ)07-137-,| T )~ η-22 m Φ% = G 2 *5 26 + 7| 6 7 Gψ + 71! T 29 Gg° + 7f 7% Φ31 STAGE 4 K? = κ,VA, φ, = T, Gf + T, Tf G*- 6 + T, TJ 7 G^ + T, Tf 5 ΦU STAGE 5 c, = κ*Vφ, Co = KJ To + Ko Go φ, + J Go + J T 0 φ,. 8- The apparatus according to claim 6 wherein overflow is computed from the carries of claim 6 as: OF = X 6 VX 4 φ, = Xl X 4 φ, + X 6 XT + Xe ^. where X, = a 0 Mγ 0 X 2 = βo ( 0 Vy 0 ) = βo<χ-oTo + βo ~ aO γ 0 X 4 = G 0 Lo A, + G A, + σ 0 o 5 — X 2 VX 3 K, — T CC ) Gccl + T?c1 G C c8 + ' C ci Gcc16 + Tζc) Ψ24 x 6 = χ 5 vx, K, = x 5 x7 + X 5 κT + xl x, K, φ, = T, G,* 8 + 7, 7| G 9 * 16 + 7, TJ 7 Gf 4 + 7, 7| 5 Φ|^ 9. The apparatus according to claim 6 wherein the overflow is computed in five stages by: STAGE 1 X, = 0 Vy 0 X 2 = βo (α 0 Vy 0 ) = β 0 αo To + βo Oo yo STAGE 2 X = σό Lo A, + Go λ- + σ 0 Lo STAGE 3 K, = Ted G*c 7 , + 71c + Tc'e 6 , G c *e 2 , 3 6 + 7| c 4 , φ% STAGE 4 X 6 = X 5 VX, K, = X 5 ; + X 5 κ + 7 X, K, φ, = T 1 Gf + T, 7| G 9 * 16 + T, Tj 7 Gt/ 4 + T, Tf ΦIJ STAGE 5 OF = X 6 VX 4 φ, = X 6 X 4 φ, + X 6 X4 + Xe Φ)- 10. The apparatus according to claim 1 wherein there is provided overflow means and the carries required to compute the overflow is computed by c, = K* U 2 + K* T, Gf 8 + K* 7? Φ| 6 + K* G? *8 Φ 9 26 Co = ? l 4 + K* U 3 + J (/, Φ| 6 + Kt H Φl 6 - where = 0,2, 4, 6, ...28 /= 1,4, 7, 8, 12, 16,20,28 1 cc; α, y, + α, + ι , + 1 = 1,7,9, 17,25 7 C 2 = α ; - y, + α, + , y, + , + +2 y. + 2 / = 1, 4, 7, 9, 10, 12, 13, 16, 17, 19, 20, 22, 25, 28 = α 30 y3o + oc 3 , y 3 , + 0.3, τ 2 + y 3 ι τ 2 A 0 = Ωi α 0 βo + Ω 2 α 0 y 0 + Ωi β 0 γ 0 λ, = Ωi α, /?,- + Ω 2 u,γ, + Ω, /?, y,- + Ω 3 β, - •, 1</<31 A cc o — Ω3-Q 1 α 0 βo + 3f 0 ι α 0 yo + Ω3t 0 , o yo λcc. = Ω 3 ( 0 , α, /?, + Ω 3to ι , y, + Ω 3t oi i y,. σ ; = α,V/?,Vy, 0<<31 L, = A, ΩoΛLASZ. + 1 / iOLΛSI. + , 1 , £2χAAL + A, 1 , ΩχoSl. 0</<31 — G c c1 + Tccl G*c2 + tec) T CC 4 G CC 4 + cc1 cc4 G*c6 G*l + 7 — f-*ι + ) Tι- t -2 * _;*< + 3„ i p + 3 * r β*ι + 5 ι Tι + 3 * p + 6 (-,*< + ■' cci — A JCCI T ^ I cci + 1 JCCI T 2 i ' cci + 1 ' cci + 4 vJcci + 4 T ' cc; + 1 ' cc; + 4**-*'cc; + 6 ' = 0,8, 16 •cd — Ice) 'cc4 'cc7 'cc8 T'6 T3 713 T9 TI2 T*5 T ' cd — ' c cdc) ' i c ccc4A ' I c ccc7T 'I c ccc1)00 ' I c ccc1)33 ' ' I cc)B 7 * 24 — * T3 7 * 6 7"9 7"12 7 * 15 7-I8 -7-21 7 * 24 'cd — 'cci 'cc4 'cc7 'cc10 'cc13 'cc16 'cc19 'cccc:22 Φi = G*c 2 2 5 4 + 71c 6 25 G*c 2 2 7 6 + 7| 2 S T C c 2S G*c 8 + 7 57?c°28 Φ 30 G,*' + i =Ω 4 σ, λ, + y + Ω 4 σ, + λ, +2 + L,λ l + -< + L, + ιA, + 2 / = 1,3,5,...,29 Go* = Ω 4 σ 0 A, + L 0 A, T, = A, + , + Ω 4 G, + L, / = 0, 1 T r j '+1 = A /+ 1 Ω 4 L,- + λ i+ 1 σ, L,* + A / + 2 Ω 4 / + 1 + A / + 2 σ /+ ., L /+ 1 / = 0,2, 4, ...,30 Φ 3I = Ω 31 A 3 2 + L 31 A 3 2 + T, K u-o — — T 'c*cO f ^~c*c 7 O 4 ^T- T I c*cO T I c~c) > *~~c*c-8 5 4 T- T ' c*cO T 'c 1 c 6 i ^ <-?"c*c2136 - T4- T ' c*cO 7 '"c*-d-* ι ψ//3~40 K, = Ω 3to , Tec G*7, + Ωao, 7?d G*V 5 + Ω3.0, ,3c 6 , G*, 3 e + Ωaoi T£ ψ® G*/ + 5 f≥-ki+1 1 77 + 2 f *i + 3 _L T>-t-2 * T; + 4 (≥- *ki; ' ++ 5 ; — Α-~j -ir Ij + z Α l + 2 -f I , ' + , ' ; + 3 <■-?; + 4 1 = 9,15,21 7? = 7, 717| 7| 7| 71 = 7| T 7? 7 " 15 12 -T137 " 15 'l2 'l4 7"137"15 T177-19 7 * 21 12 '12 '14 ' 16 ' 18 '20 7,2 — 7,27 M ,67,| 7|o T_% Tin Te U. = Go* Gf ΦI? = G&» + 7 G 2 *9 30 + HI T& Φ31 K, = K-ivλcc) Gf = Gf+Ti G 3 * 8 Gf = Gf Ti + Gf 2 G 3 * 8 - = T, + T| Gf + 71 Gf 2 G 3 * 8 U 3 = Go* + To 1 G* 2 + 7371 G 3 * 8 t7 4 = To + Go* 7, + 7| υ, + 71 L/, G 3 * *8 φge = G 9 * 14 + TV 10 n ' 1 Gϊi° + 7, 1 1 0- 1 7 '? 12J + 7, 1'0 J 7 '11?2 ΦS 11. The apparatus according to claim 10 wherein the carries computed for overflow in claim 10 are computed in five stages by computing: STAGE 1 G c * c , = , y. G c * c . + ' = α ; y- + α / + ,y + , /= 0,2, 4, 6, ...28 / = 1,4,7,8, 12,16,20,28 *co — 3foi O-o + 3 to, y 0 Tc'ei — <~ι . + <z-i+) }'i + , = 1,7, 9, 17,25 Αti 2 = α, γ, + oj + , y, + , + α /+2 y /+2 = 1, 4, 7, 9, 10, 12, 13, 16, 17, 19, 20, 22, 25, 28 1A30 = α 3 o yso + α 3) y 3 ι + o 3 - τ 2 + y 3 , τ 2 o = Ω, α 0 ^?o + Ω 2 αo o + Ω, β 0 yo λj = Ω, a, βj + Ω 2 α/y,- + Ω, β, y, + Ω 3 β,- , 1</<31 A 32 = Ω 3 β 3 - + Ω 3 τ 2 . Acco = Ω- H OI α 0 β 0 + Ω 3to ι α 0 o + - ,-to) βo yo A,* ! = Ω 3(0 , α, β- + Ω 3to , α, y, + Ω 3 . 0 , /?, y,. 0</<31 Lj = A, ΩoΛLΛSL + 1 ΛOLΛSL + A/ 1 / χ ΛΛ /. + A, 1 , Ωχos_. 0<<31 STAGE 2 G∞, = Gc*e, + T?c1 G*c2 + ?c1 Tcc4 G CC 4 + lc C ) cc4 G*c6 G*; ' .+ 7 — (Zl*i+< -i- T' + 2 / *** !*; + 3 _|_ * p ' + 3 * T *** !*; + 5 ι * J-; + 3 * T; + 6 (Z,*i + 7 cci — A CI I i cci + ) Ά-~CCI + 2 ~ ' cc; + 1 ' cc; + 4 '■ ■ 'cc + 4 T ' cc; + 1 'cc; + 4**--'cc; + 6 ' = 0,8, 16 'cd -~ ' cc) ' CC4 I cc7 ' ccB T16 * T3 * Tδ * T9 T12 15 T • cc1 — ' cd ' cc4 ' cc7 ' ccIO ' cc13 ' cc16 7"24 _ 7"3 * 7-5 7-9 7-12 7-15 T18 T21 -24 'cd — 'cd 'cc4 'cc7 'ccIO 'cc13 ' cc16 'cc,9 'cc22 ΦΨ4 * = G*?2 5 4 + T?c 6 25 G* 2 IB + 7 e 7 25 C e28 G*! + Tψc257| c °28 -^30 G,*' + ■ = Ωi Gj λj + - + Ω 4 σ i+ 1 / +2 + Lj λj + - + Lj + ιΛ, +2 1 = 1,3, 5, ...,29 Go* = Ω 4 σ 0 A 1 + Lo A, 7 = A /+ , + Ω 4 σ, + L = 0, 1 7 =A / + 1 Ω 4 L,- + A /+1 σ / L,- + A / + 2 Ω 4 L /+1 + Λ / + 2 σ /+1 +1 / = 0,2, 4, ...,30 Φ 3 , = Ω 4 σ 3 ι λ-- + L 3 ι A 32 + τ, STAGE 3 Ko = T* c o G* c o + T* c o Tic G*c8 + 7* c o 7 cc ι G C cie + Teco Tc) Φ24 K\ = A,l 3to ι Tec) Gcc) + ii3fo1 c1 GccB + A.l 3 t 0 T cc ) G*d6 + 3J0I 7cc1 - 24 G*;' + 5 _ rz.*i+ ) -j_ 7 + 2 ^*' + 3 i 7 * ; + 27 * 7 + 4 f2*i + 5 ; — «J; H ^ '; + 1 "^-'; + 2 T /+1 '- + 3 l*-»; + 4 = 9, 15,21 7? = 7, 7| 7| 7 7| 71 = Ti T 717| 7, 2 = 7,| , 4 7, 6 7, 8 Tfo 7,2 = 7,27,4 ,6 ,8 Tfo Tf2 T Tis U, = Go* Gf 2 27 = 2 + 28 9 + 128 730 Φ31 STAGE 4 Kξ = KoVAcco Gf = Gf + Ti G 3 * 8 Gf =Gf Ti+ Gf G 3 * 8 U 2 = 7, + Ti Gf + 7| Gf 2 G 3 * 8 U 3 = Go* + To' Gf + 7,3 7| G 3 * 8 U. = To + Go* 7, + 7| U, + 7| U- G 3 * 8 φ| 6 = G 9 * 14 + T}. 77 Gf* 20 + Ti'o 1 T-\ G 2 *, 2S + 7J(j 7? 2 7 ΦI) STAGE 5 c, = K* ϋ 2 + K? 7, Gf 8 + * 7? ΦI 6 + ? Gf 8 ΦI 6 Co = Kξ Un + KJ ϋ 3 + Kξ U- Φf + K* 7δ Φl s . 12. The apparatus according to claim 10 wherein there is a computation of overflow from the carries by: OF = X 8 X ~ X, 0 + X B ~ X Gf + X7 X 9 Φ| 6 + X 8 X, 0 Φ§1 where X, = a Q My 0 X 2 = (α 0 Vy 0 ) = A1 λ CC ) + λ cc -, (Ω4 Go + Lo) = A1 cci + A cc ι i ∑ L + Acci o Lo X 6 = A, v 7, + A, v T, X 7 = X 3 V(X 4 + A, X s ) = X 3 X 4 + X 3 A, X 5 + 3 X 4 A, + 3 X 4 5 = X, K, + x7 X 7 + κ x 7 X,o — Xe + Gf 7| +G? *2 G3* 8 . 13. The apparatus according to claim 10 wherein there is a calculation in five stages of overflow from the carries by: STAGE 1 X, = 0 Vy 0 X 2 = (α 0 Vy 0 ) STAGE 2 X 4 = A, A cc , + λ CC ) v = A, cc ι + A C ci Ax n L + A C ci Co Lo STAGE 3 X 6 = A, v T, + A, v T, X 7 = X 3 V(X 4 + A, X 5 ) = X 3 X 4 + X 3 Ai X 5 + X 3 X 4 A, + X 3 X 4 X5 STAGE 4 X 8 = X, κ,VX X,o = X 6 + Gr 2 71 + Gr 2 G 3 * 8 . and where a calculation of ?c occurs in Stage 3, and where with the above values, OF is calculated in the fifth stage as: STAGE 5 OF = X 8 X 9 X,o + Xβ Xε Gf + X 8 X 9 ΦI 6 + X 8 X,o ΦI 6 - 14. An ALU status determination apparatus comprising: a three-to-one ALU means for executing plural instructions and for exe¬ cuting a second instruction of a pair of logical or arithmetic functions fol¬ lowed by arithmetic operations in parallel whether or not the second instruction of said pair of logical or arithmetic followed by arithmetic oper¬ ations is independent or dependent on the result of the operation of the first instruction, and zero means for predicting a result equal zero in said three-to-one ALU means operations. 15. The apparatus according to claim 14 wherein said zero means predicts the result equal zero for arithmetic followed by arithmetic operations in said three-to-one ALU means. 16. The apparatus according to claim 15 wherein the the arithmetic oper¬ ations are additions and subtractions in two's complement or unsigned form 17. The apparatus according to claim 14 wherein said zero means predicts the result equal zero for logical followed by arithmetic operations in said three-to-one ALU means. 18. The apparatus according to claim 17 wherein the arithmetic operations are additions and subtractions in two's complement or unsigned form and logical operations are binary AND, OR, or XOR. 19. An ALU status determination apparatus comprising: a three-to-one ALU means for executing plural instructions including a three-to-one binary adder including a CSA and a 2-1 adder denoted as A, B and T; and a logical operation block means feeding the said 2-1 adder; and zero means for predicting a result equal zero in said three-to-one ALU means operations. 20. The apparatus according to claim 19 wherein to compute the result equal zero for claim 19 three operands are provided three to one binary adder, and said logical operation block means has operands set or suppressed in order to compute properly an arithmetic operation followed by an arithmetic opera¬ tion and a logical operation followed by a arithmetic operation. 21. The apparatus according to claim 19 wherein said zero means of said apparatus operates in parallel with the CSA the 2-1 adder and the logical block means and predicts the outcome of result equal zero. 22. The apparatus according to claim 19 wherein said zero means predicts operations by: A 0 A, ... A; 31 B 0 *B*...B*, r 0 * Γ* ... n, σ 0 σ, ... σ 3 , 0 , -2 •■■ ~2 1 1 1 ... 1 P P P P ' yo . ' yz — ' y~, ~ ) 0 0 0 ...0 1 representing the computation of A + B* + F* + τ 2 + τ, + 1 — 1, to compute the worse case scenario of addition subtractions in arithmetic followed by arith¬ metic operations, said operations being expressed by A + B + Γ A + B + (F+1) A + (B + I) + Γ A + (B + 1) + (f +1) or, A + B + Γ A+B+F+ 1 A+B+1 +r A + B + 1 +F+1. 23. The apparatus of claim 20 wherein a notation M* denotes either the operand M or the one's complement of the operand M as required by the operation to be performed, and τ 2 and τ, are either 0 or 1 as required by the operation. 24. An ALU status determination apparatus comprising: a three-to-one ALU means for executing plural instruccions including a three-to-one binary adder including a CSA and a 2-1 adder denoted as A, B a logical operation block means; and zero means for predicting a result equal zero in said three-to-one ALU means operations, and wherein A and V are equal to zero for the CSA when computing a logical followed by arithmetic operation and one of two inputs of the 2-1 adder with the result of the logical operation and the inputs of the CSA equal to the operands for arithmetic followed by arithmetic with one of the inputs in the 2-1 adder having suppressed a logical operand and allowing a carry of the CSA to pass through. 25. The apparatus of claim 24 wherein said logical block means is in parallel with said three-to-one binary adder and computes the following: B* B* ... B 3 *ι r 0 * rf ... r 3 *, σ 0 σ, ... G 3 - λo A, A 2 ... x 2 , 1 1 1 ... 1 P ' X0 P r X1 ••• P ' X30 P * X31 ■ yo ' i * yz ••■ - MI τ * 0 0 0 0 1 X Q *-*ι ••• • -••'30 -J; 31- representing the computation of A + B* + T* + τ 2 + τ, + 1 — 1, to compute the worse case scenario of addition subtractions in arithmetic followed by arith¬ metic operations as those operations are expressed by A + B + Γ A + B + GΓ + 1) A + (B + I) + Γ A + (B + 1) + (f+1) or, A + B + Γ A+B+Γ+I A+B+1 +r A + B + 1 +r + ι. 26. The apparatus of claim 24 wherein the notation M* is used to denote either the operand M or the one's complement of the operand as required by the operation to be performed, and τ 2 and τ, are either 0 or 1 as required by the operation. 27. The apparatus according to claim 19 wherein the result equal zero is computed by: R =0 = (Pχ„VP y ,) (Pχ,VP y .) ... (P X30 VP y31 ) (P* 31 Vτ,). where: σ, = UjVβiVγi A, = a, β, + α,- γ, + β, y, L, — A, LloALASL + , iloALASL + A; l j ilχAAL + A, T Ωχos_. P x , = σ,V(A ;+ , + L,)V1 0</<30 P X31 = σ 3 ,V(τ 2 + L 3 ,)V1 Py, = σ, (A, + , + L,) + σ, (1) + (A, + , + L,) (1) 0<<30 P 3 , = - ) { ~ 2 + L 31 ) + σ 3 , (1) + (τ 2 + L 3 ,) (1). 28. The apparatus according to claim 19 wherein the result equal zero is computed in five logic stages by: STAGE 1 σ, = α,V/?,Vy, A, = α, β, + # * γ, + /?, y,- L; = A, LloALASL + , + A, T, Ω A Λ _. + A, l j Ωχosj_ STAGE 2 P * .= = σ, (A, + , + L.) + σ, (A, + , + L,) 0<<30 P, = <- r . A, + , + G, Lj + σ,- A, + , L, 0<<30 and, Pχ 3 , = σG 33 ,- (τ 2 + L 3 ,) + σ 3 , (τ 2 + L 3) ) Pχ-y == σ 3i ~2 + C31 L3, + σ 3 < τ L 3 , STAGE3 0<<30 fl=o(31) = P X31 Vτ,. STAGE4 fl__o(0:7) = R-o(0) «=o(1) - R-o(7) R.o(8:15) = P=o(8) R« 0 (9) - K=o(15) R = 0 (16:23) = R. 0 (16) «_ 0 (17) ... / * ?--. 0 (23) R = 0 (24:31) = R=o(24) * ?_ 0 (25) ... Λ. 0 (31). STAGE5 R = 0 = Λ»o(0:7) R.o(8:15) Λ. 0 (16:23) ft, 0 (24:31).

Inventors: PHILLIPS JAMES EDWARD, VASSILIADIS STAMATIS, PHILLIPS, JAMES, EDWARD, VASSILIADIS, STAMATIS
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1991
Main classification: G06F7
IPC codes: G01N33, G06F7, G06F9