diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-10 07:03:04 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-10 07:03:04 +0000 |
commit | 15d10a4c78279190cc8aeef0ab9a8b7a9dedff23 (patch) | |
tree | 393f205eb3b0d873b495aaf7967efdb7eaabe89a /MdePkg/Library/BaseMemoryLibMmx/Ia32 | |
parent | 1b86875186e6eb37b81046747a3fa898942cbc3b (diff) | |
download | edk2-platforms-15d10a4c78279190cc8aeef0ab9a8b7a9dedff23.tar.xz |
Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4074 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibMmx/Ia32')
-rw-r--r-- | MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.asm b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.asm index c2e4869e47..2080966dca 100644 --- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.asm +++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.asm @@ -38,7 +38,7 @@ InternalMemSetMem32 PROC
mov eax, [esp + 4] ; eax <- Buffer as return value
mov ecx, [esp + 8] ; ecx <- Count
- movd mm0, [esp + 12] ; mm0 <- Value
+ movd mm0, dword ptr [esp + 12] ; mm0 <- Value
shr ecx, 1 ; ecx <- number of qwords to set
mov edx, eax ; edx <- Buffer
jz @SetDwords
@@ -46,12 +46,12 @@ InternalMemSetMem32 PROC psllq mm1, 32
por mm0, mm1
@@:
- movq [edx], mm0
+ movq qword ptr [edx], mm0
lea edx, [edx + 8] ; use "lea" to avoid change in flags
loop @B
@SetDwords:
jnc @F
- movd [edx], mm0
+ movd dword ptr [edx], mm0
@@:
ret
InternalMemSetMem32 ENDP
|