Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: runtime/vm/assembler_arm.h

Issue 142663004: Reverts refactoring of CPU feature detection for (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.h
===================================================================
--- runtime/vm/assembler_arm.h (revision 32559)
+++ runtime/vm/assembler_arm.h (working copy)
@@ -63,6 +63,26 @@
DISALLOW_COPY_AND_ASSIGN(Label);
};
+
+class CPUFeatures : public AllStatic {
+ public:
+ static void InitOnce();
+ static bool double_truncate_round_supported() { return false; }
+ static bool integer_division_supported();
+ static bool neon_supported();
+#if defined(USING_SIMULATOR)
+ static void set_integer_division_supported(bool supported);
+ static void set_neon_supported(bool supported);
+#endif
+ private:
+ static bool integer_division_supported_;
+ static bool neon_supported_;
+#if defined(DEBUG)
+ static bool initialized_;
+#endif
+};
+
+
// Encodes Addressing Mode 1 - Data-processing operands.
class ShifterOperand : public ValueObject {
public:
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698