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

Unified Diff: test/cctest/test-assembler-a64.cc

Issue 131333011: A64: When truncating to an int, store the result in a 64bit register (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: updates Created 6 years, 10 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 | « src/a64/macro-assembler-a64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-a64.cc
diff --git a/test/cctest/test-assembler-a64.cc b/test/cctest/test-assembler-a64.cc
index 3597927443b3f2e6147e05bf25e54f90cca4e9a9..63237bc2d2d90fb9153f43de2325edb03f6d1113 100644
--- a/test/cctest/test-assembler-a64.cc
+++ b/test/cctest/test-assembler-a64.cc
@@ -9352,21 +9352,15 @@ static void ECMA262ToInt32Helper(int32_t expected, double input) {
__ Fmov(d0, input);
- __ ECMA262ToInt32(x0, d0, x10, x11, MacroAssembler::INT32_IN_W);
- __ ECMA262ToInt32(x1, d0, x10, x11, MacroAssembler::INT32_IN_X);
+ __ ECMA262ToInt32(x1, d0, x10, x11, MacroAssembler::INT32);
__ ECMA262ToInt32(x2, d0, x10, x11, MacroAssembler::SMI);
- // The upper bits of INT32_IN_W are undefined, so make sure we don't try to
- // test them.
- __ Mov(w0, w0);
-
END();
RUN();
int64_t expected64 = expected;
- ASSERT_EQUAL_32(expected, w0);
ASSERT_EQUAL_64(expected64, x1);
ASSERT_EQUAL_64(expected64 << kSmiShift | kSmiTag, x2);
« no previous file with comments | « src/a64/macro-assembler-a64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698