Index: test/cctest/test-disasm-mips64.cc |
diff --git a/test/cctest/test-disasm-mips64.cc b/test/cctest/test-disasm-mips64.cc |
index 5046527d4e4fcf25236a65fed9bb8e90acbcd180..fe5eec5bfa90087096cc63a70a3beb409c128adc 100644 |
--- a/test/cctest/test-disasm-mips64.cc |
+++ b/test/cctest/test-disasm-mips64.cc |
@@ -1332,14 +1332,16 @@ 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, static_cast<int16_t>(0)), |
+ "45e00000 bnz.v w0, 0", 0); |
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, static_cast<int16_t>(0)), |
+ "45600000 bz.v w0, 0", 0); |
} |
VERIFY_RUN(); |
} |