Claims
- 1. In a pipelined processor with instruction, a branch processing unit including a far target cache that stores far target segment limits, comprising:
- (a) a target cache in the branch processing unit with a plurality of entries, each entry including target addressing information for change of flow (COF) instructions, at least some of which are far COFs; and
- (b) a far target cache with a plurality of entries, each entry including segment limit information for a far target with a corresponding entry in the target cache;
- (c) each entry in the target cache including an FTC index field such that, when a far COF is allocated into the target cache, the corresponding FTC index field stores an index pointing to the entry in the far target cache storing segment limit information for such far COF;
- (d) such that for far COFs that hit in the target cache, the target cache outputs corresponding far target addressing information and the associated FTC index to indirectly access the far target cache to obtain the associated segment limit information.
- 2. The branch processing unit including a far target cache of claim 1, wherein each entry in the far target cache stores mode bits for the far COF.
- 3. The branch processing unit including a far target cache of claim 1, wherein the target cache is accessed with prefetch addresses issued by a prefetch unit.
- 4. A method of predicting far target addresses including segment limits used in a pipelined processor with branch processing unit, comprising the steps:
- (a) storing a plurality of entries in a target cache, each entry including target addressing information for change of flow (COF) instructions, at least some of which are far COFs; and
- (b) storing a plurality of entries in a far target cache, each entry including segment limit information for a far target with a corresponding entry in the target cache;
- (c) for each far COF allocated into the target cache, storing in an FTC index field an index pointing to the corresponding entry in the far target cache storing segment limit information for such far COF;
- (d) for far COFs that hit in the target cache, outputting corresponding far target addressing information and the associated FTC index to indirectly access the far target cache to obtain the associated segment limit information.
- 5. The method of predicting far target addresses of claim 4, wherein each entry in the far target cache stores mode bits for the far COF.
- 6. The method of predicting far target addresses of claim 4, wherein the target cache is accessed with prefetch addresses issued by a prefetch unit.
CROSS REFERENCES
This application is a continuation-in-part of U.S. patent application Ser. No. 08/324,992, titled "Branch Processing Unit", filed Oct. 18, 1994 now abandoned. This application incorporates by reference the subject matter of co-pending U.S. patent applications Ser. No. (1) 08/605,344, titled "Speculative Execution In A Pipelined Processor", filed Feb. 14, 1996 now abandoned, (2) Ser. No. 08/526,125, titled "Pipelined Processor With Independent Instruction Issuing", filed Sep. 8, 1995 now abandoned, and (3) U.S. Pat. No. 5,584,009, titled "Control of Data for Speculation Execution and Exception Handling in a Microprocessor with Write Buffer", filed Oct. 18, 1993, all assigned to the assignee of this application.
US Referenced Citations (3)
Number |
Name |
Date |
Kind |
4679141 |
Pomerene et al. |
Jul 1987 |
|
5381533 |
Peleg et al. |
Jan 1995 |
|
5608886 |
Blomgren et al. |
Mar 1997 |
|
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
324992 |
Oct 1994 |
|