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

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

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

revision 1.12, Tue Aug 19 09:06:48 2008 UTC revision 1.13, Tue Nov 11 20:46:24 2008 UTC
# Line 30  Line 30 
30                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
31                          global _%1:function %1.endfunc-%1                          global _%1:function %1.endfunc-%1
32                          %define %1 _%1:function %1.endfunc-%1                          %define %1 _%1:function %1.endfunc-%1
33                            %define ENDFUNC .endfunc
34                  %else                  %else
35                          global _%1                          global _%1
36                          %define %1 _%1                          %define %1 _%1
37                            %define ENDFUNC
38                  %endif                  %endif
39          %else          %else
40                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
41                          global %1:function %1.endfunc-%1                          global %1:function %1.endfunc-%1
42                            %define ENDFUNC .endfunc
43                  %else                  %else
44                          global %1                          global %1
45                            %define ENDFUNC
46                  %endif                  %endif
47          %endif          %endif
48  %endmacro  %endmacro
# Line 194  Line 198 
198    pop ebx    pop ebx
199    
200    ret    ret
201  .endfunc  ENDFUNC
202    
203  ; sse/sse2 operating support detection routines  ; sse/sse2 operating support detection routines
204  ; these will trigger an invalid instruction signal if not supported.  ; these will trigger an invalid instruction signal if not supported.
# Line 203  Line 207 
207  sse_os_trigger:  sse_os_trigger:
208    xorps xmm0, xmm0    xorps xmm0, xmm0
209    ret    ret
210  .endfunc  ENDFUNC
211    
212    
213  ALIGN 16  ALIGN 16
# Line 211  Line 215 
215  sse2_os_trigger:  sse2_os_trigger:
216    xorpd xmm0, xmm0    xorpd xmm0, xmm0
217    ret    ret
218  .endfunc  ENDFUNC
219    
220    
221  ; enter/exit mmx state  ; enter/exit mmx state
# Line 220  Line 224 
224  emms_mmx:  emms_mmx:
225    emms    emms
226    ret    ret
227  .endfunc  ENDFUNC
228    
229  ; faster enter/exit mmx state  ; faster enter/exit mmx state
230  ALIGN 16  ALIGN 16
# Line 228  Line 232 
232  emms_3dn:  emms_3dn:
233    femms    femms
234    ret    ret
235  .endfunc  ENDFUNC
236    
237    
238    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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