20 |
; * along with this program ; if not, write to the Free Software |
; * along with this program ; if not, write to the Free Software |
21 |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
; * |
; * |
23 |
; * $Id: quantize_mpeg_xmm.asm,v 1.4 2004-08-22 11:46:10 edgomez Exp $ |
; * $Id: quantize_mpeg_xmm.asm,v 1.5 2004-08-29 10:02:38 edgomez Exp $ |
24 |
; * |
; * |
25 |
; ***************************************************************************/ |
; ***************************************************************************/ |
26 |
|
|
34 |
%macro cglobal 1 |
%macro cglobal 1 |
35 |
%ifdef PREFIX |
%ifdef PREFIX |
36 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
37 |
global _%1:function |
global _%1:function %1.endfunc-%1 |
38 |
%define %1 _%1:function |
%define %1 _%1:function %1.endfunc-%1 |
39 |
%else |
%else |
40 |
global _%1 |
global _%1 |
41 |
%define %1 _%1 |
%define %1 _%1 |
42 |
%endif |
%endif |
43 |
%else |
%else |
44 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
45 |
global %1:function |
global %1:function %1.endfunc-%1 |
46 |
%else |
%else |
47 |
global %1 |
global %1 |
48 |
%endif |
%endif |
378 |
add esi,byte 2 |
add esi,byte 2 |
379 |
jng near .lloop |
jng near .lloop |
380 |
jmp near .done |
jmp near .done |
381 |
|
.endfunc |
382 |
|
|
383 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
384 |
; |
; |
578 |
movq [edx + 8*esi +120-16], mm7 |
movq [edx + 8*esi +120-16], mm7 |
579 |
jng near .lloop |
jng near .lloop |
580 |
jmp near .done |
jmp near .done |
581 |
|
.endfunc |
582 |
|
|
583 |
|
|
584 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
698 |
|
|
699 |
xor eax, eax |
xor eax, eax |
700 |
ret |
ret |
701 |
|
.endfunc |
702 |
|
|
703 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
704 |
; |
; |
813 |
|
|
814 |
xor eax, eax |
xor eax, eax |
815 |
ret |
ret |
816 |
|
.endfunc |
817 |
|
|