Claims
- 1. A superscalar processor which executes a plurality of instructions concurrently, the processor comprising:
- a plurality of execution units;
- a program counter which identifies an instruction for execution by said execution units;
- a register file comprising a plurality of register windows each of said register windows useable in a separate subroutine call;
- a current window pointer which selects one of said register windows;
- a return prediction table which provides a speculative program counter value indicative of a return address of an instruction for a subroutine, corresponding to said selected register window, prior to completion of execution of said subroutine in response to the value of said current window pointer;
- a watchpoint register for storing said speculative program counter value; and
- a fetch program counter, responsive to said speculative program counter value, for storing an instruction for execution subsequent to said instruction identified by said program counter.
- 2. A superscalar processor as set forth in claim 1 further comprising a comparator which compares said speculative program counter value with an actual return address to determine if said speculative program counter value is correct.
- 3. A superscalar processor as set forth in claim 2 further comprising control logic responsive to said comparator, for storing a correct program counter value in said program counter if said speculative program counter value is incorrect.
RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 08/398,284 filed Mar. 3, 1995, now abandoned, having the same title and inventors as the present application.
The subject matter of this application is related to the subject matter of the following applications:
US Referenced Citations (11)
Foreign Referenced Citations (3)
Number |
Date |
Country |
0 310 455 A2 |
Apr 1989 |
EPX |
0 432 774 A2 |
Jun 1991 |
EPX |
0 433 709 A2 |
Jun 1991 |
EPX |
Continuations (1)
|
Number |
Date |
Country |
Parent |
398284 |
Mar 1995 |
|