commit | 8a1c728e40813d30a85a1f27afaf16a3f105d32a | [log] [tgz] |
---|---|---|
author | Mark Mendell <mark.p.mendell@intel.com> | Mon Jun 29 15:41:28 2015 -0400 |
committer | Mark Mendell <mark.p.mendell@intel.com> | Thu Dec 31 12:47:50 2015 -0500 |
tree | 4245fdf57ffa7a1c12b3890bd2f4b1c10c11bf5d | |
parent | 4bb356123b13ec5f41ea80158766df676ae08679 [diff] |
X86_64: Replace x86_64 xchg instruction use Replacing 'xchg' to exchange two registers with a three instruction move sequence using the 'TMP' register r10 seems to be a big win. This is because xchg is a serializing instruction, even when used on registers. Change-Id: I1c0f7687630936e7f3d2efc4b30ad11233bd484c Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>