Claims
- 1. A method of processing a sequence of conditional vector IF statements by employing a mask register having contents represented by n bits and a condition register having contents represented by n bits wherein each conditional vector IF statement is performed on a selected vector register set, wherein each selected set includes at least one vector register having a plurality of vector elements, the method comprising the steps of:
- (a) processing a first conditional vector IF statement in the sequence for those vector elements of a first vector register set corresponding to selected bits of the n bits of the mask register being set;
- (b) setting certain bits of the n bits of the condition register to reflect those vector elements of the first vector register set which correspond to the selected bits of the mask register being set and the conditional vector IF statement being satisfied;
- (c) moving the contents of the condition register into the mask register;
- (d) processing a next conditional vector IF statement in the sequence for those vector elements of a next vector register set corresponding to bits of the n bits of the mask register being set in the new contents of the mask register resulting from step (c); and
- (e) setting certain bits of the n bits of the condition register to reflect those vector elements of the next vector register set which correspond to the bits of the mask register being set and the conditional vector IF statement being satisfied.
- 2. The method of claim 1 further comprising the step of:
- (f) repeating steps (c)-(e) for each of the next conditional vector IF statements in the sequence until all conditional vector IF statements are processed.
- 3. The method of claim 1 further comprising the steps of:
- (f) after step (e), repeating step (c); and
- (d) processing a conditional vector function on at least one vector register for those vector elements of said at least one vector register corresponding to bits of the n bits of the mask register being set in the new contents of the mask register.
- 4. The method of claim 2 further comprising the steps of:
- (g) after step (f), repeating step (c); and
- (d) processing a conditional vector function on at least one vector register for those vector elements of said at least one vector register corresponding to bits of the n bits of the mask register being set in the new contents of the mask register.
RELATED APPLICATIONS
This is a continuation of application Ser. No. 08/395,320 filed Feb. 28, 1995 entitled SCALAR/VECTOR PROCESSOR which is a continuation of application Ser. No. 07/536,409, filed Jun. 11, 1990 entitled SCALAR/VECTOR PROCESSOR, now U.S. Pat. No. 5,430,884.
This application is a continuation-in-part of an application filed in the United States Patent and Trademark Office on Dec. 29, 1989, entitled CLUSTER ARCHITECTURE FOR A HIGHLY PARALLEL SCALAR/VECTOR MULTIPROCESSOR SYSTEM, Ser. No. 07/459,083 now U.S. Pat. No. 5,197,130 , issued Mar. 23, 1993, and assigned to the assignee of the present invention, a copy of which is attached as an appendix and the disclosure of which is hereby incorporated by reference in the present application. The application is also related to co-pending applications filed concurrently herewith, entitled METHOD AND APPARATUS FOR A SPECIAL PURPOSE BOOLEAN ARITHMETIC UNIT, Ser. No. 07/536,197, now U.S. Pat. No. 5,175,862, issued Dec. 29, 1992, and METHOD AND APPARATUS FOR NON-SEQUENTIAL RESOUCE ACCESS, Ser. No. 07/535,786, now U.S. Pat. No. 5,208,914, issued May 4, 1993, FAST INTERRUPT MECHANISM FOR A MULTIPROCESSOR SYSTEM, Ser. No. 07/536,199, now U.S. Pat. No. 5,193,187, issued Mar. 9, 1993, entitled FAST INTERRUPT MECHANISM FOR INTERRUPTING PROCESSORS IN PARALLEL IN A MULTIPROCESSOR SYSTEM WHEREIN PROCESSORS ARE ASSIGNED PROCESS ID NUMBERS, all of which are assigned to the assignee of the present invention, a copy of each of which is also attached and the disclosure of which is hereby incorporated by reference in the present application.
US Referenced Citations (43)
Non-Patent Literature Citations (2)
Entry |
"Structured Computer Organization" Andrew S. Tanenbaum, Prentice-Hall, Inc., Englewood Cliffs, New Jersey, 10 pages. |
"Dynamic Instruction Scheduling and the Astronautics ZS-1," James E. Smith, Astronautics Corporation of America, July., 1989, pp. 21-35. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
536409 |
Jun 1990 |
|
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
459083 |
Dec 1989 |
|