OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1269 COMPARE(ldaxr(w6, x7), "ldaxr w6, [x7]"); | 1269 COMPARE(ldaxr(w6, x7), "ldaxr w6, [x7]"); |
1270 COMPARE(ldaxrb(w8, x9), "ldaxrb w8, [x9]"); | 1270 COMPARE(ldaxrb(w8, x9), "ldaxrb w8, [x9]"); |
1271 COMPARE(ldaxrh(w10, x11), "ldaxrh w10, [x11]"); | 1271 COMPARE(ldaxrh(w10, x11), "ldaxrh w10, [x11]"); |
1272 COMPARE(stlr(w12, x13), "stlr w12, [x13]"); | 1272 COMPARE(stlr(w12, x13), "stlr w12, [x13]"); |
1273 COMPARE(stlrb(w14, x15), "stlrb w14, [x15]"); | 1273 COMPARE(stlrb(w14, x15), "stlrb w14, [x15]"); |
1274 COMPARE(stlrh(w16, x17), "stlrh w16, [x17]"); | 1274 COMPARE(stlrh(w16, x17), "stlrh w16, [x17]"); |
1275 COMPARE(stlxr(w18, w19, x20), "stlxr w18, w19, [x20]"); | 1275 COMPARE(stlxr(w18, w19, x20), "stlxr w18, w19, [x20]"); |
1276 COMPARE(stlxrb(w21, w22, x23), "stlxrb w21, w22, [x23]"); | 1276 COMPARE(stlxrb(w21, w22, x23), "stlxrb w21, w22, [x23]"); |
1277 COMPARE(stlxrh(w24, w25, x26), "stlxrh w24, w25, [x26]"); | 1277 COMPARE(stlxrh(w24, w25, x26), "stlxrh w24, w25, [x26]"); |
1278 | 1278 |
| 1279 COMPARE(ldarb(wzr, csp), "ldarb wzr, [csp]"); |
| 1280 COMPARE(ldarh(wzr, csp), "ldarh wzr, [csp]"); |
| 1281 COMPARE(ldar(wzr, csp), "ldar wzr, [csp]"); |
| 1282 COMPARE(stlrb(wzr, csp), "stlrb wzr, [csp]"); |
| 1283 COMPARE(stlrh(wzr, csp), "stlrh wzr, [csp]"); |
| 1284 COMPARE(stlr(wzr, csp), "stlr wzr, [csp]"); |
| 1285 COMPARE(ldaxrb(wzr, csp), "ldaxrb wzr, [csp]"); |
| 1286 COMPARE(ldaxrh(wzr, csp), "ldaxrh wzr, [csp]"); |
| 1287 COMPARE(ldaxr(wzr, csp), "ldaxr wzr, [csp]"); |
| 1288 COMPARE(stlxrb(wzr, wzr, csp), "stlxrb wzr, wzr, [csp]"); |
| 1289 COMPARE(stlxrh(wzr, wzr, csp), "stlxrh wzr, wzr, [csp]"); |
| 1290 COMPARE(stlxr(wzr, wzr, csp), "stlxr wzr, wzr, [csp]"); |
| 1291 |
1279 CLEANUP(); | 1292 CLEANUP(); |
1280 } | 1293 } |
1281 | 1294 |
1282 #if 0 // TODO(all): enable. | 1295 #if 0 // TODO(all): enable. |
1283 TEST_(load_literal) { | 1296 TEST_(load_literal) { |
1284 SET_UP_ASM(); | 1297 SET_UP_ASM(); |
1285 | 1298 |
1286 COMPARE_PREFIX(ldr(x10, 0x1234567890abcdefUL), "ldr x10, pc+8"); | 1299 COMPARE_PREFIX(ldr(x10, 0x1234567890abcdefUL), "ldr x10, pc+8"); |
1287 COMPARE_PREFIX(ldr(w20, 0xfedcba09), "ldr w20, pc+8"); | 1300 COMPARE_PREFIX(ldr(w20, 0xfedcba09), "ldr w20, pc+8"); |
1288 COMPARE_PREFIX(ldr(d11, 1.234), "ldr d11, pc+8"); | 1301 COMPARE_PREFIX(ldr(d11, 1.234), "ldr d11, pc+8"); |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1771 COMPARE(Dsb(FullSystem, BarrierOther), "dsb sy (0b1100)"); | 1784 COMPARE(Dsb(FullSystem, BarrierOther), "dsb sy (0b1100)"); |
1772 COMPARE(Dsb(InnerShareable, BarrierOther), "dsb sy (0b1000)"); | 1785 COMPARE(Dsb(InnerShareable, BarrierOther), "dsb sy (0b1000)"); |
1773 COMPARE(Dsb(NonShareable, BarrierOther), "dsb sy (0b0100)"); | 1786 COMPARE(Dsb(NonShareable, BarrierOther), "dsb sy (0b0100)"); |
1774 COMPARE(Dsb(OuterShareable, BarrierOther), "dsb sy (0b0000)"); | 1787 COMPARE(Dsb(OuterShareable, BarrierOther), "dsb sy (0b0000)"); |
1775 | 1788 |
1776 // ISB | 1789 // ISB |
1777 COMPARE(Isb(), "isb"); | 1790 COMPARE(Isb(), "isb"); |
1778 | 1791 |
1779 CLEANUP(); | 1792 CLEANUP(); |
1780 } | 1793 } |
OLD | NEW |