summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/LongJump.S
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-10 09:00:21 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-10 09:00:21 +0000
commitebdad7f865358e8153b769150d2918d4d333aad4 (patch)
treeb519cade195da6c319665470b4a0101f44ebe782 /MdePkg/Library/BaseLib/X64/LongJump.S
parent63b65a9e4f8b93af810c45a47702602394015769 (diff)
downloadedk2-platforms-ebdad7f865358e8153b769150d2918d4d333aad4.tar.xz
For X64 BASE_LIBRARY_JUMP_BUFFER is 64-bit aligned, not 128-bit aligned, replace movdqa with movdqu.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8508 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/LongJump.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/LongJump.S20
1 files changed, 10 insertions, 10 deletions
diff --git a/MdePkg/Library/BaseLib/X64/LongJump.S b/MdePkg/Library/BaseLib/X64/LongJump.S
index a0fe61f8e7..1c82639e85 100644
--- a/MdePkg/Library/BaseLib/X64/LongJump.S
+++ b/MdePkg/Library/BaseLib/X64/LongJump.S
@@ -40,15 +40,15 @@ ASM_PFX(InternalLongJump):
mov 0x40(%rcx), %r15
# load non-volatile fp registers
ldmxcsr 0x50(%rcx)
- movdqa 0x58(%rcx), %xmm6
- movdqa 0x68(%rcx), %xmm7
- movdqa 0x78(%rcx), %xmm8
- movdqa 0x88(%rcx), %xmm9
- movdqa 0x98(%rcx), %xmm10
- movdqa 0xA8(%rcx), %xmm11
- movdqa 0xB8(%rcx), %xmm12
- movdqa 0xC8(%rcx), %xmm13
- movdqa 0xD8(%rcx), %xmm14
- movdqa 0xE8(%rcx), %xmm15
+ movdqu 0x58(%rcx), %xmm6
+ movdqu 0x68(%rcx), %xmm7
+ movdqu 0x78(%rcx), %xmm8
+ movdqu 0x88(%rcx), %xmm9
+ movdqu 0x98(%rcx), %xmm10
+ movdqu 0xA8(%rcx), %xmm11
+ movdqu 0xB8(%rcx), %xmm12
+ movdqu 0xC8(%rcx), %xmm13
+ movdqu 0xD8(%rcx), %xmm14
+ movdqu 0xE8(%rcx), %xmm15
mov %rdx, %rax # set return value
jmp *0x48(%rcx)