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

Unified Diff: runtime/vm/cpu_arm.h

Issue 298533002: For arm, chooses hard vs. soft fp ABI based on compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/cpu_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpu_arm.h
===================================================================
--- runtime/vm/cpu_arm.h (revision 36331)
+++ runtime/vm/cpu_arm.h (working copy)
@@ -45,6 +45,10 @@
DEBUG_ASSERT(initialized_);
return neon_supported_;
}
+ static bool hardfp_supported() {
+ DEBUG_ASSERT(initialized_);
+ return hardfp_supported_;
+ }
static ARMVersion arm_version() {
DEBUG_ASSERT(initialized_);
return arm_version_;
@@ -74,6 +78,7 @@
static bool integer_division_supported_;
static bool vfp_supported_;
static bool neon_supported_;
+ static bool hardfp_supported_;
static ARMVersion arm_version_;
#if defined(DEBUG)
static bool initialized_;
@@ -100,6 +105,9 @@
static bool neon_supported() {
return HostCPUFeatures::neon_supported();
}
+ static bool hardfp_supported() {
+ return HostCPUFeatures::hardfp_supported();
+ }
static const char* hardware() {
return HostCPUFeatures::hardware();
}
« no previous file with comments | « no previous file | runtime/vm/cpu_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698