Reviewers: Sven Panne,

Message:
PTAL

Description:
Fix detection of VFP3D16 on Galaxy Tab 10.1.

BUG=v8:3387
LOG=y

Please review this at https://codereview.chromium.org/329963002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+3, -3 lines):
  M src/cpu.cc


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;
   }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to