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

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

Issue 1628453002: MIPS: Use PC realitive instructions on r6. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 11 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/mips64/macro-assembler-mips64.h ('k') | test/cctest/test-macro-assembler-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-mips.cc
diff --git a/test/cctest/test-assembler-mips.cc b/test/cctest/test-assembler-mips.cc
index 4f986cea9b1e396529e88aaf51d09e15cc472217..2a620add257358137a7313bac38f9892df957a24 100644
--- a/test/cctest/test-assembler-mips.cc
+++ b/test/cctest/test-assembler-mips.cc
@@ -5024,8 +5024,7 @@ TEST(r6_jialc) {
}
}
-
-uint64_t run_addiupc(int32_t imm19) {
+static uint32_t run_addiupc(int32_t imm19) {
Isolate* isolate = CcTest::i_isolate();
HandleScope scope(isolate);
@@ -5058,13 +5057,13 @@ TEST(r6_addiupc) {
int32_t imm19;
};
- struct TestCaseAddiupc tc[] = {
- // imm19
- { -262144 }, // 0x40000
- { -1 }, // 0x7FFFF
- { 0 },
- { 1 }, // 0x00001
- { 262143 } // 0x3FFFF
+ TestCaseAddiupc tc[] = {
+ // imm19
+ {-262144}, // 0x40000
+ {-1}, // 0x7FFFF
+ {0},
+ {1}, // 0x00001
+ {262143} // 0x3FFFF
};
size_t nr_test_cases = sizeof(tc) / sizeof(TestCaseAddiupc);
« no previous file with comments | « src/mips64/macro-assembler-mips64.h ('k') | test/cctest/test-macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698