commit | 9097981b79f89bd341d46256678b3c05ddd2d0a9 | [log] [tgz] |
---|---|---|
author | Mark Mendell <mark.p.mendell@intel.com> | Tue Jul 28 16:41:21 2015 -0400 |
committer | Mark Mendell <mark.p.mendell@intel.com> | Thu Jul 30 08:52:54 2015 -0400 |
tree | f466b5819420182a73068e0f0b598878141ecc7a | |
parent | 595335100a947693b9af5fb6c0b5b3c1f0b91788 [diff] |
Optimizing: Replace x86 xchg use with xor sequence On some x86 processors, xchg is serializing even when exchanging two registers. Replace the xchgl use with the 3 xor sequence to swap to registers. This is generally faster and doesn't serialize the machine. Change-Id: Iea2cd993d3b70a103bbdd1dbf7818e26ae29387c Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>