Finished register renaming in dispatch, combined several functions