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

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

Issue 1057323002: MIPS: Major fixes and clean-up in asm. for instruction encoding. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Typos addressed. Created 5 years, 8 months 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 638cfee3b82a9998caf1efc680a60f6ba02f9f15..2914cb66dda2fc3f57816639f9112df9d863cbb6 100644
--- a/test/cctest/test-disasm-mips64.cc
+++ b/test/cctest/test-disasm-mips64.cc
@@ -92,25 +92,6 @@ if (failure) { \
}
-TEST(Type1) {
- if (kArchVariant == kMips64r6) {
- SET_UP();
- COMPARE(seleqz(a0, a1, a2), "00853035 seleqz a0, a1, a2");
- COMPARE(selnez(a0, a1, a2), "00853037 selnez a0, a1, a2");
-
-
- COMPARE(seleqz(D, f3, f4, f5), "462428d4 seleqz.D f4, f5, f3");
- COMPARE(selnez(D, f3, f4, f5), "462428d7 selnez.D f4, f5, f3");
-
- /*COMPARE(min(D, f3, f4, f5),
- "462428dc min.D f4, f5, f3");
- COMPARE(max(D, f3, f4, f5),
- "462428de max.D f4, f5, f3");*/
- VERIFY_RUN();
- }
-}
-
-
TEST(Type0) {
SET_UP();
@@ -690,3 +671,20 @@ TEST(Type0) {
VERIFY_RUN();
}
+
+
+TEST(Type1) {
+ if (kArchVariant == kMips64r6) {
+ SET_UP();
+ COMPARE(seleqz(a0, a1, a2), "00a62035 seleqz a0, a1, a2");
+ COMPARE(selnez(a0, a1, a2), "00a62037 selnez a0, a1, a2");
+
+
+ COMPARE(seleqz(D, f3, f4, f5), "462520d4 seleqz.d f3, f4, f5");
+ COMPARE(selnez(D, f3, f4, f5), "462520d7 selnez.d f3, f4, f5");
+
+ COMPARE(min(D, f3, f4, f5), "462520dc min.d f3, f4, f5");
+ COMPARE(max(D, f3, f4, f5), "462520de max.d f3, f4, f5");
+ 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