Re: [edk2] [PATCH 2/5] MdePkg/BaseSynchronizationLib GCC: fix InternalSyncCompareExchange16()

2018-10-01 Thread Philippe Mathieu-Daudé
On 30/09/2018 00:23, Laszlo Ersek wrote: > The CMPXCHG instruction has the following operands: > - AX (implicit, CompareValue):input and output > - destination operand (*Value): input and output > - source operand (ExchangeValue): input > > The IA32 version of

[edk2] [PATCH 2/5] MdePkg/BaseSynchronizationLib GCC: fix InternalSyncCompareExchange16()

2018-09-29 Thread Laszlo Ersek
The CMPXCHG instruction has the following operands: - AX (implicit, CompareValue):input and output - destination operand (*Value): input and output - source operand (ExchangeValue): input The IA32 version of InternalSyncCompareExchange16() correctly marks CompareValue as input/output, but