Skip to content

Commit 532e0b9

Browse files
committed
---
yaml --- r: 56989 b: refs/heads/try c: 2a86485 h: refs/heads/master i: 56987: ddac6a1 v: v3
1 parent 57b3e0e commit 532e0b9

File tree

2 files changed

+4
-20
lines changed

2 files changed

+4
-20
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: c081ffbd1e845687202a975ea2e698b623e5722f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
5-
refs/heads/try: b329f2fa82185c9e7c6bbbdf26270dd839618e9c
5+
refs/heads/try: 2a864852774e924f1f9bb68da34adca736211545
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/rt/arch/x86_64/morestack.S

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ MORESTACK:
5454
// Calculate the CFA as on offset from %ebp
5555
.cfi_def_cfa_register %rbp
5656

57-
subq $184, %rsp
57+
subq $56, %rsp
5858

5959
// Save argument registers of the original function
6060
movq %rdi, (%rsp)
@@ -63,14 +63,6 @@ MORESTACK:
6363
movq %rcx, 24(%rsp)
6464
movq %r8, 32(%rsp)
6565
movq %r9, 40(%rsp)
66-
movdqa %xmm0, 48(%rsp)
67-
movdqa %xmm1, 64(%rsp)
68-
movdqa %xmm2, 80(%rsp)
69-
movdqa %xmm3, 96(%rsp)
70-
movdqa %xmm4, 112(%rsp)
71-
movdqa %xmm5, 128(%rsp)
72-
movdqa %xmm6, 144(%rsp)
73-
movdqa %xmm7, 160(%rsp)
7466

7567
// Calculate the address of the stack arguments.
7668
// We have the base pointer, __morestack's return address,
@@ -101,16 +93,8 @@ MORESTACK:
10193
movq 24(%rsp), %rcx
10294
movq 32(%rsp), %r8
10395
movq 40(%rsp), %r9
104-
movdqa 48(%rsp), %xmm0
105-
movdqa 64(%rsp), %xmm1
106-
movdqa 80(%rsp), %xmm2
107-
movdqa 96(%rsp), %xmm3
108-
movdqa 112(%rsp), %xmm4
109-
movdqa 128(%rsp), %xmm5
110-
movdqa 144(%rsp), %xmm6
111-
movdqa 160(%rsp), %xmm7
112-
113-
addq $184, %rsp
96+
97+
addq $56, %rsp
11498

11599
movq 8(%rbp),%r10 // Grab the return pointer.
116100
incq %r10 // Skip past the `ret` in our parent frame

0 commit comments

Comments
 (0)