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

Unified Diff: src/hydrogen-instructions.cc

Issue 14109010: ARM: Enable VFP default NaN mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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
Index: src/hydrogen-instructions.cc
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
index 36d1e11edab37c49aea9aa725866799eb28b83c6..e7117c4057de8876a87ae57c7f04afe058f5f9be 100644
--- a/src/hydrogen-instructions.cc
+++ b/src/hydrogen-instructions.cc
@@ -3054,6 +3054,12 @@ bool HStoreKeyed::NeedsCanonicalization() {
return IsExternalFloatOrDoubleElementsKind(
HLoadKeyed::cast(value())->elements_kind());
}
+#ifdef V8_TARGET_ARCH_ARM
ulan 2013/04/15 07:43:01 We try to avoid adding arch dependent ifdefs in hy
+ if (value()->IsAdd() || value()->IsSub() ||
+ value()->IsMul() || value()->IsDiv()) {
+ return false;
+ }
+#endif
if (value()->IsChange()) {
if (HChange::cast(value())->from().IsInteger32()) {

Powered by Google App Engine
This is Rietveld 408576698