[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 1539, Sun Aug 29 05:32:29 2004 UTC revision 1540, Sun Aug 29 10:02:38 2004 UTC
# Line 19  Line 19 
19  ; *  along with this program ; if not, write to the Free Software  ; *  along with this program ; if not, write to the Free Software
20  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21  ; *  ; *
22  ; * $Id: cpuid.asm,v 1.8 2004-08-22 11:46:10 edgomez Exp $  ; * $Id: cpuid.asm,v 1.9 2004-08-29 10:02:38 edgomez Exp $
23  ; *  ; *
24  ; ***************************************************************************/  ; ***************************************************************************/
25    
# Line 28  Line 28 
28  %macro cglobal 1  %macro cglobal 1
29          %ifdef PREFIX          %ifdef PREFIX
30                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
31                          global _%1:function                          global _%1:function %1.endfunc-%1
32                          %define %1 _%1:function                          %define %1 _%1:function %1.endfunc-%1
33                  %else                  %else
34                          global _%1                          global _%1
35                          %define %1 _%1                          %define %1 _%1
36                  %endif                  %endif
37          %else          %else
38                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
39                          global %1:function                          global %1:function %1.endfunc-%1
40                  %else                  %else
41                          global %1                          global %1
42                  %endif                  %endif
# Line 189  Line 189 
189    pop ebx    pop ebx
190    
191    ret    ret
192    .endfunc
193    
194  ; sse/sse2 operating support detection routines  ; sse/sse2 operating support detection routines
195  ; these will trigger an invalid instruction signal if not supported.  ; these will trigger an invalid instruction signal if not supported.
# Line 197  Line 198 
198  sse_os_trigger:  sse_os_trigger:
199    xorps xmm0, xmm0    xorps xmm0, xmm0
200    ret    ret
201    .endfunc
202    
203    
204  ALIGN 16  ALIGN 16
# Line 204  Line 206 
206  sse2_os_trigger:  sse2_os_trigger:
207    xorpd xmm0, xmm0    xorpd xmm0, xmm0
208    ret    ret
209    .endfunc
210    
211    
212  ; enter/exit mmx state  ; enter/exit mmx state
# Line 212  Line 215 
215  emms_mmx:  emms_mmx:
216    emms    emms
217    ret    ret
218    .endfunc
219    
220  ; faster enter/exit mmx state  ; faster enter/exit mmx state
221  ALIGN 16  ALIGN 16
# Line 219  Line 223 
223  emms_3dn:  emms_3dn:
224    femms    femms
225    ret    ret
226    .endfunc
227    
228    

Legend:
Removed from v.1539  
changed lines
  Added in v.1540

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