Index: test/cctest/test-disasm-mips.cc |
diff --git a/test/cctest/test-disasm-mips.cc b/test/cctest/test-disasm-mips.cc |
index f036f44466cbc7d0308823257b63c2828d327e24..f3ad12e57c60b80a429610d1f45b7c7a7cb12e02 100644 |
--- a/test/cctest/test-disasm-mips.cc |
+++ b/test/cctest/test-disasm-mips.cc |
@@ -1066,3 +1066,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(); |
+} |