Subversion Repositories Kolibri OS

Rev

Rev 4872 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4349 Serge 1
#ifndef _CPU_FEATURES_H
2
#define _CPU_FEATURES_H
3
 
4
#define  _CRT_CMPXCHG8B		0x0001
5
#define  _CRT_CMOV		0x0002
6
#define  _CRT_MMX		0x0004
7
#define  _CRT_FXSR		0x0008
8
#define  _CRT_SSE		0x0010
9
#define  _CRT_SSE2		0x0020
10
#define  _CRT_SSE3		0x0040
11
#define  _CRT_CMPXCHG16B	0x0080
12
#define  _CRT_3DNOW		0x0100
13
#define  _CRT_3DNOWP		0x0200
14
 
15
extern unsigned int __cpu_features;
16
 
17
/* Currently we use this in fpenv  functions */
18
#define __HAS_SSE  __cpu_features & _CRT_SSE
19
 
20
 
21
#endif