Index: test/cctest/test-disasm-mips64.cc |
diff --git a/test/cctest/test-disasm-mips64.cc b/test/cctest/test-disasm-mips64.cc |
index 7da601e01de63e53d910a8f346df55be64258938..dc6f34e462fcdbf6a0d80f4ac66a34a2180f7ec3 100644 |
--- a/test/cctest/test-disasm-mips64.cc |
+++ b/test/cctest/test-disasm-mips64.cc |
@@ -683,6 +683,26 @@ TEST(Type0) { |
"70621020 clz v0, v1"); |
} |
+ COMPARE(seb(a0, a1), "7c052420 seb a0, a1"); |
+ COMPARE(seb(s6, s7), "7c17b420 seb s6, s7"); |
+ COMPARE(seb(v0, v1), "7c031420 seb v0, v1"); |
+ |
+ COMPARE(seh(a0, a1), "7c052620 seh a0, a1"); |
+ COMPARE(seh(s6, s7), "7c17b620 seh s6, s7"); |
+ COMPARE(seh(v0, v1), "7c031620 seh v0, v1"); |
+ |
+ COMPARE(wsbh(a0, a1), "7c0520a0 wsbh a0, a1"); |
+ COMPARE(wsbh(s6, s7), "7c17b0a0 wsbh s6, s7"); |
+ COMPARE(wsbh(v0, v1), "7c0310a0 wsbh v0, v1"); |
+ |
+ COMPARE(dsbh(a0, a1), "7c0520a4 dsbh a0, a1"); |
+ COMPARE(dsbh(s6, s7), "7c17b0a4 dsbh s6, s7"); |
+ COMPARE(dsbh(v0, v1), "7c0310a4 dsbh v0, v1"); |
+ |
+ COMPARE(dshd(a0, a1), "7c052164 dshd a0, a1"); |
+ COMPARE(dshd(s6, s7), "7c17b164 dshd s6, s7"); |
+ COMPARE(dshd(v0, v1), "7c031164 dshd v0, v1"); |
+ |
COMPARE(ins_(a0, a1, 31, 1), |
"7ca4ffc4 ins a0, a1, 31, 1"); |
COMPARE(ins_(s6, s7, 30, 2), |