OSDN Git Service

* gcc.target/x86_64/abi/avx/asm-support.S (snapshot_ret): Preserve
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jan 2010 18:58:44 +0000 (18:58 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jan 2010 18:58:44 +0000 (18:58 +0000)
stack alignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155814 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support.S

index eeee601..a910ad3 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-11  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/x86_64/abi/avx/asm-support.S (snapshot_ret): Preserve
+       stack alignment.
+
 2010-01-10  Rafael Avila de Espindola  <espindola@google.com>
 
        * gcc.dg/lto/20100108_0.c: New.
index 96c1c05..a4d002e 100644 (file)
@@ -46,7 +46,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)
        vmovdqu %ymm0, ymm_regs+0(%rip)