摘要 |
A data processing system 2 includes an instruction pipeline with a branch prediction mechanism. The branch prediction mechanism includes a branch history register 20 operating to store a value GHV which can be used to identify whether a newly encountered branch instruction is one which has been previously encountered. If the branch is not one which has previously been encountered, then a not taken prediction is made. This not taken prediction is applied to both conditional and unconditional branch instructions. The instruction set of the processor core 2 supports predication instructions which render unconditional branch instructions conditional.
|