Reordering instructions