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

Unified Diff: test/cctest/test-macro-assembler-mips.cc

Issue 2556793003: MIPS[64]: Fix `MIPS: Improve Float(32|64)(Max|Min)`. (Closed)
Patch Set: Created 4 years 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: test/cctest/test-macro-assembler-mips.cc
diff --git a/test/cctest/test-macro-assembler-mips.cc b/test/cctest/test-macro-assembler-mips.cc
index deeb13cc7e83571a559ffbe3e6e4466c61f786c9..02cea4d71d52e156e59752c88581b19438e6eefc 100644
--- a/test/cctest/test-macro-assembler-mips.cc
+++ b/test/cctest/test-macro-assembler-mips.cc
@@ -1401,26 +1401,32 @@ static ::F4 GenerateMacroFloat32MinMax(MacroAssembler* masm) {
__ bind(&ool_min_abc);
__ Float32MinOutOfLine(a, b, c);
__ b(&done_min_abc);
+ __ nop();
__ bind(&ool_min_aab);
__ Float32MinOutOfLine(a, a, b);
__ b(&done_min_aab);
+ __ nop();
__ bind(&ool_min_aba);
__ Float32MinOutOfLine(a, b, a);
__ b(&done_min_aba);
+ __ nop();
__ bind(&ool_max_abc);
__ Float32MaxOutOfLine(a, b, c);
__ b(&done_max_abc);
+ __ nop();
__ bind(&ool_max_aab);
__ Float32MaxOutOfLine(a, a, b);
__ b(&done_max_aab);
+ __ nop();
__ bind(&ool_max_aba);
__ Float32MaxOutOfLine(a, b, a);
__ b(&done_max_aba);
+ __ nop();
CodeDesc desc;
masm->GetCode(&desc);
@@ -1544,26 +1550,32 @@ static ::F4 GenerateMacroFloat64MinMax(MacroAssembler* masm) {
__ bind(&ool_min_abc);
__ Float64MinOutOfLine(a, b, c);
__ b(&done_min_abc);
+ __ nop();
__ bind(&ool_min_aab);
__ Float64MinOutOfLine(a, a, b);
__ b(&done_min_aab);
+ __ nop();
__ bind(&ool_min_aba);
__ Float64MinOutOfLine(a, b, a);
__ b(&done_min_aba);
+ __ nop();
__ bind(&ool_max_abc);
__ Float64MaxOutOfLine(a, b, c);
__ b(&done_max_abc);
+ __ nop();
__ bind(&ool_max_aab);
__ Float64MaxOutOfLine(a, a, b);
__ b(&done_max_aab);
+ __ nop();
__ bind(&ool_max_aba);
__ Float64MaxOutOfLine(a, b, a);
__ b(&done_max_aba);
+ __ nop();
CodeDesc desc;
masm->GetCode(&desc);

Powered by Google App Engine
This is Rietveld 408576698