1. A method comprising: inserting a commit instruction before an initial instruction of loop instructions to form modified loop instructions; inserting a plurality of branch instructions in the modified loop instructions; and inserting a plurality of copies of a portion of the loop instructions in the modified loop instructions.