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

Unified Diff: src/mips/macro-assembler-mips.cc

Issue 646923003: MIPS: Fix loading Float64 constants in turbofan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/mips/macro-assembler-mips.cc
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
index 6f16f1d4c0f28c890cb8092782d215ddc8f7d638..275daf24ca079e0aacf06e7b140776b188c2b7e8 100644
--- a/src/mips/macro-assembler-mips.cc
+++ b/src/mips/macro-assembler-mips.cc
@@ -1525,12 +1525,11 @@ void MacroAssembler::BranchF(Label* target,
}
-void MacroAssembler::Move(FPURegister dst, double imm) {
+void MacroAssembler::Move(FPURegister dst, double imm, bool force_load) {
static const DoubleRepresentation minus_zero(-0.0);
static const DoubleRepresentation zero(0.0);
DoubleRepresentation value_rep(imm);
// Handle special values first.
- bool force_load = dst.is(kDoubleRegZero);
if (value_rep == zero && !force_load) {
mov_d(dst, kDoubleRegZero);
} else if (value_rep == minus_zero && !force_load) {
« src/compiler/mips/code-generator-mips.cc ('K') | « src/mips/macro-assembler-mips.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698