Chromium Code Reviews| Index: base/cpu.cc |
| diff --git a/base/cpu.cc b/base/cpu.cc |
| index cf4f2f1e496346c7ceea9dfcbe46d36f8cc4e48e..a5ebcb6baef093466037251658fa7e1e8f6339ce 100644 |
| --- a/base/cpu.cc |
| +++ b/base/cpu.cc |
| @@ -117,6 +117,7 @@ void CPU::Initialize() { |
| has_ssse3_ = (cpu_info[2] & 0x00000200) != 0; |
| has_sse41_ = (cpu_info[2] & 0x00080000) != 0; |
| has_sse42_ = (cpu_info[2] & 0x00100000) != 0; |
| + has_avx_ = (cpu_info[2] & 0x10000000) != 0; |
| } |
| // Get the brand string of the cpu. |