A branch prediction implementation of a 2 bit saturating counter