| 123456789101112 |
- /* CPU feature detection for the optional fast paths.
- *
- * The kernel targets i586, so SSE/SSE2 must never be assumed: CPUID itself
- * may not exist (early Pentium and below), which is why the ID bit in EFLAGS
- * is toggled first. Detected features are cached after the first call. */
- #ifndef CPU_H
- #define CPU_H
- /* 1 when the CPU supports SSE2 (the ION does, the Pentium targets do not). */
- int cpu_has_sse2(void);
- #endif
|