[svn] / trunk / xvidcore / src / image / x86_asm / gmc_mmx.asm Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/image/x86_asm/gmc_mmx.asm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1833, Mon Dec 1 14:45:46 2008 UTC revision 1883, Tue Mar 9 10:00:30 2010 UTC
# Line 4  Line 4 
4  ; *  - GMC core functions -  ; *  - GMC core functions -
5  ; *  Copyright(C) 2006 Pascal Massimino <skal@planet-d.net>  ; *  Copyright(C) 2006 Pascal Massimino <skal@planet-d.net>
6  ; *  ; *
7  ; *  This file is part of XviD, a free MPEG-4 video encoder/decoder  ; *  This file is part of Xvid, a free MPEG-4 video encoder/decoder
8  ; *  ; *
9  ; *  XviD is free software; you can redistribute it and/or modify it  ; *  Xvid is free software; you can redistribute it and/or modify it
10  ; *  under the terms of the GNU General Public License as published by  ; *  under the terms of the GNU General Public License as published by
11  ; *  the Free Software Foundation; either version 2 of the License, or  ; *  the Free Software Foundation; either version 2 of the License, or
12  ; *  (at your option) any later version.  ; *  (at your option) any later version.
# Line 20  Line 20 
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: gmc_mmx.asm,v 1.8 2008-12-01 14:45:45 Isibaar Exp $  ; * $Id: gmc_mmx.asm,v 1.12 2010-03-09 10:00:14 Isibaar Exp $
24  ; *  ; *
25  ; *************************************************************************/  ; *************************************************************************/
26    
# Line 48  Line 48 
48  Cst16:  Cst16:
49  times 8 dw 16  times 8 dw 16
50    
51  SECTION .rotext align=SECTION_ALIGN  TEXT
52    
53  ;//////////////////////////////////////////////////////////////////////  ;//////////////////////////////////////////////////////////////////////
54  ;// mmx version  ;// mmx version
# Line 200  Line 200 
200    
201  align SECTION_ALIGN  align SECTION_ALIGN
202  xvid_GMC_Core_Lin_8_sse41:  xvid_GMC_Core_Lin_8_sse41:
   PUSH_XMM6_XMM7  
   
203    mov  _EAX, prm2  ; Offsets    mov  _EAX, prm2  ; Offsets
204    mov  TMP0, prm3  ; Src0    mov  TMP0, prm3  ; Src0
205    mov  TMP1, prm4  ; BpS    mov  TMP1, prm4  ; BpS
# Line 218  Line 216 
216    packuswb xmm5, xmm5    packuswb xmm5, xmm5
217    movq [_EAX], xmm5    movq [_EAX], xmm5
218    
   POP_XMM6_XMM7  
219    ret    ret
220  ENDFUNC  ENDFUNC
221    
222  ;//////////////////////////////////////////////////////////////////////  ;//////////////////////////////////////////////////////////////////////
223    NON_EXEC_STACK
 %ifidn __OUTPUT_FORMAT__,elf  
 section ".note.GNU-stack" noalloc noexec nowrite progbits  
 %endif  

Legend:
Removed from v.1833  
changed lines
  Added in v.1883

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4