Re: [edk2] [PATCH 4/5] MdePkg/BaseSynchronizationLib GCC: fix X64 InternalSyncCompareExchange64()

2018-10-01 Thread Philippe Mathieu-Daudé
On 30/09/2018 00:23, Laszlo Ersek wrote: > (This patch is identical to the X64 half of the last one, except for the > InternalSyncCompareExchange32() -> InternalSyncCompareExchange64() and > "cmpxchgl" -> "cmpxchgq" replacements.) > > The CMPXCHG instruction has the following operands: > - AX

[edk2] [PATCH 4/5] MdePkg/BaseSynchronizationLib GCC: fix X64 InternalSyncCompareExchange64()

2018-09-29 Thread Laszlo Ersek
(This patch is identical to the X64 half of the last one, except for the InternalSyncCompareExchange32() -> InternalSyncCompareExchange64() and "cmpxchgl" -> "cmpxchgq" replacements.) The CMPXCHG instruction has the following operands: - AX (implicit, CompareValue):input and output -