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

Collapse All | Expand All

(-)src/mmx_cmod.S (-14 / +14 lines)
Lines 51-63 Link Here
51
.align 8
51
.align 8
52
52
53
#define ENTER                   \
53
#define ENTER                   \
54
        pushl %ebp              ;\
54
        pushq %rbp              ;\
55
        movl %esp, %ebp         ;\
55
        movq %rsp, %rbp         ;\
56
        pushl %ebx              ;\
56
        pushq %rbx              ;\
57
        pushl %ecx              ;\
57
        pushq %rcx              ;\
58
        pushl %edx              ;\
58
        pushq %rdx              ;\
59
        pushl %edi              ;\
59
        pushq %rdi              ;\
60
        pushl %esi              ;\
60
        pushq %rsi              ;\
61
        movl data, %esi         ;\
61
        movl data, %esi         ;\
62
        movl w, %ebx            ;\
62
        movl w, %ebx            ;\
63
        movl h, %edx
63
        movl h, %edx
Lines 65-77 Link Here
65
#define LEAVE                   \
65
#define LEAVE                   \
66
4:                              ;\
66
4:                              ;\
67
        emms                    ;\
67
        emms                    ;\
68
        popl %esi               ;\
68
        popq %rsi               ;\
69
        popl %edi               ;\
69
        popq %rdi               ;\
70
        popl %edx               ;\
70
        popq %rdx               ;\
71
        popl %ecx               ;\
71
        popq %rcx               ;\
72
        popl %ebx               ;\
72
        popq %rbx               ;\
73
        movl %ebp, %esp         ;\
73
        movq %rbp, %rsp         ;\
74
        popl %ebp               ;\
74
        popq %rbp               ;\
75
        ret
75
        ret
76
76
77
77

Return to bug 84520