| 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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 "e16dc7ff strd ip, [sp, #-127]!"); | 897 "e16dc7ff strd ip, [sp, #-127]!"); |
| 898 | 898 |
| 899 COMPARE(pld(MemOperand(r1, 0)), | 899 COMPARE(pld(MemOperand(r1, 0)), |
| 900 "f5d1f000 pld [r1]"); | 900 "f5d1f000 pld [r1]"); |
| 901 COMPARE(pld(MemOperand(r2, 128)), | 901 COMPARE(pld(MemOperand(r2, 128)), |
| 902 "f5d2f080 pld [r2, #+128]"); | 902 "f5d2f080 pld [r2, #+128]"); |
| 903 } | 903 } |
| 904 | 904 |
| 905 VERIFY_RUN(); | 905 VERIFY_RUN(); |
| 906 } | 906 } |
| 907 |
| 908 |
| 909 TEST(AArch32) { |
| 910 SET_UP(); |
| 911 |
| 912 if (CpuFeatures::IsSupported(ARMv8)) { |
| 913 COMPARE(vcvta_s32_f64(s2, d0), |
| 914 "febc1bc0 vcvta.s32.f64 s2, d0"); |
| 915 COMPARE(vcvtn_s32_f64(s3, d4), |
| 916 "fefd1bc4 vcvtn.s32.f64 s3, d4"); |
| 917 COMPARE(vcvtp_s32_f64(s6, d5), |
| 918 "febe3bc5 vcvtp.s32.f64 s6, d5"); |
| 919 COMPARE(vcvtm_s32_f64(s7, d8), |
| 920 "feff3bc8 vcvtm.s32.f64 s7, d8"); |
| 921 COMPARE(vcvta_u32_f64(s18, d20), |
| 922 "febc9b64 vcvta.u32.f64 s18, d20"); |
| 923 COMPARE(vcvtn_u32_f64(s21, d30), |
| 924 "fefdab6e vcvtn.u32.f64 s21, d30"); |
| 925 COMPARE(vcvtp_u32_f64(s22, d31), |
| 926 "febebb6f vcvtp.u32.f64 s22, d31"); |
| 927 COMPARE(vcvtm_u32_f64(s31, d31), |
| 928 "fefffb6f vcvtm.u32.f64 s31, d31"); |
| 929 } |
| 930 |
| 931 VERIFY_RUN(); |
| 932 } |
| OLD | NEW |