That kind of sounds like a branch predictor in a CPU.