ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Classes | |
struct | cpuflags |
Macros | |
#define | FLAG_SSE3 0x00000001 |
#define | FLAG_SSSE3 0x00000200 |
#define | FLAG_AVX 0x1C000000 |
#define | FLAG2_MMX 0x00800000 |
#define | FLAG2_SSE 0x02000000 |
#define | FLAG2_SSE2 0x04000000 |
#define | FLAG2_FPU 0x00000001 |
#define | XFLAG_MMX 0x00800000 |
#define | XFLAG_3DNOW 0x80000000 |
#define | XFLAG_3DNOWEXT 0x40000000 |
#define | XCR0FLAG_AVX 0x00000006 |
#define | cpu_i586(s) ( ((s.id & 0xf00)>>8) == 0 || ((s.id & 0xf00)>>8) > 4 ) |
#define | cpu_fpu(s) (FLAG2_FPU & s.std2) |
#define | cpu_mmx(s) (FLAG2_MMX & s.std2 || XFLAG_MMX & s.ext) |
#define | cpu_3dnow(s) (XFLAG_3DNOW & s.ext) |
#define | cpu_3dnowext(s) (XFLAG_3DNOWEXT & s.ext) |
#define | cpu_sse(s) (FLAG2_SSE & s.std2) |
#define | cpu_sse2(s) (FLAG2_SSE2 & s.std2) |
#define | cpu_sse3(s) (FLAG_SSE3 & s.std) |
#define | cpu_avx(s) ((FLAG_AVX & s.std) == FLAG_AVX && (XCR0FLAG_AVX & s.xcr0_lo) == XCR0FLAG_AVX) |
#define | cpu_fast_sse(s) |
#define | cpu_neon(s) (s.has_neon) |
Functions | |
unsigned int | getcpuflags (struct cpuflags *cf) |
#define cpu_3dnow | ( | s | ) | (XFLAG_3DNOW & s.ext) |
Definition at line 50 of file getcpuflags.h.
#define cpu_3dnowext | ( | s | ) | (XFLAG_3DNOWEXT & s.ext) |
Definition at line 51 of file getcpuflags.h.
#define cpu_avx | ( | s | ) | ((FLAG_AVX & s.std) == FLAG_AVX && (XCR0FLAG_AVX & s.xcr0_lo) == XCR0FLAG_AVX) |
Definition at line 55 of file getcpuflags.h.
Definition at line 56 of file getcpuflags.h.
Definition at line 48 of file getcpuflags.h.
Definition at line 46 of file getcpuflags.h.
Definition at line 49 of file getcpuflags.h.
Definition at line 58 of file getcpuflags.h.
Definition at line 52 of file getcpuflags.h.
#define cpu_sse2 | ( | s | ) | (FLAG2_SSE2 & s.std2) |
Definition at line 53 of file getcpuflags.h.
Definition at line 54 of file getcpuflags.h.
#define FLAG2_FPU 0x00000001 |
Definition at line 21 of file getcpuflags.h.
#define FLAG2_MMX 0x00800000 |
Definition at line 18 of file getcpuflags.h.
#define FLAG2_SSE 0x02000000 |
Definition at line 19 of file getcpuflags.h.
#define FLAG2_SSE2 0x04000000 |
Definition at line 20 of file getcpuflags.h.
#define FLAG_AVX 0x1C000000 |
Definition at line 16 of file getcpuflags.h.
#define FLAG_SSE3 0x00000001 |
Definition at line 14 of file getcpuflags.h.
#define FLAG_SSSE3 0x00000200 |
Definition at line 15 of file getcpuflags.h.
#define XCR0FLAG_AVX 0x00000006 |
Definition at line 27 of file getcpuflags.h.
#define XFLAG_3DNOW 0x80000000 |
Definition at line 24 of file getcpuflags.h.
#define XFLAG_3DNOWEXT 0x40000000 |
Definition at line 25 of file getcpuflags.h.
#define XFLAG_MMX 0x00800000 |
Definition at line 23 of file getcpuflags.h.