Home | History | Annotate | Download | only in base

Lines Matching defs:cpu

5 #include "base/cpu.h"
10 // Tests whether we can run extended instructions represented by the CPU
12 // MMX, SSE, etc.) supported by the CPU and sees we can run them without
15 TEST(CPU, RunExtendedInstructions) {
17 // Retrieve the CPU information.
18 base::CPU cpu;
22 ASSERT_TRUE(cpu.has_mmx());
27 if (cpu.has_sse()) {
32 if (cpu.has_sse2()) {
37 if (cpu.has_sse3()) {
42 if (cpu.has_ssse3()) {
47 if (cpu.has_sse41()) {
52 if (cpu.has_sse42()) {
57 ASSERT_TRUE(cpu.has_mmx());
62 if (cpu.has_sse()) {
67 if (cpu.has_sse2()) {
72 if (cpu.has_sse3()) {
77 if (cpu.has_ssse3()) {
82 if (cpu.has_sse41()) {
87 if (cpu.has_sse42()) {