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

Side by Side Diff: src/compiler/x87/code-generator-x87.cc

Issue 1897143003: X87: [Atomics] Remove Atomics code stubs; use TF ops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | src/compiler/x87/instruction-selector-x87.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 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/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1768 case kX87StackCheck: { 1768 case kX87StackCheck: {
1769 ExternalReference const stack_limit = 1769 ExternalReference const stack_limit =
1770 ExternalReference::address_of_stack_limit(isolate()); 1770 ExternalReference::address_of_stack_limit(isolate());
1771 __ cmp(esp, Operand::StaticVariable(stack_limit)); 1771 __ cmp(esp, Operand::StaticVariable(stack_limit));
1772 break; 1772 break;
1773 } 1773 }
1774 case kCheckedLoadWord64: 1774 case kCheckedLoadWord64:
1775 case kCheckedStoreWord64: 1775 case kCheckedStoreWord64:
1776 UNREACHABLE(); // currently unsupported checked int64 load/store. 1776 UNREACHABLE(); // currently unsupported checked int64 load/store.
1777 break; 1777 break;
1778 case kAtomicLoadInt8:
1779 case kAtomicLoadUint8:
1780 case kAtomicLoadInt16:
1781 case kAtomicLoadUint16:
1782 case kAtomicLoadWord32:
1783 UNREACHABLE(); // Won't be generated by instruction selector.
1784 break;
1778 } 1785 }
1779 } // NOLINT(readability/fn_size) 1786 } // NOLINT(readability/fn_size)
1780 1787
1781 1788
1782 // Assembles a branch after an instruction. 1789 // Assembles a branch after an instruction.
1783 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { 1790 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) {
1784 X87OperandConverter i(this, instr); 1791 X87OperandConverter i(this, instr);
1785 Label::Distance flabel_distance = 1792 Label::Distance flabel_distance =
1786 branch->fallthru ? Label::kNear : Label::kFar; 1793 branch->fallthru ? Label::kNear : Label::kFar;
1787 1794
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
2453 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2460 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2454 __ Nop(padding_size); 2461 __ Nop(padding_size);
2455 } 2462 }
2456 } 2463 }
2457 2464
2458 #undef __ 2465 #undef __
2459 2466
2460 } // namespace compiler 2467 } // namespace compiler
2461 } // namespace internal 2468 } // namespace internal
2462 } // namespace v8 2469 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/x87/instruction-selector-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698