OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 #ifndef VM_CPU_DBC_H_ |
| 6 #define VM_CPU_DBC_H_ |
| 7 |
| 8 #include "vm/allocation.h" |
| 9 #include "vm/simulator.h" |
| 10 |
| 11 namespace dart { |
| 12 |
| 13 class HostCPUFeatures: public AllStatic { |
| 14 public: |
| 15 static const char* hardware() { return "simdbc"; } |
| 16 }; |
| 17 |
| 18 class TargetCPUFeatures : public AllStatic { |
| 19 public: |
| 20 static void InitOnce() {} |
| 21 static void Cleanup() {} |
| 22 |
| 23 static bool double_truncate_round_supported() { |
| 24 return true; |
| 25 } |
| 26 }; |
| 27 |
| 28 } // namespace dart |
| 29 |
| 30 #endif // VM_CPU_DBC_H_ |
OLD | NEW |