simplify code generated for cmp/fjmp