public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] MdePkg BaseSynchronizationLib: Update InterlockedCompareExchange64.nasm
@ 2016-10-14  6:47 Liming Gao
  2016-10-14 12:22 ` Laszlo Ersek
  0 siblings, 1 reply; 4+ messages in thread
From: Liming Gao @ 2016-10-14  6:47 UTC (permalink / raw)
  To: edk2-devel

Remove extra qword in nasm code to make it pass build.
This file is only built in INTEL ICC compiler. So, there is missing
build check for it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
 .../BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm b/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm
index ee63ff7..206de40 100644
--- a/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm
+++ b/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm
@@ -41,7 +41,7 @@ ASM_PFX(InternalSyncCompareExchange64):
     mov     edx, [esp + 20]
     mov     ebx, [esp + 24]
     mov     ecx, [esp + 28]
-    lock    cmpxchg8b   qword [esi]
+    lock    cmpxchg8b [esi]
     pop     ebx
     pop     esi
     ret
-- 
2.8.0.windows.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-18  1:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-14  6:47 [Patch] MdePkg BaseSynchronizationLib: Update InterlockedCompareExchange64.nasm Liming Gao
2016-10-14 12:22 ` Laszlo Ersek
2016-10-18  1:36   ` Gao, Liming
2016-10-18  1:47     ` Fan, Jeff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox