summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-18 16:53:25 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-18 16:53:25 +0000
commit1e02c57fe2e087c11f717a13831b975d7fd51517 (patch)
treee9e5a6f51a2032441407de43d27c571f9c214d44 /gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
parent9b306a11d1d55f701064b8f3a9420a0998e850aa (diff)
downloadgcc-1e02c57fe2e087c11f717a13831b975d7fd51517.tar.gz
2009-05-18 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/39907 * gcc.target/x86_64/abi/asm-support.S (snapshot_ret): Preserve stack alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/x86_64/abi/asm-support.S')
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/asm-support.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S b/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
index 61b66e1490a..cb1e31ea785 100644
--- a/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
+++ b/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
@@ -49,7 +49,9 @@ snapshot:
.type snapshot_ret, @function
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)