| 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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 856 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)), | 856 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)), |
| 857 "e04987ff strd r8, [r9], #-127"); | 857 "e04987ff strd r8, [r9], #-127"); |
| 858 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)), | 858 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)), |
| 859 "e1eba7ff strd r10, [fp, #+127]!"); | 859 "e1eba7ff strd r10, [fp, #+127]!"); |
| 860 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)), | 860 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)), |
| 861 "e16dc7ff strd ip, [sp, #-127]!"); | 861 "e16dc7ff strd ip, [sp, #-127]!"); |
| 862 } | 862 } |
| 863 | 863 |
| 864 VERIFY_RUN(); | 864 VERIFY_RUN(); |
| 865 } | 865 } |
| 866 |
| 867 |
| 868 TEST(Preload) { |
| 869 SET_UP(); |
| 870 |
| 871 COMPARE(pld(MemOperand(r1)), |
| 872 "f5d1f000 pld [r1, #+0]"); |
| 873 COMPARE(pld(MemOperand(r2, 4)), |
| 874 "f5d2f004 pld [r2, #+4]"); |
| 875 COMPARE(pld(MemOperand(r3, -8)), |
| 876 "f553f008 pld [r3, #-8]"); |
| 877 COMPARE(pld(MemOperand(r1, r2)), |
| 878 "f7d1f002 pld [r1, +r2]"); |
| 879 COMPARE(pld(MemOperand(r4, r5, NegOffset)), |
| 880 "f754f005 pld [r4, -r5]"); |
| 881 COMPARE(pld(MemOperand(r1, r2, ASR, 2)), |
| 882 "f7d1f142 pld [r1, +r2, asr #2]"); |
| 883 COMPARE(pld(MemOperand(r3, r4, LSL, 8, NegOffset)), |
| 884 "f753f404 pld [r3, -r4, lsl #8]"); |
| 885 |
| 886 VERIFY_RUN(); |
| 887 } |
| 888 |
| OLD | NEW |