摘要 |
PROBLEM TO BE SOLVED: To provide a microprocessor provided with a CPU capable of efficiently fetching instructions from a prefetch buffer predicting branch instructions. SOLUTION: The microprocessor 100 includes a memory 3 having instructions stored therein, a CPU 1 for performing pipeline processing of fetched instructions, and a prefetch buffer 2 which reads ahead instructions in a request address from the CPU 1 and a plurality of following addresses from the memory and stores them therein. The prefetch buffer 2 predicts a branch by determining whether the stored instructions read ahead from the memory 3 includes a branch instruction or not and informs the CPU 1 of the branch prediction result. The CPU 1 controls fetching of instructions from the prefetch buffer 2 on the basis of the branch prediction result informed from the prefetch buffer 2. COPYRIGHT: (C)2008,JPO&INPIT
|