Mon Jun 12 13:33:39 PDT 2000 Michael Jennings <mej@eterm.org>
Fixes from Willem Monsuwe <willem@stack.nl> to his MMX routines. SVN revision: 2778
This commit is contained in:
parent
63475cb86c
commit
1130cf37f8
|
@ -3674,3 +3674,8 @@ Sat Jun 10 11:38:36 PDT 2000 Michael Jennings <mej@eterm.org>
|
||||||
Some terminfo fixes, also from Marius Gedminas <mgedmin@takas.lt>.
|
Some terminfo fixes, also from Marius Gedminas <mgedmin@takas.lt>.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
Mon Jun 12 13:33:39 PDT 2000 Michael Jennings <mej@eterm.org>
|
||||||
|
|
||||||
|
Fixes from Willem Monsuwe <willem@stack.nl> to his MMX routines.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
|
@ -129,7 +129,7 @@ shade_ximage_15_mmx:
|
||||||
|
|
||||||
addl $4, %ecx
|
addl $4, %ecx
|
||||||
js 2b
|
js 2b
|
||||||
jz 4f
|
jmp 4f
|
||||||
3:
|
3:
|
||||||
movw (%esi, %ecx, 2), %ax
|
movw (%esi, %ecx, 2), %ax
|
||||||
movd %eax, %mm0
|
movd %eax, %mm0
|
||||||
|
@ -157,9 +157,10 @@ shade_ximage_15_mmx:
|
||||||
movw %ax, (%esi, %ecx, 2)
|
movw %ax, (%esi, %ecx, 2)
|
||||||
|
|
||||||
incl %ecx
|
incl %ecx
|
||||||
|
4:
|
||||||
cmpl $2, %ecx
|
cmpl $2, %ecx
|
||||||
jng 3b
|
jng 3b
|
||||||
4:
|
|
||||||
addl bpl, %esi
|
addl bpl, %esi
|
||||||
decl %edx
|
decl %edx
|
||||||
jnz 1b
|
jnz 1b
|
||||||
|
@ -209,7 +210,7 @@ shade_ximage_15_mmx_saturate:
|
||||||
|
|
||||||
addl $4, %ecx
|
addl $4, %ecx
|
||||||
js 2b
|
js 2b
|
||||||
jz 4f
|
jmp 4f
|
||||||
3:
|
3:
|
||||||
movw (%esi, %ecx, 2), %ax
|
movw (%esi, %ecx, 2), %ax
|
||||||
movd %eax, %mm0
|
movd %eax, %mm0
|
||||||
|
@ -245,9 +246,10 @@ shade_ximage_15_mmx_saturate:
|
||||||
movw %ax, (%esi, %ecx, 2)
|
movw %ax, (%esi, %ecx, 2)
|
||||||
|
|
||||||
incl %ecx
|
incl %ecx
|
||||||
|
4:
|
||||||
cmpl $2, %ecx
|
cmpl $2, %ecx
|
||||||
jng 3b
|
jng 3b
|
||||||
4:
|
|
||||||
addl bpl, %esi
|
addl bpl, %esi
|
||||||
decl %edx
|
decl %edx
|
||||||
jnz 1b
|
jnz 1b
|
||||||
|
@ -309,7 +311,7 @@ shade_ximage_16_mmx:
|
||||||
|
|
||||||
addl $4, %ecx
|
addl $4, %ecx
|
||||||
js 2b
|
js 2b
|
||||||
jz 4f
|
jmp 4f
|
||||||
3:
|
3:
|
||||||
movw (%esi, %ecx, 2), %ax
|
movw (%esi, %ecx, 2), %ax
|
||||||
movd %eax, %mm0
|
movd %eax, %mm0
|
||||||
|
@ -337,9 +339,10 @@ shade_ximage_16_mmx:
|
||||||
movw %ax, (%esi, %ecx, 2)
|
movw %ax, (%esi, %ecx, 2)
|
||||||
|
|
||||||
incl %ecx
|
incl %ecx
|
||||||
|
4:
|
||||||
cmpl $2, %ecx
|
cmpl $2, %ecx
|
||||||
jng 3b
|
jng 3b
|
||||||
4:
|
|
||||||
addl bpl, %esi
|
addl bpl, %esi
|
||||||
decl %edx
|
decl %edx
|
||||||
jnz 1b
|
jnz 1b
|
||||||
|
@ -391,7 +394,7 @@ shade_ximage_16_mmx_saturate:
|
||||||
|
|
||||||
addl $4, %ecx
|
addl $4, %ecx
|
||||||
js 2b
|
js 2b
|
||||||
jz 4f
|
jmp 4f
|
||||||
3:
|
3:
|
||||||
movw (%esi, %ecx, 2), %ax
|
movw (%esi, %ecx, 2), %ax
|
||||||
movd %eax, %mm0
|
movd %eax, %mm0
|
||||||
|
@ -427,9 +430,10 @@ shade_ximage_16_mmx_saturate:
|
||||||
movw %ax, (%esi, %ecx, 2)
|
movw %ax, (%esi, %ecx, 2)
|
||||||
|
|
||||||
incl %ecx
|
incl %ecx
|
||||||
|
4:
|
||||||
cmpl $2, %ecx
|
cmpl $2, %ecx
|
||||||
jng 3b
|
jng 3b
|
||||||
4:
|
|
||||||
addl bpl, %esi
|
addl bpl, %esi
|
||||||
decl %edx
|
decl %edx
|
||||||
jnz 1b
|
jnz 1b
|
||||||
|
|
Loading…
Reference in New Issue