Index: test/cctest/test-disasm-mips64.cc |
diff --git a/test/cctest/test-disasm-mips64.cc b/test/cctest/test-disasm-mips64.cc |
index d2c02b115136b65db413dd76cb28c8b8eb8b0b26..32668ab31fd6328818976818d1b04a6acfa5fc80 100644 |
--- a/test/cctest/test-disasm-mips64.cc |
+++ b/test/cctest/test-disasm-mips64.cc |
@@ -1242,3 +1242,13 @@ TEST(CVT_DISSASM) { |
VERIFY_RUN(); |
} |
+ |
+ |
+TEST(ctc1_cfc1_disasm) { |
+ SET_UP(); |
+ COMPARE(abs_d(f10, f31), "4620fa85 abs.d f10, f31"); |
+ COMPARE(ceil_w_s(f8, f31), "4600fa0e ceil.w.s f8, f31"); |
+ COMPARE(ctc1(a0, FCSR), "44c4f800 ctc1 a0, FCSR"); |
+ COMPARE(cfc1(a0, FCSR), "4444f800 cfc1 a0, FCSR"); |
+ VERIFY_RUN(); |
+} |