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

Unified Diff: runtime/vm/assembler_arm64_test.cc

Issue 616873003: Use UnboxedInt32 and UnboxedUint32 representation for LoadIndexedInstr (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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: runtime/vm/assembler_arm64_test.cc
diff --git a/runtime/vm/assembler_arm64_test.cc b/runtime/vm/assembler_arm64_test.cc
index 1f6e981c941899ec3f601eddbe18dc63838b62f1..94f443636224d84af531259737584f2fdc19ce56 100644
--- a/runtime/vm/assembler_arm64_test.cc
+++ b/runtime/vm/assembler_arm64_test.cc
@@ -1697,6 +1697,20 @@ ASSEMBLER_TEST_RUN(Scvtfd, test) {
}
+ASSEMBLER_TEST_GENERATE(Scvtfd32, assembler) {
+ // Fill upper 32-bits with garbage.
+ __ LoadImmediate(R0, 0x111111110000002A, kNoPP);
+ __ scvtfd32(V0, R0);
+ __ ret();
+}
+
+
+ASSEMBLER_TEST_RUN(Scvtfd32, test) {
+ typedef double (*DoubleReturn)() DART_UNUSED;
+ EXPECT_EQ(42.0, EXECUTE_TEST_CODE_DOUBLE(DoubleReturn, test->entry()));
+}
+
+
ASSEMBLER_TEST_GENERATE(FabsdPos, assembler) {
__ LoadDImmediate(V1, 42.0, kNoPP);
__ fabsd(V0, V1);

Powered by Google App Engine
This is Rietveld 408576698