From: Liming Gao <liming.gao@intel.com>
To: edk2-devel@lists.01.org
Subject: [Patch] MdePkg BaseSynchronizationLib: Update InterlockedCompareExchange64.nasm
Date: Fri, 14 Oct 2016 14:47:33 +0800 [thread overview]
Message-ID: <1476427653-13184-1-git-send-email-liming.gao@intel.com> (raw)
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
next reply other threads:[~2016-10-14 6:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-14 6:47 Liming Gao [this message]
2016-10-14 12:22 ` [Patch] MdePkg BaseSynchronizationLib: Update InterlockedCompareExchange64.nasm Laszlo Ersek
2016-10-18 1:36 ` Gao, Liming
2016-10-18 1:47 ` Fan, Jeff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1476427653-13184-1-git-send-email-liming.gao@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox