diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-12 02:23:31 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-12 02:23:31 +0000 |
commit | 945f5f400b3d61c72afd0d1fdbfa5d3aad598f57 (patch) | |
tree | e20fc712a0ceff04b421ad62b9a67e16db604ec8 /MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S | |
parent | 23f41e56014f6a90cd02bd1c2b011821b95aca56 (diff) | |
download | edk2-platforms-945f5f400b3d61c72afd0d1fdbfa5d3aad598f57.tar.xz |
Use "movd" instruction to manipulate MMX register to support more GNU assemblers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9055 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S')
-rw-r--r-- | MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S index 6ae6793a7e..9ecdacfa43 100644 --- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S +++ b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S @@ -38,7 +38,7 @@ ASM_GLOBAL ASM_PFX(InternalMemSetMem16) ASM_PFX(InternalMemSetMem16):
pushq %rdi
movq %r8, %rax
- movq %rax, %mm0
+ movd %rax, %mm0
movq %rcx, %r8
movq %r8, %rdi
movq %rdx, %rcx
|