33 using namespace v8::internal;
36 TEST(FeatureImplications) {
41 CHECK(!cpu.has_sse() || cpu.has_mmx());
42 CHECK(!cpu.has_sse2() || cpu.has_sse());
43 CHECK(!cpu.has_sse3() || cpu.has_sse2());
44 CHECK(!cpu.has_ssse3() || cpu.has_sse3());
45 CHECK(!cpu.has_sse41() || cpu.has_sse3());
46 CHECK(!cpu.has_sse42() || cpu.has_sse41());
49 CHECK(!cpu.has_vfp3_d32() || cpu.has_vfp3());
53 TEST(NumberOfProcessorsOnline) {
54 CHECK_GT(CPU::NumberOfProcessorsOnline(), 0);