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

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

Issue 1481023002: MIPS: Fixup disasembler for ctc1 and cfc1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « test/cctest/test-disasm-mips.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+}
« no previous file with comments | « test/cctest/test-disasm-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698