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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 COMPARE(seh(v0, v1), "7c031620 seh v0, v1"); | 692 COMPARE(seh(v0, v1), "7c031620 seh v0, v1"); |
693 | 693 |
694 COMPARE(wsbh(a0, a1), "7c0520a0 wsbh a0, a1"); | 694 COMPARE(wsbh(a0, a1), "7c0520a0 wsbh a0, a1"); |
695 COMPARE(wsbh(s6, s7), "7c17b0a0 wsbh s6, s7"); | 695 COMPARE(wsbh(s6, s7), "7c17b0a0 wsbh s6, s7"); |
696 COMPARE(wsbh(v0, v1), "7c0310a0 wsbh v0, v1"); | 696 COMPARE(wsbh(v0, v1), "7c0310a0 wsbh v0, v1"); |
697 | 697 |
698 COMPARE(dsbh(a0, a1), "7c0520a4 dsbh a0, a1"); | 698 COMPARE(dsbh(a0, a1), "7c0520a4 dsbh a0, a1"); |
699 COMPARE(dsbh(s6, s7), "7c17b0a4 dsbh s6, s7"); | 699 COMPARE(dsbh(s6, s7), "7c17b0a4 dsbh s6, s7"); |
700 COMPARE(dsbh(v0, v1), "7c0310a4 dsbh v0, v1"); | 700 COMPARE(dsbh(v0, v1), "7c0310a4 dsbh v0, v1"); |
701 | 701 |
| 702 COMPARE(dins_(a0, a1, 31, 1), "7ca4ffc7 dins a0, a1, 31, 1"); |
| 703 COMPARE(dins_(s6, s7, 30, 2), "7ef6ff87 dins s6, s7, 30, 2"); |
| 704 COMPARE(dins_(v0, v1, 0, 32), "7c62f807 dins v0, v1, 0, 32"); |
| 705 |
702 COMPARE(dshd(a0, a1), "7c052164 dshd a0, a1"); | 706 COMPARE(dshd(a0, a1), "7c052164 dshd a0, a1"); |
703 COMPARE(dshd(s6, s7), "7c17b164 dshd s6, s7"); | 707 COMPARE(dshd(s6, s7), "7c17b164 dshd s6, s7"); |
704 COMPARE(dshd(v0, v1), "7c031164 dshd v0, v1"); | 708 COMPARE(dshd(v0, v1), "7c031164 dshd v0, v1"); |
705 | 709 |
706 COMPARE(ins_(a0, a1, 31, 1), | 710 COMPARE(ins_(a0, a1, 31, 1), |
707 "7ca4ffc4 ins a0, a1, 31, 1"); | 711 "7ca4ffc4 ins a0, a1, 31, 1"); |
708 COMPARE(ins_(s6, s7, 30, 2), | 712 COMPARE(ins_(s6, s7, 30, 2), |
709 "7ef6ff84 ins s6, s7, 30, 2"); | 713 "7ef6ff84 ins s6, s7, 30, 2"); |
710 COMPARE(ins_(v0, v1, 0, 32), | 714 COMPARE(ins_(v0, v1, 0, 32), |
711 "7c62f804 ins v0, v1, 0, 32"); | 715 "7c62f804 ins v0, v1, 0, 32"); |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 | 1269 |
1266 | 1270 |
1267 TEST(ctc1_cfc1_disasm) { | 1271 TEST(ctc1_cfc1_disasm) { |
1268 SET_UP(); | 1272 SET_UP(); |
1269 COMPARE(abs_d(f10, f31), "4620fa85 abs.d f10, f31"); | 1273 COMPARE(abs_d(f10, f31), "4620fa85 abs.d f10, f31"); |
1270 COMPARE(ceil_w_s(f8, f31), "4600fa0e ceil.w.s f8, f31"); | 1274 COMPARE(ceil_w_s(f8, f31), "4600fa0e ceil.w.s f8, f31"); |
1271 COMPARE(ctc1(a0, FCSR), "44c4f800 ctc1 a0, FCSR"); | 1275 COMPARE(ctc1(a0, FCSR), "44c4f800 ctc1 a0, FCSR"); |
1272 COMPARE(cfc1(a0, FCSR), "4444f800 cfc1 a0, FCSR"); | 1276 COMPARE(cfc1(a0, FCSR), "4444f800 cfc1 a0, FCSR"); |
1273 VERIFY_RUN(); | 1277 VERIFY_RUN(); |
1274 } | 1278 } |
OLD | NEW |