| Index: src/ia32/assembler-ia32.cc
|
| diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc
|
| index 2805fa0f9a8a7f84dc0c137f798ded16510893be..1f7fd8ecaa1653deb7a2aecf2e0b4d962290d096 100644
|
| --- a/src/ia32/assembler-ia32.cc
|
| +++ b/src/ia32/assembler-ia32.cc
|
| @@ -62,14 +62,16 @@ void CpuFeatures::ProbeImpl(bool cross_compile) {
|
| if (cpu.has_sse3() && FLAG_enable_sse3) supported_ |= 1u << SSE3;
|
| if (cpu.has_avx() && FLAG_enable_avx) supported_ |= 1u << AVX;
|
| if (cpu.has_fma3() && FLAG_enable_fma3) supported_ |= 1u << FMA3;
|
| + if (cpu.is_atom() && FLAG_enable_atom) supported_ |= 1u << ATOM;
|
| }
|
|
|
|
|
| void CpuFeatures::PrintTarget() { }
|
| void CpuFeatures::PrintFeatures() {
|
| - printf("SSE3=%d SSE4_1=%d AVX=%d FMA3=%d\n", CpuFeatures::IsSupported(SSE3),
|
| - CpuFeatures::IsSupported(SSE4_1), CpuFeatures::IsSupported(AVX),
|
| - CpuFeatures::IsSupported(FMA3));
|
| + printf("SSE3=%d SSE4_1=%d AVX=%d FMA3=%d ATOM=%d\n",
|
| + CpuFeatures::IsSupported(SSE3), CpuFeatures::IsSupported(SSE4_1),
|
| + CpuFeatures::IsSupported(AVX), CpuFeatures::IsSupported(FMA3),
|
| + CpuFeatures::IsSupported(ATOM));
|
| }
|
|
|
|
|
|
|