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

Side by Side Diff: src/compiler/mips64/instruction-selector-mips64.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/mips64/code-generator-mips64.cc ('k') | src/compiler/ppc/code-generator-ppc.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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 switch (rep) { 834 switch (rep) {
835 case kRepWord8: 835 case kRepWord8:
836 opcode = typ == kTypeInt32 ? kCheckedLoadInt8 : kCheckedLoadUint8; 836 opcode = typ == kTypeInt32 ? kCheckedLoadInt8 : kCheckedLoadUint8;
837 break; 837 break;
838 case kRepWord16: 838 case kRepWord16:
839 opcode = typ == kTypeInt32 ? kCheckedLoadInt16 : kCheckedLoadUint16; 839 opcode = typ == kTypeInt32 ? kCheckedLoadInt16 : kCheckedLoadUint16;
840 break; 840 break;
841 case kRepWord32: 841 case kRepWord32:
842 opcode = kCheckedLoadWord32; 842 opcode = kCheckedLoadWord32;
843 break; 843 break;
844 case kRepWord64:
845 opcode = kCheckedLoadWord64;
846 break;
844 case kRepFloat32: 847 case kRepFloat32:
845 opcode = kCheckedLoadFloat32; 848 opcode = kCheckedLoadFloat32;
846 break; 849 break;
847 case kRepFloat64: 850 case kRepFloat64:
848 opcode = kCheckedLoadFloat64; 851 opcode = kCheckedLoadFloat64;
849 break; 852 break;
850 default: 853 default:
851 UNREACHABLE(); 854 UNREACHABLE();
852 return; 855 return;
853 } 856 }
(...skipping 24 matching lines...) Expand all
878 switch (rep) { 881 switch (rep) {
879 case kRepWord8: 882 case kRepWord8:
880 opcode = kCheckedStoreWord8; 883 opcode = kCheckedStoreWord8;
881 break; 884 break;
882 case kRepWord16: 885 case kRepWord16:
883 opcode = kCheckedStoreWord16; 886 opcode = kCheckedStoreWord16;
884 break; 887 break;
885 case kRepWord32: 888 case kRepWord32:
886 opcode = kCheckedStoreWord32; 889 opcode = kCheckedStoreWord32;
887 break; 890 break;
891 case kRepWord64:
892 opcode = kCheckedStoreWord64;
893 break;
888 case kRepFloat32: 894 case kRepFloat32:
889 opcode = kCheckedStoreFloat32; 895 opcode = kCheckedStoreFloat32;
890 break; 896 break;
891 case kRepFloat64: 897 case kRepFloat64:
892 opcode = kCheckedStoreFloat64; 898 opcode = kCheckedStoreFloat64;
893 break; 899 break;
894 default: 900 default:
895 UNREACHABLE(); 901 UNREACHABLE();
896 return; 902 return;
897 } 903 }
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 // static 1317 // static
1312 MachineOperatorBuilder::Flags 1318 MachineOperatorBuilder::Flags
1313 InstructionSelector::SupportedMachineOperatorFlags() { 1319 InstructionSelector::SupportedMachineOperatorFlags() {
1314 return MachineOperatorBuilder::kFloat64RoundDown | 1320 return MachineOperatorBuilder::kFloat64RoundDown |
1315 MachineOperatorBuilder::kFloat64RoundTruncate; 1321 MachineOperatorBuilder::kFloat64RoundTruncate;
1316 } 1322 }
1317 1323
1318 } // namespace compiler 1324 } // namespace compiler
1319 } // namespace internal 1325 } // namespace internal
1320 } // namespace v8 1326 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/ppc/code-generator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698