re PR testsuite/41288 (gcc.target/x86_64/abi/test_struct_returning.c regressions on *-apple-darwin* at -m64)

PR testsuite/41288
	* gcc.target/x86_64/abi/asm-support-darwin.s (snapshot_ret): Preserve
	stack alignment.

From-SVN: r151858
This commit is contained in:
Jack Howarth 2009-09-18 17:11:57 +00:00 committed by Uros Bizjak
parent 9c329a08be
commit 9e3b62fa8d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2009-09-18 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/41288
* gcc.target/x86_64/abi/asm-support-darwin.s (snapshot_ret): Preserve
stack alignment.
2009-09-18 Janis Johnson <janis187@us.ibm.com>
PR c/41049

View File

@ -42,7 +42,9 @@ _snapshot:
.globl _snapshot_ret
_snapshot_ret:
movq %rdi, _rdi(%rip)
subq $8, %rsp
call *_callthis(%rip)
addq $8, %rsp
movq %rax, _rax(%rip)
movq %rdx, _rdx(%rip)
movdqu %xmm0, _xmm_regs+0(%rip)