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

Side by Side 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 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 unified diff | Download patch
« no previous file with comments | « test/cctest/test-disasm-mips.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 COMPARE(cvt_s_w(f22, f24), "4680c5a0 cvt.s.w f22, f24"); 1235 COMPARE(cvt_s_w(f22, f24), "4680c5a0 cvt.s.w f22, f24");
1236 if (kArchVariant == kMips64r6 || kArchVariant == kMips64r2) { 1236 if (kArchVariant == kMips64r6 || kArchVariant == kMips64r2) {
1237 COMPARE(cvt_s_l(f22, f24), "46a0c5a0 cvt.s.l f22, f24"); 1237 COMPARE(cvt_s_l(f22, f24), "46a0c5a0 cvt.s.l f22, f24");
1238 } 1238 }
1239 1239
1240 COMPARE(cvt_s_d(f22, f24), "4620c5a0 cvt.s.d f22, f24"); 1240 COMPARE(cvt_s_d(f22, f24), "4620c5a0 cvt.s.d f22, f24");
1241 COMPARE(cvt_s_w(f22, f24), "4680c5a0 cvt.s.w f22, f24"); 1241 COMPARE(cvt_s_w(f22, f24), "4680c5a0 cvt.s.w f22, f24");
1242 1242
1243 VERIFY_RUN(); 1243 VERIFY_RUN();
1244 } 1244 }
1245
1246
1247 TEST(ctc1_cfc1_disasm) {
1248 SET_UP();
1249 COMPARE(abs_d(f10, f31), "4620fa85 abs.d f10, f31");
1250 COMPARE(ceil_w_s(f8, f31), "4600fa0e ceil.w.s f8, f31");
1251 COMPARE(ctc1(a0, FCSR), "44c4f800 ctc1 a0, FCSR");
1252 COMPARE(cfc1(a0, FCSR), "4444f800 cfc1 a0, FCSR");
1253 VERIFY_RUN();
1254 }
OLDNEW
« 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