Removed superfluous xchg instructions