A lot of instruction sets (including x86) let you encode branch prediction hints into the actual instructions to help out the branch predictors. But for x86 at least these hints didn't turn out to be too useful, so they're ignored (except on P4, I believe).
or is the code written in this manner just to make it more platform independent (i.e. cycles still matter for embedded applications, etc)?