OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/base/cpu.h" | 5 #include "src/base/cpu.h" |
6 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace base { | 9 namespace base { |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 EXPECT_TRUE(cpu.has_fpu()); | 40 EXPECT_TRUE(cpu.has_fpu()); |
41 EXPECT_TRUE(cpu.has_cmov()); | 41 EXPECT_TRUE(cpu.has_cmov()); |
42 EXPECT_TRUE(cpu.has_mmx()); | 42 EXPECT_TRUE(cpu.has_mmx()); |
43 EXPECT_TRUE(cpu.has_sse()); | 43 EXPECT_TRUE(cpu.has_sse()); |
44 EXPECT_TRUE(cpu.has_sse2()); | 44 EXPECT_TRUE(cpu.has_sse2()); |
45 #endif | 45 #endif |
46 } | 46 } |
47 | 47 |
48 } // namespace base | 48 } // namespace base |
49 } // namespace v8 | 49 } // namespace v8 |
OLD | NEW |