Fixed jumps.

This commit is contained in:
n-a-c-h
2004-12-10 08:11:05 +00:00
parent 9ae1b814d3
commit ca7fab0efc
2 changed files with 8 additions and 8 deletions

View File

@@ -569,7 +569,7 @@ hq2x:
pand mm2,mm4 pand mm2,mm4
movd eax,mm2 movd eax,mm2
inc eax inc eax
jz .loopx_end jz near .loopx_end
movd eax,mm5 movd eax,mm5
movzx edx,ax movzx edx,ax
mov [w1],edx mov [w1],edx
@@ -610,7 +610,7 @@ hq2x:
cwde cwde
and eax,ebx and eax,ebx
inc eax inc eax
jz .loopx_end jz near .loopx_end
movd eax,mm5 movd eax,mm5
mov [edx+ecx-2],ax mov [edx+ecx-2],ax
movzx edx,ax movzx edx,ax
@@ -1895,7 +1895,7 @@ hq2x:
jmp .loopx jmp .loopx
.xres_2 .xres_2
; x=Xres-2 - special case ; x=Xres-2 - special case
jl .xres_1 jl near .xres_1
mov edx,[deltaptr] mov edx,[deltaptr]
mov ecx,[prevline] mov ecx,[prevline]
mov eax,[nextline] mov eax,[nextline]
@@ -1949,7 +1949,7 @@ hq2x:
jmp .flags jmp .flags
.xres_1 .xres_1
cmp dword[xcounter],-1 cmp dword[xcounter],-1
jl .endofline jl near .endofline
; x=Xres-1 - special case ; x=Xres-1 - special case
mov edx,[deltaptr] mov edx,[deltaptr]
mov ecx,[prevline] mov ecx,[prevline]

View File

@@ -502,7 +502,7 @@ hq2x:
pand mm2,mm4 pand mm2,mm4
movd eax,mm2 movd eax,mm2
inc eax inc eax
jz .loopx_end jz near .loopx_end
movd eax,mm5 movd eax,mm5
movzx edx,ax movzx edx,ax
mov [w1],edx mov [w1],edx
@@ -543,7 +543,7 @@ hq2x:
cwde cwde
and eax,ebx and eax,ebx
inc eax inc eax
jz .loopx_end jz near .loopx_end
movd eax,mm5 movd eax,mm5
mov [edx+ecx-2],ax mov [edx+ecx-2],ax
movzx edx,ax movzx edx,ax
@@ -1878,7 +1878,7 @@ hq2x:
jmp .loopx jmp .loopx
.xres_2 .xres_2
; x=Xres-2 - special case ; x=Xres-2 - special case
jl .xres_1 jl near .xres_1
mov edx,[deltaptr] mov edx,[deltaptr]
mov ecx,[prevline] mov ecx,[prevline]
mov eax,[nextline] mov eax,[nextline]
@@ -1932,7 +1932,7 @@ hq2x:
jmp .flags jmp .flags
.xres_1 .xres_1
cmp dword[xcounter],-1 cmp dword[xcounter],-1
jl .endofline jl near .endofline
; x=Xres-1 - special case ; x=Xres-1 - special case
mov edx,[deltaptr] mov edx,[deltaptr]
mov ecx,[prevline] mov ecx,[prevline]