------- Comment #7 from howarth at nitro dot med dot uc dot edu  2009-09-08 
03:12 -------
The diff between the test_struct_returning.c test case as compiled with -O3
-fomit-frame-pointer under r147824 vs r147829 is...

--- r147824     2009-09-07 23:11:08.000000000 -0400
+++ r147829     2009-09-07 23:10:45.000000000 -0400
@@ -73,13 +73,10 @@
 .globl _f_600
 _f_600:
 LFB573:
-       movl    $0x42280000, %eax
-       movl    %eax, -24(%rsp)
-       movl    %eax, -20(%rsp)
-       movl    %eax, -16(%rsp)
-       movl    %eax, -12(%rsp)
+       movaps  LC4(%rip), %xmm0
+       movaps  %xmm0, -24(%rsp)
+       movq    LC5(%rip), %xmm0
        movq    -16(%rsp), %xmm1
-       movq    -24(%rsp), %xmm0
        ret
 LFE573:
        .align 4,0x90
@@ -365,7 +362,7 @@
 .globl _f_101
 _f_101:
 LFB536:
-       movsd   LC4(%rip), %xmm0
+       movsd   LC6(%rip), %xmm0
        ret
 LFE536:
        .align 4,0x90
@@ -495,7 +492,7 @@
        ret
 LFE521:
        .cstring
-LC7:
+LC9:
        .ascii "failed in test %d\12\0"
        .text
        .align 4,0x90
@@ -541,7 +538,7 @@
        .align 4,0x90
 L52:
        movq    ___stde...@gotpcrel(%rip), %rax
-       leaq    LC7(%rip), %rsi
+       leaq    LC9(%rip), %rsi
        movq    (%rax), %rdi
        xorl    %eax, %eax
        call    _fprintf
@@ -645,7 +642,7 @@
        je      L92
 L91:
        movq    ___stde...@gotpcrel(%rip), %rax
-       leaq    LC7(%rip), %rsi
+       leaq    LC9(%rip), %rsi
        movq    (%rax), %rdi
        xorl    %eax, %eax
        call    _fprintf
@@ -670,7 +667,7 @@
        .align 4,0x90
 L92:
        movq    _xmm_r...@gotpcrel(%rip), %rax
-       movsd   LC4(%rip), %xmm0
+       movsd   LC6(%rip), %xmm0
        ucomisd (%rax), %xmm0
        jne     L87
        jp      L87
@@ -719,7 +716,7 @@
 LCFI6:
        movq    %r15, -8(%rsp)
 LCFI7:
-# 172
"/sw/src/fink.build/gcc45-4.4.999-20090523/gcc-4.5-20090523/gcc/testsuite/gcc.target/x86_64/abi/test_struct_returning.c"
1
+# 172
"/sw/src/fink.build/gcc45-4.4.999-20090524/gcc-4.5-20090524/gcc/testsuite/gcc.target/x86_64/abi/test_struct_returning.c"
1
        xor %rax, %rax
        xor %rbx, %rbx
        xor %rcx, %rcx
@@ -823,7 +820,7 @@
        .align 4,0x90
 L133:
        movq    ___stde...@gotpcrel(%rip), %rax
-       leaq    LC7(%rip), %rsi
+       leaq    LC9(%rip), %rsi
        movq    (%rax), %rdi
        xorl    %eax, %eax
        call    _fprintf
@@ -883,7 +880,7 @@
        .align 4,0x90
 L99:
        movq    _xmm_r...@gotpcrel(%rip), %rax
-       movsd   LC4(%rip), %xmm0
+       movsd   LC6(%rip), %xmm0
        ucomisd (%rax), %xmm0
        jp      L119
        je      L138
@@ -930,7 +927,7 @@
        .align 4,0x90
 L139:
        movq    _xmm_r...@gotpcrel(%rip), %rax
-       movsd   LC4(%rip), %xmm0
+       movsd   LC6(%rip), %xmm0
        ucomisd (%rax), %xmm0
        jne     L117
        jp      L117
@@ -1927,8 +1924,8 @@
 .comm _fregs,448,5
 .comm _num_iregs,4,2
 .comm _num_fregs,4,2
-.comm _current_test,4,2
-.comm _struct_addr,8,3
+.comm _current_test,4,4
+.comm _struct_addr,8,4
        .literal4
        .align 2
 LC0:
@@ -1941,8 +1938,19 @@
 LC3:
        .long   0
        .long   1078296576
-       .align 3
+       .literal16
+       .align 4
 LC4:
+       .long   1109917696
+       .long   1109917696
+       .long   1109917696
+       .long   1109917696
+       .literal8
+       .align 3
+LC5:
+       .quad   4767060206681587712
+       .align 3
+LC6:
        .long   0
        .long   1078263808
        .section
__TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41288

Reply via email to