projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba06a0
)
X87: initialize the FPU state for X87 in prologue.
author
chunyang.dai
<chunyang.dai@intel.com>
Tue, 8 Sep 2015 03:27:11 +0000
(20:27 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 8 Sep 2015 03:27:20 +0000
(
03:27
+0000)
This CL is a fix for
c0c3d866fb824290c24d4c2a14414019d844515f
(r30606).
In r30606, initialization of FPU implementation is not moved to prologue
generation correctly.
BUG=
Review URL: https://codereview.chromium.org/
1317643009
Cr-Commit-Position: refs/heads/master@{#30626}
src/x87/lithium-codegen-x87.cc
patch
|
blob
|
history
diff --git
a/src/x87/lithium-codegen-x87.cc
b/src/x87/lithium-codegen-x87.cc
index d9e5169fdec0dc6f60efaa20d55c1045e707daf8..1b5b176be134ad9034a0d0a9032ed05bc7e2c6a3 100644
(file)
--- 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");
}