forked from mkrautz/objc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcall_amd64.S
More file actions
43 lines (36 loc) · 783 Bytes
/
Copy pathcall_amd64.S
File metadata and controls
43 lines (36 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Copyright (c) 2012 The 'objc' Package Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
.globl _GoObjc_CallTargetFrameSetup
// uintptr GoObjc_CallTargetFrameSetup()
_GoObjc_CallTargetFrameSetup:
pushq %rbp
movq %rsp, %rbp
subq $8, %rsp
movsd %xmm7, (%rsp)
subq $8, %rsp
movsd %xmm6, (%rsp)
subq $8, %rsp
movsd %xmm5, (%rsp)
subq $8, %rsp
movsd %xmm4, (%rsp)
subq $8, %rsp
movsd %xmm3, (%rsp)
subq $8, %rsp
movsd %xmm2, (%rsp)
subq $8, %rsp
movsd %xmm1, (%rsp)
subq $8, %rsp
movsd %xmm0, (%rsp)
pushq %r9
pushq %r8
pushq %rcx
pushq %rdx
pushq %rsi
pushq %rdi
movq %rsp, %rdi
callq _goMethodCallEntryPoint
movsd 48(%rsp), %xmm0
movq %rbp, %rsp
popq %rbp
retq