OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
6 | 6 |
7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" |
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1264 break; | 1264 break; |
1265 case kCheckedLoadInt16: | 1265 case kCheckedLoadInt16: |
1266 ASSEMBLE_CHECKED_LOAD_INTEGER(movsxwl); | 1266 ASSEMBLE_CHECKED_LOAD_INTEGER(movsxwl); |
1267 break; | 1267 break; |
1268 case kCheckedLoadUint16: | 1268 case kCheckedLoadUint16: |
1269 ASSEMBLE_CHECKED_LOAD_INTEGER(movzxwl); | 1269 ASSEMBLE_CHECKED_LOAD_INTEGER(movzxwl); |
1270 break; | 1270 break; |
1271 case kCheckedLoadWord32: | 1271 case kCheckedLoadWord32: |
1272 ASSEMBLE_CHECKED_LOAD_INTEGER(movl); | 1272 ASSEMBLE_CHECKED_LOAD_INTEGER(movl); |
1273 break; | 1273 break; |
| 1274 case kCheckedLoadWord64: |
| 1275 ASSEMBLE_CHECKED_LOAD_INTEGER(movq); |
| 1276 break; |
1274 case kCheckedLoadFloat32: | 1277 case kCheckedLoadFloat32: |
1275 ASSEMBLE_CHECKED_LOAD_FLOAT(movss); | 1278 ASSEMBLE_CHECKED_LOAD_FLOAT(movss); |
1276 break; | 1279 break; |
1277 case kCheckedLoadFloat64: | 1280 case kCheckedLoadFloat64: |
1278 ASSEMBLE_CHECKED_LOAD_FLOAT(movsd); | 1281 ASSEMBLE_CHECKED_LOAD_FLOAT(movsd); |
1279 break; | 1282 break; |
1280 case kCheckedStoreWord8: | 1283 case kCheckedStoreWord8: |
1281 ASSEMBLE_CHECKED_STORE_INTEGER(movb); | 1284 ASSEMBLE_CHECKED_STORE_INTEGER(movb); |
1282 break; | 1285 break; |
1283 case kCheckedStoreWord16: | 1286 case kCheckedStoreWord16: |
1284 ASSEMBLE_CHECKED_STORE_INTEGER(movw); | 1287 ASSEMBLE_CHECKED_STORE_INTEGER(movw); |
1285 break; | 1288 break; |
1286 case kCheckedStoreWord32: | 1289 case kCheckedStoreWord32: |
1287 ASSEMBLE_CHECKED_STORE_INTEGER(movl); | 1290 ASSEMBLE_CHECKED_STORE_INTEGER(movl); |
1288 break; | 1291 break; |
| 1292 case kCheckedStoreWord64: |
| 1293 ASSEMBLE_CHECKED_STORE_INTEGER(movq); |
| 1294 break; |
1289 case kCheckedStoreFloat32: | 1295 case kCheckedStoreFloat32: |
1290 ASSEMBLE_CHECKED_STORE_FLOAT(movss); | 1296 ASSEMBLE_CHECKED_STORE_FLOAT(movss); |
1291 break; | 1297 break; |
1292 case kCheckedStoreFloat64: | 1298 case kCheckedStoreFloat64: |
1293 ASSEMBLE_CHECKED_STORE_FLOAT(movsd); | 1299 ASSEMBLE_CHECKED_STORE_FLOAT(movsd); |
1294 break; | 1300 break; |
1295 case kX64StackCheck: | 1301 case kX64StackCheck: |
1296 __ CompareRoot(rsp, Heap::kStackLimitRootIndex); | 1302 __ CompareRoot(rsp, Heap::kStackLimitRootIndex); |
1297 break; | 1303 break; |
1298 } | 1304 } |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1772 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 1778 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
1773 __ Nop(padding_size); | 1779 __ Nop(padding_size); |
1774 } | 1780 } |
1775 } | 1781 } |
1776 | 1782 |
1777 #undef __ | 1783 #undef __ |
1778 | 1784 |
1779 } // namespace internal | 1785 } // namespace internal |
1780 } // namespace compiler | 1786 } // namespace compiler |
1781 } // namespace v8 | 1787 } // namespace v8 |
OLD | NEW |