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

Unified Diff: runtime/vm/intrinsifier_x64.cc

Issue 2432903002: Revert "Add DoubleTestOp instruction" (Closed)
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/intrinsifier_mips.cc ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_x64.cc
diff --git a/runtime/vm/intrinsifier_x64.cc b/runtime/vm/intrinsifier_x64.cc
index 08108475335492578189ca6660e31fd0153809b8..cdb11df87889566bef98ccde1b8fa09180d47a1d 100644
--- a/runtime/vm/intrinsifier_x64.cc
+++ b/runtime/vm/intrinsifier_x64.cc
@@ -1434,26 +1434,6 @@ void Intrinsifier::Double_getIsNaN(Assembler* assembler) {
}
-void Intrinsifier::Double_getIsInfinite(Assembler* assembler) {
- Label is_inf, done;
- __ movq(RAX, Address(RSP, +1 * kWordSize));
- __ movq(RAX, FieldAddress(RAX, Double::value_offset()));
- // Mask off the sign.
- __ AndImmediate(RAX, Immediate(0x7FFFFFFFFFFFFFFFLL));
- // Compare with +infinity.
- __ CompareImmediate(RAX, Immediate(0x7FF0000000000000LL));
- __ j(EQUAL, &is_inf, Assembler::kNearJump);
- __ LoadObject(RAX, Bool::False());
- __ jmp(&done);
-
- __ Bind(&is_inf);
- __ LoadObject(RAX, Bool::True());
-
- __ Bind(&done);
- __ ret();
-}
-
-
void Intrinsifier::Double_getIsNegative(Assembler* assembler) {
Label is_false, is_true, is_zero;
__ movq(RAX, Address(RSP, +1 * kWordSize));
« no previous file with comments | « runtime/vm/intrinsifier_mips.cc ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698