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 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 IsFp64Mode()) { | 1059 IsFp64Mode()) { |
1060 COMPARE(cvt_d_l(f22, f24), "46a0c5a1 cvt.d.l f22, f24"); | 1060 COMPARE(cvt_d_l(f22, f24), "46a0c5a1 cvt.d.l f22, f24"); |
1061 COMPARE(cvt_l_d(f22, f24), "4620c5a5 cvt.l.d f22, f24"); | 1061 COMPARE(cvt_l_d(f22, f24), "4620c5a5 cvt.l.d f22, f24"); |
1062 | 1062 |
1063 COMPARE(cvt_s_l(f22, f24), "46a0c5a0 cvt.s.l f22, f24"); | 1063 COMPARE(cvt_s_l(f22, f24), "46a0c5a0 cvt.s.l f22, f24"); |
1064 COMPARE(cvt_l_s(f22, f24), "4600c5a5 cvt.l.s f22, f24"); | 1064 COMPARE(cvt_l_s(f22, f24), "4600c5a5 cvt.l.s f22, f24"); |
1065 } | 1065 } |
1066 | 1066 |
1067 VERIFY_RUN(); | 1067 VERIFY_RUN(); |
1068 } | 1068 } |
| 1069 |
| 1070 |
| 1071 TEST(ctc1_cfc1_disasm) { |
| 1072 SET_UP(); |
| 1073 COMPARE(abs_d(f10, f31), "4620fa85 abs.d f10, f31"); |
| 1074 COMPARE(ceil_w_s(f8, f31), "4600fa0e ceil.w.s f8, f31"); |
| 1075 COMPARE(ctc1(a0, FCSR), "44c4f800 ctc1 a0, FCSR"); |
| 1076 COMPARE(cfc1(a0, FCSR), "4444f800 cfc1 a0, FCSR"); |
| 1077 VERIFY_RUN(); |
| 1078 } |
OLD | NEW |