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

Unified Diff: test/cctest/test-disasm-mips.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 | « src/mips64/disasm-mips64.cc ('k') | test/cctest/test-disasm-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+}
« no previous file with comments | « src/mips64/disasm-mips64.cc ('k') | test/cctest/test-disasm-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698