Skip to content

Commit 642d1e4

Browse files
committed
---
yaml --- r: 56227 b: refs/heads/auto c: 2a86485 h: refs/heads/master i: 56225: 7187dc1 56223: 9c49d35 v: v3
1 parent 652ba2d commit 642d1e4

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
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: b329f2fa82185c9e7c6bbbdf26270dd839618e9c
17+
refs/heads/auto: 2a864852774e924f1f9bb68da34adca736211545
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/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)