Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 292519 | Differences between
and this patch

Collapse All | Expand All

(-)build/ooo310-m19/bridges/source/cpp_uno/gcc3_linux_intel/call.s (+5 lines)
Lines 10-15 privateSnippetExecutorGeneral: Link Here
10
    movl    %esp,%ebp
10
    movl    %esp,%ebp
11
.LCFIg1:
11
.LCFIg1:
12
    subl    $0x4,%esp         # 32bit returnValue
12
    subl    $0x4,%esp         # 32bit returnValue
13
    andl    $0xfffffff0,%esp  # 128-bit alignment
13
    pushl   %esp              # 32bit &returnValue
14
    pushl   %esp              # 32bit &returnValue
14
    pushl   %ecx              # 32bit pCallStack
15
    pushl   %ecx              # 32bit pCallStack
15
    pushl   %edx              # 32bit nVtableOffset
16
    pushl   %edx              # 32bit nVtableOffset
Lines 50-55 privateSnippetExecutorHyper: Link Here
50
    movl    %esp,%ebp
51
    movl    %esp,%ebp
51
.LCFIh1:
52
.LCFIh1:
52
    subl    $0x8,%esp         # 64bit returnValue
53
    subl    $0x8,%esp         # 64bit returnValue
54
    andl    $0xfffffff0,%esp  # 128-bit alignment
53
    pushl   %esp              # 32bit &returnValue
55
    pushl   %esp              # 32bit &returnValue
54
    pushl   %ecx              # 32bit pCallStack
56
    pushl   %ecx              # 32bit pCallStack
55
    pushl   %edx              # 32bit nVtableOffset
57
    pushl   %edx              # 32bit nVtableOffset
Lines 72-77 privateSnippetExecutorFloat: Link Here
72
    movl    %esp,%ebp
74
    movl    %esp,%ebp
73
.LCFIf1:
75
.LCFIf1:
74
    subl    $0x4,%esp         # 32bit returnValue
76
    subl    $0x4,%esp         # 32bit returnValue
77
    andl    $0xfffffff0,%esp  # 128-bit alignment
75
    pushl   %esp              # 32bit &returnValue
78
    pushl   %esp              # 32bit &returnValue
76
    pushl   %ecx              # 32bit pCallStack
79
    pushl   %ecx              # 32bit pCallStack
77
    pushl   %edx              # 32bit nVtableOffset
80
    pushl   %edx              # 32bit nVtableOffset
Lines 93-98 privateSnippetExecutorDouble: Link Here
93
    movl    %esp,%ebp
96
    movl    %esp,%ebp
94
.LCFId1:
97
.LCFId1:
95
    subl    $0x8,%esp         # 64bit returnValue
98
    subl    $0x8,%esp         # 64bit returnValue
99
    andl    $0xfffffff0,%esp  # 128-bit alignment
96
    pushl   %esp              # 32bit &returnValue
100
    pushl   %esp              # 32bit &returnValue
97
    pushl   %ecx              # 32bit pCallStack
101
    pushl   %ecx              # 32bit pCallStack
98
    pushl   %edx              # 32bit nVtableOffset
102
    pushl   %edx              # 32bit nVtableOffset
Lines 114-119 privateSnippetExecutorClass: Link Here
114
    movl    %esp,%ebp
118
    movl    %esp,%ebp
115
.LCFIc1:
119
.LCFIc1:
116
    subl    $0x4,%esp         # 32bit returnValue
120
    subl    $0x4,%esp         # 32bit returnValue
121
    andl    $0xfffffff0,%esp  # 128-bit alignment
117
    pushl   %esp              # 32bit &returnValue
122
    pushl   %esp              # 32bit &returnValue
118
    pushl   %ecx              # 32bit pCallStack
123
    pushl   %ecx              # 32bit pCallStack
119
    pushl   %edx              # 32bit nVtableOffset
124
    pushl   %edx              # 32bit nVtableOffset
(-)build/ooo310-m19/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx (+7 lines)
Lines 87-92 void callVirtualMethod( Link Here
87
    void * stackptr;
87
    void * stackptr;
88
	asm volatile (
88
	asm volatile (
89
        "mov   %%esp, %6\n\t"
89
        "mov   %%esp, %6\n\t"
90
        // align stack to 128 bits
91
        "and   $0xfffffff0, %%esp\n\t"
92
        "mov   %0, %%eax\n\t"
93
        "lea   -4(,%%eax,4), %%eax\n\t"
94
        "and   $0xf, %%eax\n\t"
95
        "sub   $0xc, %%eax\n\t"
96
        "add   %%eax, %%esp\n\t"
90
		// copy values
97
		// copy values
91
		"mov   %0, %%eax\n\t"
98
		"mov   %0, %%eax\n\t"
92
		"mov   %%eax, %%edx\n\t"
99
		"mov   %%eax, %%edx\n\t"

Return to bug 292519