Patentable/Patents/US-6055650
US-6055650

Processor configured to detect program phase changes and to adapt thereto

PublishedApril 25, 2000
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

Patent Claims
18 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A processor comprising: one or more processor resources; a phase change monitor coupled to said processor resources, wherein said phase change monitor is configured to detect a phase change in a program being executed by monitoring said processor resources, wherein at least one of said processor resources provides a hit/miss indication to said phase change monitor, wherein said phase change monitor is configured to detect said phase change responsive to said indication; and a prefetch unit coupled to said phase change monitor, wherein said prefetch unit is configured to selectively prefetch responsive to said phase change monitor.

2

2. The processor as recited in claim 1 wherein said phase change monitor is configured to cause said prefetch unit to disable a current prefetch upon detecting said phase change.

3

3. The processor as recited in claim 1 wherein said phase change monitor is configured to cause said prefetch unit to enable a prefetch corresponding to a phase being entered upon detection of said phase change.

4

4. The processor as recited in claim 1 wherein said one or more processor resources comprises a decode unit configured to decode instructions, and wherein said phase change monitor is configured to detect said phase change upon a frequency of floating point instructions decoded by said decode unit crossing a predetermined threshold value.

5

5. The processor as recited in claim 1 wherein said one or more processor resources comprises a decode unit configured to decode instructions, and wherein said phase change monitor is configured to detect said phase change upon a frequency of multimedia instructions decoded by said decode unit crossing a predetermined threshold value.

6

6. The processor as recited in claim 1 wherein said one or more processor resources comprises a translation lookaside buffer configured to translate addresses to physical addresses, and wherein said phase change monitor is configured to detect said phase change upon a miss rate experienced by said translation lookaside buffer exceeding a predetermined threshold value.

7

7. The processor as recited in claim 1 wherein said one or more processor resources comprises a cache configured to store cache lines of memory, and wherein said phase change monitor is configured to detect said phase change upon a miss rate experienced by said cache exceeding a predetermined threshold value.

8

8. The processor as recited in claim 1 wherein said one or more processor resources comprises a reorder buffer configured to store speculative instruction results, and wherein said phase change monitor is configured to detect said phase change upon a number of entries within said reorder buffer reserved for said speculative instruction results exceeding a predetermined threshold value.

9

9. The processor as recited in claim 1 wherein said one or more processor resources comprises a reorder buffer configured to receive branch misprediction indications upon execution of branch instructions which are mispredicted, and wherein said phase change monitor is configured to detect said phase change upon a rate of said branch misprediction indications exceeding a predetermined threshold value.

10

10. The processor as recited in claim 1 wherein said one or more processor resources comprises a decode unit configured to decode instructions, and wherein said phase change monitor is configured to detect said phase change upon a frequency of branch instructions having a negative displacement decoded by said decode unit exceeding a predetermined threshold value.

11

11. The processor as recited in claim 1 wherein said phase change unit is configured to detect a first change in a processor mode from user to supervisor, and wherein said phase change unit is configured to suspend monitoring said processor resources and prefetching responsive to said first change.

12

12. The processor as recited in claim 11 wherein said phase change unit is configured to detect a second change in said processor mode from supervisor to user, and wherein said phase change unit is configured to resume monitoring said processor resources and prefetching responsive to said second change.

13

13. A method for prefetching in a processor executing a program, comprising: monitoring one or more processor resources, wherein at least one of said processor resources provide a hit/miss indication, wherein said hit/miss indication is used to detect a phase change in said program; and selectively enabling a prefetch responsive to said phase change.

14

14. The method as recited in claim 13 further comprising disabling a previously enabled prefetch responsive to said phase change.

15

15. The method as recited in claim 13 further comprising: detecting a switch from user mode to supervisor mode within said processor; and suspending said monitoring and said selectively enabling responsive to said detecting.

16

16. The method as recited in claim 13 further comprising: detecting a switch from supervisor mode to user mode within said processor; and resuming said monitoring and said selectively enabling responsive to said detecting.

17

17. A computer system comprising: a processor configured to execute a program, wherein said processor is configured to monitor one or more processor resources to detect a phase change in said program, wherein at least one of said processor resources provides a hit/miss indication to said processor, wherein said processor is configured to detect said phase change from said indication, wherein said processor is configured to selectively prefetch responsive to detecting said phase change; a memory coupled to said processor, wherein said memory is configured to store instructions and data for access by said processor; and an input/output (I/O) device coupled to said processor, wherein said I/O device is configured to communicate between said computer system and a second computer system coupled to said I/O device.

18

18. The computer system as recited in claim 17 further comprising a second processor coupled to said memory and to said I/O device, wherein said second processor is configured to execute said program, and wherein said second processor is configured to monitor one or more processor resources to detect said phase change in said program, and wherein said second processor is configured to selectively prefetch responsive to detecting said phase change.

Detailed Description

Complete technical specification and implementation details from the patent document.

While the invention is susceptible to various modifications and alternative

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

Unknown

Publication Date

April 25, 2000

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Processor configured to detect program phase changes and to adapt thereto” (US-6055650). https://patentable.app/patents/US-6055650

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.