[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 1793, Tue Nov 11 20:46:24 2008 UTC revision 1794, Fri Nov 14 15:43:28 2008 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.13 2008-11-11 20:46:24 Isibaar Exp $  ; * $Id: cpuid.asm,v 1.14 2008-11-14 15:43:28 Isibaar Exp $
23  ; *  ; *
24  ; ***************************************************************************/  ; ***************************************************************************/
25    
# Line 56  Line 56 
56  %define CPUID_SSE               0x02000000  %define CPUID_SSE               0x02000000
57  %define CPUID_SSE2              0x04000000  %define CPUID_SSE2              0x04000000
58  %define CPUID_SSE3              0x00000001  %define CPUID_SSE3              0x00000001
59    %define CPUID_SSE41             0x00080000
60    
61  %define EXT_CPUID_3DNOW         0x80000000  %define EXT_CPUID_3DNOW         0x80000000
62  %define EXT_CPUID_AMD_3DNOWEXT  0x40000000  %define EXT_CPUID_AMD_3DNOWEXT  0x40000000
# Line 67  Line 68 
68  %define XVID_CPU_SSE      (1<< 2)  %define XVID_CPU_SSE      (1<< 2)
69  %define XVID_CPU_SSE2     (1<< 3)  %define XVID_CPU_SSE2     (1<< 3)
70  %define XVID_CPU_SSE3     (1<< 8)  %define XVID_CPU_SSE3     (1<< 8)
71    %define XVID_CPU_SSE41    (1<< 9)
72  %define XVID_CPU_3DNOW    (1<< 4)  %define XVID_CPU_3DNOW    (1<< 4)
73  %define XVID_CPU_3DNOWEXT (1<< 5)  %define XVID_CPU_3DNOWEXT (1<< 5)
74  %define XVID_CPU_TSC      (1<< 6)  %define XVID_CPU_TSC      (1<< 6)
# Line 160  Line 162 
162    ; SSE3 support?    ; SSE3 support?
163    CHECK_FEATURE CPUID_SSE3, XVID_CPU_SSE3, ebp, ecx    CHECK_FEATURE CPUID_SSE3, XVID_CPU_SSE3, ebp, ecx
164    
165      ; SSE41 support?
166      CHECK_FEATURE CPUID_SSE41, XVID_CPU_SSE41, ebp, ecx
167    
168    ; extended functions?    ; extended functions?
169    mov eax, 0x80000000    mov eax, 0x80000000
170    cpuid    cpuid

Legend:
Removed from v.1793  
changed lines
  Added in v.1794

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