Chromium Code Reviews| Index: src/x64/assembler-x64.cc |
| diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
| index 96422f6863fa86b90b655f3568680a48e61f6731..9a09880fae69acec79acd98ee8370610d968899a 100644 |
| --- a/src/x64/assembler-x64.cc |
| +++ b/src/x64/assembler-x64.cc |
| @@ -60,6 +60,7 @@ void CpuFeatures::ProbeImpl(bool cross_compile) { |
| if (cpu.has_sahf() && FLAG_enable_sahf) supported_ |= 1u << SAHF; |
| if (cpu.has_avx() && EnableAVX()) supported_ |= 1u << AVX; |
| if (cpu.has_fma3() && FLAG_enable_fma3) supported_ |= 1u << FMA3; |
| + if (cpu.is_atom()) FLAG_intel_atom = true; |
|
Benedikt Meurer
2015/01/19 05:39:25
Modifying flags this way is a bad idea, and it als
Weiliang
2015/01/19 05:51:01
Maybe I miss something?
The logic here: the intel_
Benedikt Meurer
2015/01/19 05:57:22
Yes, but you cannot generally test the backend cod
Sven Panne
2015/01/19 07:42:14
I agree with Benedikt: Modifying flags is a no-go
|
| } |