OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 COMPARE(vcvt_u32_f64(s0, d0), | 585 COMPARE(vcvt_u32_f64(s0, d0), |
586 "eebc0bc0 vcvt.u32.f64 s0, d0"); | 586 "eebc0bc0 vcvt.u32.f64 s0, d0"); |
587 COMPARE(vcvt_s32_f64(s0, d0), | 587 COMPARE(vcvt_s32_f64(s0, d0), |
588 "eebd0bc0 vcvt.s32.f64 s0, d0"); | 588 "eebd0bc0 vcvt.s32.f64 s0, d0"); |
589 COMPARE(vcvt_f64_u32(d0, s1), | 589 COMPARE(vcvt_f64_u32(d0, s1), |
590 "eeb80b60 vcvt.f64.u32 d0, s1"); | 590 "eeb80b60 vcvt.f64.u32 d0, s1"); |
591 COMPARE(vcvt_f64_s32(d0, s1), | 591 COMPARE(vcvt_f64_s32(d0, s1), |
592 "eeb80be0 vcvt.f64.s32 d0, s1"); | 592 "eeb80be0 vcvt.f64.s32 d0, s1"); |
593 COMPARE(vcvt_f32_s32(s0, s2), | 593 COMPARE(vcvt_f32_s32(s0, s2), |
594 "eeb80ac1 vcvt.f32.s32 s0, s2"); | 594 "eeb80ac1 vcvt.f32.s32 s0, s2"); |
595 COMPARE(vcvt_f64_s32(d0, 1), | 595 if (CpuFeatures::IsSupported(VFP3)) { |
596 "eeba0bef vcvt.f64.s32 d0, d0, #1"); | 596 COMPARE(vcvt_f64_s32(d0, 1), |
| 597 "eeba0bef vcvt.f64.s32 d0, d0, #1"); |
| 598 COMPARE(vcvt_u32_f64(d0, 24), |
| 599 "eebf0bc4 vcvt.u32.f64 d0, d0, #24"); |
| 600 } |
597 | 601 |
598 if (CpuFeatures::IsSupported(VFP32DREGS)) { | 602 if (CpuFeatures::IsSupported(VFP32DREGS)) { |
599 COMPARE(vmov(d3, d27), | 603 COMPARE(vmov(d3, d27), |
600 "eeb03b6b vmov.f64 d3, d27"); | 604 "eeb03b6b vmov.f64 d3, d27"); |
601 COMPARE(vmov(d18, d7), | 605 COMPARE(vmov(d18, d7), |
602 "eef02b47 vmov.f64 d18, d7"); | 606 "eef02b47 vmov.f64 d18, d7"); |
603 COMPARE(vmov(d18, r2, r3), | 607 COMPARE(vmov(d18, r2, r3), |
604 "ec432b32 vmov d18, r2, r3"); | 608 "ec432b32 vmov d18, r2, r3"); |
605 COMPARE(vmov(r2, r3, d18), | 609 COMPARE(vmov(r2, r3, d18), |
606 "ec532b32 vmov r2, r3, d18"); | 610 "ec532b32 vmov r2, r3, d18"); |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 "e16dc7ff strd ip, [sp, #-127]!"); | 901 "e16dc7ff strd ip, [sp, #-127]!"); |
898 | 902 |
899 COMPARE(pld(MemOperand(r1, 0)), | 903 COMPARE(pld(MemOperand(r1, 0)), |
900 "f5d1f000 pld [r1]"); | 904 "f5d1f000 pld [r1]"); |
901 COMPARE(pld(MemOperand(r2, 128)), | 905 COMPARE(pld(MemOperand(r2, 128)), |
902 "f5d2f080 pld [r2, #+128]"); | 906 "f5d2f080 pld [r2, #+128]"); |
903 } | 907 } |
904 | 908 |
905 VERIFY_RUN(); | 909 VERIFY_RUN(); |
906 } | 910 } |
OLD | NEW |