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

Unified Diff: src/cpu.cc

Issue 329963002: Fix detection of VFP3D16 on Galaxy Tab 10.1. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cpu.cc
diff --git a/src/cpu.cc b/src/cpu.cc
index 2eb00c4ac43fe24ac8815c3ec2ee8dcabf22fdf1..bdc65aa20e61d5fd4d3627451bd38e08cfa688d2 100644
--- a/src/cpu.cc
+++ b/src/cpu.cc
@@ -395,11 +395,11 @@ CPU::CPU() : stepping_(0),
has_neon_ = HasListItem(features, "neon");
has_thumbee_ = HasListItem(features, "thumbee");
has_vfp_ = HasListItem(features, "vfp");
- if (HasListItem(features, "vfpv3")) {
+ if (HasListItem(features, "vfpv3d16")) {
has_vfp3_ = true;
- has_vfp3_d32_ = true;
- } else if (HasListItem(features, "vfpv3d16")) {
+ } else if (HasListItem(features, "vfpv3")) {
has_vfp3_ = true;
+ has_vfp3_d32_ = true;
}
delete[] features;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698