Fixed branching, cmp sets flags