OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/instruction-selector-impl.h" | 5 #include "src/compiler/instruction-selector-impl.h" |
6 #include "src/compiler/node-matchers.h" | 6 #include "src/compiler/node-matchers.h" |
7 #include "src/compiler/node-properties.h" | 7 #include "src/compiler/node-properties.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 switch (rep) { | 451 switch (rep) { |
452 case kRepWord8: | 452 case kRepWord8: |
453 opcode = typ == kTypeInt32 ? kCheckedLoadInt8 : kCheckedLoadUint8; | 453 opcode = typ == kTypeInt32 ? kCheckedLoadInt8 : kCheckedLoadUint8; |
454 break; | 454 break; |
455 case kRepWord16: | 455 case kRepWord16: |
456 opcode = typ == kTypeInt32 ? kCheckedLoadInt16 : kCheckedLoadUint16; | 456 opcode = typ == kTypeInt32 ? kCheckedLoadInt16 : kCheckedLoadUint16; |
457 break; | 457 break; |
458 case kRepWord32: | 458 case kRepWord32: |
459 opcode = kCheckedLoadWord32; | 459 opcode = kCheckedLoadWord32; |
460 break; | 460 break; |
| 461 case kRepWord64: |
| 462 opcode = kCheckedLoadWord64; |
| 463 break; |
461 case kRepFloat32: | 464 case kRepFloat32: |
462 opcode = kCheckedLoadFloat32; | 465 opcode = kCheckedLoadFloat32; |
463 break; | 466 break; |
464 case kRepFloat64: | 467 case kRepFloat64: |
465 opcode = kCheckedLoadFloat64; | 468 opcode = kCheckedLoadFloat64; |
466 break; | 469 break; |
467 default: | 470 default: |
468 UNREACHABLE(); | 471 UNREACHABLE(); |
469 return; | 472 return; |
470 } | 473 } |
(...skipping 13 matching lines...) Expand all Loading... |
484 switch (rep) { | 487 switch (rep) { |
485 case kRepWord8: | 488 case kRepWord8: |
486 opcode = kCheckedStoreWord8; | 489 opcode = kCheckedStoreWord8; |
487 break; | 490 break; |
488 case kRepWord16: | 491 case kRepWord16: |
489 opcode = kCheckedStoreWord16; | 492 opcode = kCheckedStoreWord16; |
490 break; | 493 break; |
491 case kRepWord32: | 494 case kRepWord32: |
492 opcode = kCheckedStoreWord32; | 495 opcode = kCheckedStoreWord32; |
493 break; | 496 break; |
| 497 case kRepWord64: |
| 498 opcode = kCheckedStoreWord64; |
| 499 break; |
494 case kRepFloat32: | 500 case kRepFloat32: |
495 opcode = kCheckedStoreFloat32; | 501 opcode = kCheckedStoreFloat32; |
496 break; | 502 break; |
497 case kRepFloat64: | 503 case kRepFloat64: |
498 opcode = kCheckedStoreFloat64; | 504 opcode = kCheckedStoreFloat64; |
499 break; | 505 break; |
500 default: | 506 default: |
501 UNREACHABLE(); | 507 UNREACHABLE(); |
502 return; | 508 return; |
503 } | 509 } |
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2077 MachineOperatorBuilder::kFloat64RoundTruncate | | 2083 MachineOperatorBuilder::kFloat64RoundTruncate | |
2078 MachineOperatorBuilder::kFloat64RoundTiesAway | | 2084 MachineOperatorBuilder::kFloat64RoundTiesAway | |
2079 MachineOperatorBuilder::kWord32ShiftIsSafe | | 2085 MachineOperatorBuilder::kWord32ShiftIsSafe | |
2080 MachineOperatorBuilder::kInt32DivIsSafe | | 2086 MachineOperatorBuilder::kInt32DivIsSafe | |
2081 MachineOperatorBuilder::kUint32DivIsSafe; | 2087 MachineOperatorBuilder::kUint32DivIsSafe; |
2082 } | 2088 } |
2083 | 2089 |
2084 } // namespace compiler | 2090 } // namespace compiler |
2085 } // namespace internal | 2091 } // namespace internal |
2086 } // namespace v8 | 2092 } // namespace v8 |
OLD | NEW |