audk/MdePkg/Library/BaseSynchronizationLib/Ia32
Laszlo Ersek 3a0329bed2 MdePkg/BaseSynchronizationLib GCC: simplify IA32 InternalSyncCompareExchange64()
The IA32 variant of InternalSyncCompareExchange64() is correct, but we can
simplify it. We don't need to load the lower 32 bits of ExchangeValue into
EBX in two steps (first into a general register, then into EBX); we can
ask GCC to populate EBX like that itself.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1208
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-10-17 18:44:51 +02:00
..
GccInline.c MdePkg/BaseSynchronizationLib GCC: simplify IA32 InternalSyncCompareExchange64() 2018-10-17 18:44:51 +02:00
InterlockedCompareExchange16.c MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
InterlockedCompareExchange16.nasm MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
InterlockedCompareExchange32.c MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
InterlockedCompareExchange32.nasm MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
InterlockedCompareExchange64.c MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
InterlockedCompareExchange64.nasm MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
InterlockedDecrement.nasm MdePkg/SynchronizationLib: fix Interlocked[De|In]crement return value 2018-09-25 10:02:53 +08:00
InterlockedIncrement.nasm MdePkg/SynchronizationLib: fix Interlocked[De|In]crement return value 2018-09-25 10:02:53 +08:00
InternalGetSpinLockProperties.c MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00