Fix detection of VFP3D16 on Galaxy Tab 10.1.
authorbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 12 Jun 2014 06:58:55 +0000 (06:58 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 12 Jun 2014 06:58:55 +0000 (06:58 +0000)
BUG=v8:3387
LOG=y
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/329963002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21789 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/cpu.cc

index 2eb00c4..bdc65aa 100644 (file)
@@ -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;
   }