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

Side by Side Diff: src/compiler/ia32/code-generator-ia32.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/instruction-selector-arm64.cc ('k') | src/compiler/instruction-codes.h » ('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 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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 break; 947 break;
948 case kCheckedStoreFloat64: 948 case kCheckedStoreFloat64:
949 ASSEMBLE_CHECKED_STORE_FLOAT(movsd); 949 ASSEMBLE_CHECKED_STORE_FLOAT(movsd);
950 break; 950 break;
951 case kIA32StackCheck: { 951 case kIA32StackCheck: {
952 ExternalReference const stack_limit = 952 ExternalReference const stack_limit =
953 ExternalReference::address_of_stack_limit(isolate()); 953 ExternalReference::address_of_stack_limit(isolate());
954 __ cmp(esp, Operand::StaticVariable(stack_limit)); 954 __ cmp(esp, Operand::StaticVariable(stack_limit));
955 break; 955 break;
956 } 956 }
957 case kCheckedLoadWord64:
958 case kCheckedStoreWord64:
959 UNREACHABLE(); // currently unsupported checked int64 load/store.
960 break;
957 } 961 }
958 } // NOLINT(readability/fn_size) 962 } // NOLINT(readability/fn_size)
959 963
960 964
961 // Assembles a branch after an instruction. 965 // Assembles a branch after an instruction.
962 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { 966 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) {
963 IA32OperandConverter i(this, instr); 967 IA32OperandConverter i(this, instr);
964 Label::Distance flabel_distance = 968 Label::Distance flabel_distance =
965 branch->fallthru ? Label::kNear : Label::kFar; 969 branch->fallthru ? Label::kNear : Label::kFar;
966 Label* tlabel = branch->true_label; 970 Label* tlabel = branch->true_label;
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 1534 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
1531 __ Nop(padding_size); 1535 __ Nop(padding_size);
1532 } 1536 }
1533 } 1537 }
1534 1538
1535 #undef __ 1539 #undef __
1536 1540
1537 } // namespace compiler 1541 } // namespace compiler
1538 } // namespace internal 1542 } // namespace internal
1539 } // namespace v8 1543 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698