METHOD AND APPARATUS FOR STORE-INTO-INSTRUCTION-STREAM DETECTION AND MAINTAINING BRANCH PREDICTION CACHE CONSISTENCY

Patent №

US 5,226,130

Granted

1993-07-06

Filed 1990

Owner

NEXGEN MICROSYSTEMS

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

07485312

The present invention provides for the updating of both the instructions in a branch prediction cache and instructions recently provided to an instruction pipeline from the cache when an instruction being executed attempts to change such instructions ("Store-Into-Instruction-Stream"). The branch prediction cache (BPC) includes a tag identifying the address of instructions causing a branch, a record of the target address which was branched to on the last occurrence of each branch instruction, and a copy of the first several instructions beginning at this target address. A separate instruction cache is provided for normal execution of instructions, and all of the instructions written into the branch prediction cache from the system bus must also be stored in the instruction cache. The instruction cache monitors the system bus for attempts to write to the address of an instruction contained in the instruction cache. Upon such a detection, that entry in the instruction cache is invalidated, and the corresponding entry in the branch prediction cache is invalidated. A subsequent attempt to use an instruction in the branch prediction cache which has been invalidated will detect that it is not valid, and will instead go to main memory to fetch the instruction, where it has been modified.

AI hardwareG06F 9/3812G06F 9/3804G06F 9/3844G06F 9/3863

AI classification

AI hardware0.95
Evolutionary computation0.00
Natural language0.00
Knowledge representation0.00
Machine learning0.00
Planning0.00
Vision0.00
Speech0.00

Ownership

NEXGEN MICROSYSTEMS

assignment · 53170830

Assignors

FAVOR, JOHN G., STILES, DAVID R., VAN DYKE, KORBIN

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC