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

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

Issue 2801683003: MIPS[64]: Support for some SIMD operations (8) (Closed)
Patch Set: Created 3 years, 8 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: test/cctest/test-disasm-mips.cc
diff --git a/test/cctest/test-disasm-mips.cc b/test/cctest/test-disasm-mips.cc
index a8e13937b70165d9ded56c916f2b59a6067537c4..50b3432006739840437de9f4e4c48de6215dced9 100644
--- a/test/cctest/test-disasm-mips.cc
+++ b/test/cctest/test-disasm-mips.cc
@@ -1131,14 +1131,14 @@ TEST(MSA_BRANCH) {
32767);
COMPARE_MSA_BRANCH(bnz_d(w3, -32768), "47e38000 bnz.d w3, -32768",
-32768);
- COMPARE_MSA_BRANCH(bnz_v(w0, 0), "45e00000 bnz.v w0, 0", 0);
+ COMPARE_MSA_BRANCH(bnz_v(w0, (int16_t)0), "45e00000 bnz.v w0, 0", 0);
ivica.bogosavljevic 2017/05/15 14:59:06 use static_cast<int16_t> like the others
dusan.simicic 2017/05/19 08:55:01 Done.
COMPARE_MSA_BRANCH(bz_b(w0, 1), "47000001 bz.b w0, 1", 1);
COMPARE_MSA_BRANCH(bz_h(w1, -1), "4721ffff bz.h w1, -1", -1);
COMPARE_MSA_BRANCH(bz_w(w2, 32767), "47427fff bz.w w2, 32767",
32767);
COMPARE_MSA_BRANCH(bz_d(w3, -32768), "47638000 bz.d w3, -32768",
-32768);
- COMPARE_MSA_BRANCH(bz_v(w0, 0), "45600000 bz.v w0, 0", 0);
+ COMPARE_MSA_BRANCH(bz_v(w0, (int16_t)0), "45600000 bz.v w0, 0", 0);
}
VERIFY_RUN();
}

Powered by Google App Engine
This is Rietveld 408576698