--- src/mmx_cmod.S 2004-01-11 23:13:02.000000000 +0100 +++ /home/roland/mmx_cmod.S 2005-03-08 16:09:01.000000000 +0100 @@ -51,13 +51,13 @@ .align 8 #define ENTER \ - pushl %ebp ;\ - movl %esp, %ebp ;\ - pushl %ebx ;\ - pushl %ecx ;\ - pushl %edx ;\ - pushl %edi ;\ - pushl %esi ;\ + pushq %rbp ;\ + movq %rsp, %rbp ;\ + pushq %rbx ;\ + pushq %rcx ;\ + pushq %rdx ;\ + pushq %rdi ;\ + pushq %rsi ;\ movl data, %esi ;\ movl w, %ebx ;\ movl h, %edx @@ -65,13 +65,13 @@ #define LEAVE \ 4: ;\ emms ;\ - popl %esi ;\ - popl %edi ;\ - popl %edx ;\ - popl %ecx ;\ - popl %ebx ;\ - movl %ebp, %esp ;\ - popl %ebp ;\ + popq %rsi ;\ + popq %rdi ;\ + popq %rdx ;\ + popq %rcx ;\ + popq %rbx ;\ + movq %rbp, %rsp ;\ + popq %rbp ;\ ret