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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 | 680 |
681 TEST(Neon) { | 681 TEST(Neon) { |
682 SET_UP(); | 682 SET_UP(); |
683 | 683 |
684 if (CpuFeatures::IsSupported(NEON)) { | 684 if (CpuFeatures::IsSupported(NEON)) { |
685 CpuFeatureScope scope(&assm, NEON); | 685 CpuFeatureScope scope(&assm, NEON); |
686 COMPARE(vld1(Neon8, NeonListOperand(d4, 4), NeonMemOperand(r1)), | 686 COMPARE(vld1(Neon8, NeonListOperand(d4, 4), NeonMemOperand(r1)), |
687 "f421420f vld1.8 {d4, d5, d6, d7}, [r1]"); | 687 "f421420f vld1.8 {d4, d5, d6, d7}, [r1]"); |
688 COMPARE(vst1(Neon16, NeonListOperand(d17, 4), NeonMemOperand(r9)), | 688 COMPARE(vst1(Neon16, NeonListOperand(d17, 4), NeonMemOperand(r9)), |
689 "f449124f vst1.16 {d17, d18, d19, d20}, [r9]"); | 689 "f449124f vst1.16 {d17, d18, d19, d20}, [r9]"); |
| 690 COMPARE(vmovl(NeonU8, q3, d1), |
| 691 "f3886a11 vmovl.u8 q3, d1"); |
690 COMPARE(vmovl(NeonU8, q4, d2), | 692 COMPARE(vmovl(NeonU8, q4, d2), |
691 "f3884a12 vmovl.u8 q4, d2"); | 693 "f3888a12 vmovl.u8 q4, d2"); |
692 } | 694 } |
693 | 695 |
694 VERIFY_RUN(); | 696 VERIFY_RUN(); |
695 } | 697 } |
696 | 698 |
697 | 699 |
698 TEST(LoadStore) { | 700 TEST(LoadStore) { |
699 SET_UP(); | 701 SET_UP(); |
700 | 702 |
701 COMPARE(ldrb(r0, MemOperand(r1)), | 703 COMPARE(ldrb(r0, MemOperand(r1)), |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 "e16dc7ff strd ip, [sp, #-127]!"); | 895 "e16dc7ff strd ip, [sp, #-127]!"); |
894 | 896 |
895 COMPARE(pld(MemOperand(r1, 0)), | 897 COMPARE(pld(MemOperand(r1, 0)), |
896 "f5d1f000 pld [r1]"); | 898 "f5d1f000 pld [r1]"); |
897 COMPARE(pld(MemOperand(r2, 128)), | 899 COMPARE(pld(MemOperand(r2, 128)), |
898 "f5d2f080 pld [r2, #+128]"); | 900 "f5d2f080 pld [r2, #+128]"); |
899 } | 901 } |
900 | 902 |
901 VERIFY_RUN(); | 903 VERIFY_RUN(); |
902 } | 904 } |
OLD | NEW |