1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 ; This program and the accompanying materials
5 ; are licensed and made available under the terms and conditions of the BSD License
6 ; which accompanies this distribution. The full text of the license may be found at
7 ; http://opensource.org/licenses/bsd-license.php.
9 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 ; Implementation of SetJump() on x64.
20 ;------------------------------------------------------------------------------
25 extern ASM_PFX(InternalAssertJumpBuffer)
27 ;------------------------------------------------------------------------------
31 ; OUT BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
33 ;------------------------------------------------------------------------------
34 global ASM_PFX(SetJump)
38 call ASM_PFX(InternalAssertJumpBuffer)
52 ; save non-volatile fp registers
54 movdqu [rcx + 0x58], xmm6
55 movdqu [rcx + 0x68], xmm7
56 movdqu [rcx + 0x78], xmm8
57 movdqu [rcx + 0x88], xmm9
58 movdqu [rcx + 0x98], xmm10
59 movdqu [rcx + 0xA8], xmm11
60 movdqu [rcx + 0xB8], xmm12
61 movdqu [rcx + 0xC8], xmm13
62 movdqu [rcx + 0xD8], xmm14
63 movdqu [rcx + 0xE8], xmm15