Text file
src/runtime/preempt_amd64.s
1 // Code generated by mkpreempt.go; DO NOT EDIT.
2
3 #include "go_asm.h"
4 #include "asm_amd64.h"
5 #include "textflag.h"
6
7 TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
8 PUSHQ BP
9 MOVQ SP, BP
10 // Save flags before clobbering them
11 PUSHFQ
12 // obj doesn't understand ADD/SUB on SP, but does understand ADJSP
13 ADJSP $368
14 // But vet doesn't know ADJSP, so suppress vet stack checking
15 NOP SP
16 MOVQ AX, 0(SP)
17 MOVQ CX, 8(SP)
18 MOVQ DX, 16(SP)
19 MOVQ BX, 24(SP)
20 MOVQ SI, 32(SP)
21 MOVQ DI, 40(SP)
22 MOVQ R8, 48(SP)
23 MOVQ R9, 56(SP)
24 MOVQ R10, 64(SP)
25 MOVQ R11, 72(SP)
26 MOVQ R12, 80(SP)
27 MOVQ R13, 88(SP)
28 MOVQ R14, 96(SP)
29 MOVQ R15, 104(SP)
30 MOVUPS X0, 112(SP)
31 MOVUPS X1, 128(SP)
32 MOVUPS X2, 144(SP)
33 MOVUPS X3, 160(SP)
34 MOVUPS X4, 176(SP)
35 MOVUPS X5, 192(SP)
36 MOVUPS X6, 208(SP)
37 MOVUPS X7, 224(SP)
38 MOVUPS X8, 240(SP)
39 MOVUPS X9, 256(SP)
40 MOVUPS X10, 272(SP)
41 MOVUPS X11, 288(SP)
42 MOVUPS X12, 304(SP)
43 MOVUPS X13, 320(SP)
44 MOVUPS X14, 336(SP)
45 MOVUPS X15, 352(SP)
46 CALL ·asyncPreempt2(SB)
47 MOVUPS 352(SP), X15
48 MOVUPS 336(SP), X14
49 MOVUPS 320(SP), X13
50 MOVUPS 304(SP), X12
51 MOVUPS 288(SP), X11
52 MOVUPS 272(SP), X10
53 MOVUPS 256(SP), X9
54 MOVUPS 240(SP), X8
55 MOVUPS 224(SP), X7
56 MOVUPS 208(SP), X6
57 MOVUPS 192(SP), X5
58 MOVUPS 176(SP), X4
59 MOVUPS 160(SP), X3
60 MOVUPS 144(SP), X2
61 MOVUPS 128(SP), X1
62 MOVUPS 112(SP), X0
63 MOVQ 104(SP), R15
64 MOVQ 96(SP), R14
65 MOVQ 88(SP), R13
66 MOVQ 80(SP), R12
67 MOVQ 72(SP), R11
68 MOVQ 64(SP), R10
69 MOVQ 56(SP), R9
70 MOVQ 48(SP), R8
71 MOVQ 40(SP), DI
72 MOVQ 32(SP), SI
73 MOVQ 24(SP), BX
74 MOVQ 16(SP), DX
75 MOVQ 8(SP), CX
76 MOVQ 0(SP), AX
77 ADJSP $-368
78 POPFQ
79 POPQ BP
80 RET
81
View as plain text