Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 1310323006: [turbofan] support for Int64 in CheckedLoad/CheckedStore on 64-bit platforms. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698