OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_CPU_IA32_H_ | 5 #ifndef RUNTIME_VM_CPU_IA32_H_ |
6 #define VM_CPU_IA32_H_ | 6 #define RUNTIME_VM_CPU_IA32_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/flags.h" | 9 #include "vm/flags.h" |
10 | 10 |
11 namespace dart { | 11 namespace dart { |
12 | 12 |
13 DECLARE_FLAG(bool, use_sse41); | 13 DECLARE_FLAG(bool, use_sse41); |
14 | 14 |
15 class HostCPUFeatures : public AllStatic { | 15 class HostCPUFeatures : public AllStatic { |
16 public: | 16 public: |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 static bool sse4_1_supported() { | 57 static bool sse4_1_supported() { |
58 return HostCPUFeatures::sse4_1_supported(); | 58 return HostCPUFeatures::sse4_1_supported(); |
59 } | 59 } |
60 static bool double_truncate_round_supported() { | 60 static bool double_truncate_round_supported() { |
61 return sse4_1_supported(); | 61 return sse4_1_supported(); |
62 } | 62 } |
63 }; | 63 }; |
64 | 64 |
65 } // namespace dart | 65 } // namespace dart |
66 | 66 |
67 #endif // VM_CPU_IA32_H_ | 67 #endif // RUNTIME_VM_CPU_IA32_H_ |
OLD | NEW |