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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 1891033002: [Atomics] Remove Atomics code stubs; use TF ops (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove s390 code stub 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 | « src/compiler/opcodes.h ('k') | src/compiler/typer.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 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 Node* Store(MachineRepresentation rep, Node* base, Node* value, 126 Node* Store(MachineRepresentation rep, Node* base, Node* value,
127 WriteBarrierKind write_barrier) { 127 WriteBarrierKind write_barrier) {
128 return Store(rep, base, IntPtrConstant(0), value, write_barrier); 128 return Store(rep, base, IntPtrConstant(0), value, write_barrier);
129 } 129 }
130 Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value, 130 Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value,
131 WriteBarrierKind write_barrier) { 131 WriteBarrierKind write_barrier) {
132 return AddNode(machine()->Store(StoreRepresentation(rep, write_barrier)), 132 return AddNode(machine()->Store(StoreRepresentation(rep, write_barrier)),
133 base, index, value); 133 base, index, value);
134 } 134 }
135 135
136 // Atomic memory operations.
137 Node* AtomicLoad(MachineType rep, Node* base, Node* index) {
138 return AddNode(machine()->AtomicLoad(rep), base, index);
139 }
140
136 // Arithmetic Operations. 141 // Arithmetic Operations.
137 Node* WordAnd(Node* a, Node* b) { 142 Node* WordAnd(Node* a, Node* b) {
138 return AddNode(machine()->WordAnd(), a, b); 143 return AddNode(machine()->WordAnd(), a, b);
139 } 144 }
140 Node* WordOr(Node* a, Node* b) { return AddNode(machine()->WordOr(), a, b); } 145 Node* WordOr(Node* a, Node* b) { return AddNode(machine()->WordOr(), a, b); }
141 Node* WordXor(Node* a, Node* b) { 146 Node* WordXor(Node* a, Node* b) {
142 return AddNode(machine()->WordXor(), a, b); 147 return AddNode(machine()->WordXor(), a, b);
143 } 148 }
144 Node* WordShl(Node* a, Node* b) { 149 Node* WordShl(Node* a, Node* b) {
145 return AddNode(machine()->WordShl(), a, b); 150 return AddNode(machine()->WordShl(), a, b);
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 bool deferred_; 752 bool deferred_;
748 friend class RawMachineAssembler; 753 friend class RawMachineAssembler;
749 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 754 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
750 }; 755 };
751 756
752 } // namespace compiler 757 } // namespace compiler
753 } // namespace internal 758 } // namespace internal
754 } // namespace v8 759 } // namespace v8
755 760
756 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 761 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698