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

Unified Diff: src/x87/lithium-codegen-x87.cc

Issue 1317643009: X87: initialize the FPU state for X87 in prologue. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/x87/lithium-codegen-x87.cc
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc
index d9e5169fdec0dc6f60efaa20d55c1045e707daf8..1b5b176be134ad9034a0d0a9032ed05bc7e2c6a3 100644
--- a/src/x87/lithium-codegen-x87.cc
+++ b/src/x87/lithium-codegen-x87.cc
@@ -215,6 +215,10 @@ bool LCodeGen::GeneratePrologue() {
}
}
}
+
+ // Initailize FPU state.
+ __ fninit();
+
return !is_aborted();
}
@@ -278,9 +282,6 @@ void LCodeGen::DoPrologue(LPrologue* instr) {
Comment(";;; End allocate local context");
}
- // Initailize FPU state.
- __ fninit();
-
Comment(";;; Prologue end");
}
« 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