[svn] / trunk / xvidcore / src / utils / x86_asm / cpuid.asm Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/utils/x86_asm/cpuid.asm

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

revision 850, Sat Feb 15 08:39:17 2003 UTC revision 851, Sat Feb 15 15:22:19 2003 UTC
# Line 1  Line 1 
1  ;/******************************************************************************  ;/******************************************************************************
2  ; *  ; *                                                                            *
3  ; *  Copyright (C) 2001 - Michael Militzer <isibaar@xvid.org>  ; *  This file is part of XviD, a free MPEG-4 video encoder/decoder            *
4  ; *  ; *                                                                            *
5  ; *  This file is part of XviD, a free MPEG-4 video encoder/decoder  ; *  XviD is an implementation of a part of one or more MPEG-4 Video tools     *
6  ; *  ; *  as specified in ISO/IEC 14496-2 standard.  Those intending to use this    *
7  ; *  XviD is free software; you can redistribute it and/or modify it  ; *  software module in hardware or software products are advised that its     *
8  ; *  under the terms of the GNU General Public License as published by  ; *  use may infringe existing patents or copyrights, and any such use         *
9  ; *  the Free Software Foundation; either version 2 of the License, or  ; *  would be at such party's own risk.  The original developer of this        *
10  ; *  (at your option) any later version.  ; *  software module and his/her company, and subsequent editors and their     *
11  ; *  ; *  companies, will have no liability for use of this software or             *
12  ; *  This program is distributed in the hope that it will be useful,  ; *  modifications or derivatives thereof.                                     *
13  ; *  but WITHOUT ANY WARRANTY; without even the implied warranty of  ; *                                                                            *
14  ; *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  ; *  XviD is free software; you can redistribute it and/or modify it           *
15  ; *  GNU General Public License for more details.  ; *  under the terms of the GNU General Public License as published by         *
16  ; *  ; *  the Free Software Foundation; either version 2 of the License, or         *
17  ; *  You should have received a copy of the GNU General Public License  ; *  (at your option) any later version.                                       *
18  ; *  along with this program; if not, write to the Free Software  ; *                                                                            *
19  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  ; *  XviD is distributed in the hope that it will be useful, but               *
20  ; *  ; *  WITHOUT ANY WARRANTY; without even the implied warranty of                *
21  ; *  Under section 8 of the GNU General Public License, the copyright  ; *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             *
22  ; *  holders of XVID explicitly forbid distribution in the following  ; *  GNU General Public License for more details.                              *
23  ; *  countries:  ; *                                                                            *
24  ; *  ; *  You should have received a copy of the GNU General Public License         *
25  ; *    - Japan  ; *  along with this program; if not, write to the Free Software               *
26  ; *    - United States of America  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  *
27  ; *  ; *                                                                            *
28  ; *  Linking XviD statically or dynamically with other modules is making a  ; ******************************************************************************/
29  ; *  combined work based on XviD.  Thus, the terms and conditions of the  ;
30  ; *  GNU General Public License cover the whole combination.  ;/******************************************************************************
31  ; *  ; *                                                                            *
32  ; *  As a special exception, the copyright holders of XviD give you  ; *  cpuid.asm, check cpu features                                             *
33  ; *  permission to link XviD with independent modules that communicate with  ; *                                                                            *
34  ; *  XviD solely through the VFW1.1 and DShow interfaces, regardless of the  ; *  Copyright (C) 2001 - Michael Militzer <isibaar@xvid.org>,                 *
35  ; *  license terms of these independent modules, and to copy and distribute  ; *                                                                            *
36  ; *  the resulting combined work under terms of your choice, provided that  ; *  For more information visit the XviD homepage: http://www.xvid.org         *
37  ; *  every copy of the combined work is accompanied by a complete copy of  ; *                                                                            *
38  ; *  the source code of XviD (the version of XviD used to produce the  ; ******************************************************************************/
39  ; *  combined work), being distributed under the terms of the GNU General  ;
40  ; *  Public License plus this exception.  An independent module is a module  ;/******************************************************************************
41  ; *  which is not derived from or based on XviD.  ; *                                                                            *
42  ; *  ; *  Revision history:                                                         *
43  ; *  Note that people who make modified versions of XviD are not obligated  ; *                                                                            *
44  ; *  to grant this special exception for their modified versions; it is  ; *  17.12.2001 initial version  (Isibaar)                                     *
45  ; *  their choice whether to do so.  The GNU General Public License gives  ; *                                                                            *
 ; *  permission to release a modified version without this exception; this  
 ; *  exception also makes it possible to release a modified version which  
 ; *  carries forward this exception.  
 ; *  
 ; * $Id: cpuid.asm,v 1.3 2002-11-17 00:51:11 edgomez Exp $  
46  ; ******************************************************************************/  ; ******************************************************************************/
47    
48  bits 32  bits 32
# Line 204  Line 199 
199          xorpd xmm0, xmm0          xorpd xmm0, xmm0
200          ret          ret
201    
202    
203    ; enter/exit mmx state
204    
205    cglobal emms_mmx
206    align 16
207    emms_mmx:
208            emms
209            ret
210    
211    ; faster enter/exit mmx state
212    
213    cglobal emms_3dn
214    align 16
215    emms_3dn:
216            femms
217            ret

Legend:
Removed from v.850  
changed lines
  Added in v.851

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