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

Side by Side Diff: src/interpreter/bytecodes.h

Issue 1645763003: [Interpreter] TurboFan implementation of intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merged with oth@'s changes. Created 4 years, 9 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/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecodes.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTERPRETER_BYTECODES_H_ 5 #ifndef V8_INTERPRETER_BYTECODES_H_
6 #define V8_INTERPRETER_BYTECODES_H_ 6 #define V8_INTERPRETER_BYTECODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 // Clients of this interface shouldn't depend on lots of interpreter internals. 10 // Clients of this interface shouldn't depend on lots of interpreter internals.
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 OperandType::kIdx) \ 149 OperandType::kIdx) \
150 V(TailCall, OperandType::kReg, OperandType::kReg, OperandType::kRegCount, \ 150 V(TailCall, OperandType::kReg, OperandType::kReg, OperandType::kRegCount, \
151 OperandType::kIdx) \ 151 OperandType::kIdx) \
152 V(CallRuntime, OperandType::kRuntimeId, OperandType::kMaybeReg, \ 152 V(CallRuntime, OperandType::kRuntimeId, OperandType::kMaybeReg, \
153 OperandType::kRegCount) \ 153 OperandType::kRegCount) \
154 V(CallRuntimeForPair, OperandType::kRuntimeId, OperandType::kMaybeReg, \ 154 V(CallRuntimeForPair, OperandType::kRuntimeId, OperandType::kMaybeReg, \
155 OperandType::kRegCount, OperandType::kRegOutPair) \ 155 OperandType::kRegCount, OperandType::kRegOutPair) \
156 V(CallJSRuntime, OperandType::kIdx, OperandType::kReg, \ 156 V(CallJSRuntime, OperandType::kIdx, OperandType::kReg, \
157 OperandType::kRegCount) \ 157 OperandType::kRegCount) \
158 \ 158 \
159 /* Intrinsics */ \
160 V(InvokeIntrinsic, OperandType::kRuntimeId, OperandType::kMaybeReg, \
161 OperandType::kRegCount) \
162 \
159 /* New operator */ \ 163 /* New operator */ \
160 V(New, OperandType::kReg, OperandType::kMaybeReg, OperandType::kRegCount) \ 164 V(New, OperandType::kReg, OperandType::kMaybeReg, OperandType::kRegCount) \
161 \ 165 \
162 /* Test Operators */ \ 166 /* Test Operators */ \
163 V(TestEqual, OperandType::kReg) \ 167 V(TestEqual, OperandType::kReg) \
164 V(TestNotEqual, OperandType::kReg) \ 168 V(TestNotEqual, OperandType::kReg) \
165 V(TestEqualStrict, OperandType::kReg) \ 169 V(TestEqualStrict, OperandType::kReg) \
166 V(TestLessThan, OperandType::kReg) \ 170 V(TestLessThan, OperandType::kReg) \
167 V(TestGreaterThan, OperandType::kReg) \ 171 V(TestGreaterThan, OperandType::kReg) \
168 V(TestLessThanOrEqual, OperandType::kReg) \ 172 V(TestLessThanOrEqual, OperandType::kReg) \
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 522 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
519 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); 523 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale);
520 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); 524 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size);
521 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 525 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
522 526
523 } // namespace interpreter 527 } // namespace interpreter
524 } // namespace internal 528 } // namespace internal
525 } // namespace v8 529 } // namespace v8
526 530
527 #endif // V8_INTERPRETER_BYTECODES_H_ 531 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698