Lines Matching refs:CPU
5 #include "base/cpu.h"
9 // Tests whether we can run extended instructions represented by the CPU
11 // MMX, SSE, etc.) supported by the CPU and sees we can run them without
14 TEST(CPU, RunExtendedInstructions) {
16 // Retrieve the CPU information.
17 base::CPU cpu;
20 ASSERT_TRUE(cpu.has_mmx());
25 if (cpu.has_sse()) {
30 if (cpu.has_sse2()) {
35 if (cpu.has_sse3()) {
40 if (cpu.has_ssse3()) {
45 if (cpu.has_sse41()) {
50 if (cpu.has_sse42()) {
55 ASSERT_TRUE(cpu.has_mmx());
60 if (cpu.has_sse()) {
65 if (cpu.has_sse2()) {
70 if (cpu.has_sse3()) {
75 if (cpu.has_ssse3()) {
80 if (cpu.has_sse41()) {
85 if (cpu.has_sse42()) {