OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |