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

Unified Diff: runtime/vm/assembler_x64_test.cc

Issue 63993003: Fix build break on the bots. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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: runtime/vm/assembler_x64_test.cc
===================================================================
--- runtime/vm/assembler_x64_test.cc (revision 30088)
+++ runtime/vm/assembler_x64_test.cc (working copy)
@@ -1625,11 +1625,14 @@
ASSEMBLER_TEST_GENERATE(PackedNegate, assembler) {
+ __ pushq(PP); // Save caller's pool pointer and load a new one here.
+ __ LoadPoolPointer(PP);
__ movl(RAX, Immediate(bit_cast<int32_t, float>(12.3f)));
__ movd(XMM0, RAX);
__ shufps(XMM0, XMM0, Immediate(0x0));
__ negateps(XMM0);
__ shufps(XMM0, XMM0, Immediate(0xAA)); // Copy third lane into all 4 lanes.
+ __ popq(PP); // Restore caller's pool pointer.
__ ret();
}
@@ -1642,11 +1645,14 @@
ASSEMBLER_TEST_GENERATE(PackedAbsolute, assembler) {
+ __ pushq(PP); // Save caller's pool pointer and load a new one here.
+ __ LoadPoolPointer(PP);
__ movl(RAX, Immediate(bit_cast<int32_t, float>(-15.3f)));
__ movd(XMM0, RAX);
__ shufps(XMM0, XMM0, Immediate(0x0));
__ absps(XMM0);
__ shufps(XMM0, XMM0, Immediate(0xAA)); // Copy third lane into all 4 lanes.
+ __ popq(PP); // Restore caller's pool pointer.
__ ret();
}
@@ -1659,9 +1665,12 @@
ASSEMBLER_TEST_GENERATE(PackedSetWZero, assembler) {
+ __ pushq(PP); // Save caller's pool pointer and load a new one here.
+ __ LoadPoolPointer(PP);
__ set1ps(XMM0, RAX, Immediate(bit_cast<int32_t, float>(12.3f)));
__ zerowps(XMM0);
__ shufps(XMM0, XMM0, Immediate(0xFF)); // Copy the W lane which is now 0.0.
+ __ popq(PP); // Restore caller's pool pointer.
__ ret();
}
@@ -2208,7 +2217,7 @@
__ CompareObject(RCX, smi, PP);
__ j(NOT_EQUAL, &fail);
__ movl(RAX, Immediate(1)); // OK
- __ LeaveDartFrame();
+ __ LeaveFrame();
__ ret();
__ Bind(&fail);
__ movl(RAX, Immediate(0)); // Fail.
@@ -2546,7 +2555,10 @@
ASSEMBLER_TEST_GENERATE(DoubleAbs, assembler) {
+ __ pushq(PP); // Save caller's pool pointer and load a new one here.
+ __ LoadPoolPointer(PP);
__ DoubleAbs(XMM0);
+ __ popq(PP); // Restore caller's pool pointer.
__ ret();
}
« 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