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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 if (CpuFeatures::IsSupported(NEON)) { | 925 if (CpuFeatures::IsSupported(NEON)) { |
926 CpuFeatureScope scope(&assm, NEON); | 926 CpuFeatureScope scope(&assm, NEON); |
927 COMPARE(vld1(Neon8, NeonListOperand(d4, 4), NeonMemOperand(r1)), | 927 COMPARE(vld1(Neon8, NeonListOperand(d4, 4), NeonMemOperand(r1)), |
928 "f421420f vld1.8 {d4, d5, d6, d7}, [r1]"); | 928 "f421420f vld1.8 {d4, d5, d6, d7}, [r1]"); |
929 COMPARE(vst1(Neon16, NeonListOperand(d17, 4), NeonMemOperand(r9)), | 929 COMPARE(vst1(Neon16, NeonListOperand(d17, 4), NeonMemOperand(r9)), |
930 "f449124f vst1.16 {d17, d18, d19, d20}, [r9]"); | 930 "f449124f vst1.16 {d17, d18, d19, d20}, [r9]"); |
931 COMPARE(vmovl(NeonU8, q3, d1), | 931 COMPARE(vmovl(NeonU8, q3, d1), |
932 "f3886a11 vmovl.u8 q3, d1"); | 932 "f3886a11 vmovl.u8 q3, d1"); |
933 COMPARE(vmovl(NeonU8, q4, d2), | 933 COMPARE(vmovl(NeonU8, q4, d2), |
934 "f3888a12 vmovl.u8 q4, d2"); | 934 "f3888a12 vmovl.u8 q4, d2"); |
| 935 COMPARE(vswp(d0, d31), |
| 936 "f3b2002f vswp d0, d31"); |
| 937 COMPARE(vswp(d16, d14), |
| 938 "f3f2000e vswp d16, d14"); |
935 } | 939 } |
936 | 940 |
937 VERIFY_RUN(); | 941 VERIFY_RUN(); |
938 } | 942 } |
939 | 943 |
940 | 944 |
941 TEST(LoadStore) { | 945 TEST(LoadStore) { |
942 SET_UP(); | 946 SET_UP(); |
943 | 947 |
944 COMPARE(ldrb(r0, MemOperand(r1)), | 948 COMPARE(ldrb(r0, MemOperand(r1)), |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1215 | 1219 |
1216 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]"); | 1220 COMPARE(ldrexb(r0, r1), "e1d10f9f ldrexb r0, [r1]"); |
1217 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]"); | 1221 COMPARE(strexb(r0, r1, r2), "e1c20f91 strexb r0, r1, [r2]"); |
1218 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]"); | 1222 COMPARE(ldrexh(r0, r1), "e1f10f9f ldrexh r0, [r1]"); |
1219 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]"); | 1223 COMPARE(strexh(r0, r1, r2), "e1e20f91 strexh r0, r1, [r2]"); |
1220 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]"); | 1224 COMPARE(ldrex(r0, r1), "e1910f9f ldrex r0, [r1]"); |
1221 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]"); | 1225 COMPARE(strex(r0, r1, r2), "e1820f91 strex r0, r1, [r2]"); |
1222 | 1226 |
1223 VERIFY_RUN(); | 1227 VERIFY_RUN(); |
1224 } | 1228 } |
OLD | NEW |