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

Side by Side Diff: src/compiler/x64/instruction-codes-x64.h

Issue 2776753004: [wasm] Make Opcode names consistent across architectures, implementations (Closed)
Patch Set: Fix Saturates Created 3 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/x64/code-generator-x64.cc ('k') | src/compiler/x64/instruction-scheduler-x64.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_X64_INSTRUCTION_CODES_X64_H_ 5 #ifndef V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_
6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ 6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 V(X64BitcastDL) \ 136 V(X64BitcastDL) \
137 V(X64BitcastIF) \ 137 V(X64BitcastIF) \
138 V(X64BitcastLD) \ 138 V(X64BitcastLD) \
139 V(X64Lea32) \ 139 V(X64Lea32) \
140 V(X64Lea) \ 140 V(X64Lea) \
141 V(X64Dec32) \ 141 V(X64Dec32) \
142 V(X64Inc32) \ 142 V(X64Inc32) \
143 V(X64Push) \ 143 V(X64Push) \
144 V(X64Poke) \ 144 V(X64Poke) \
145 V(X64StackCheck) \ 145 V(X64StackCheck) \
146 V(X64Int32x4Splat) \ 146 V(X64I32x4Splat) \
147 V(X64Int32x4ExtractLane) \ 147 V(X64I32x4ExtractLane) \
148 V(X64Int32x4ReplaceLane) \ 148 V(X64I32x4ReplaceLane) \
149 V(X64Int32x4Add) \ 149 V(X64I32x4Shl) \
150 V(X64Int32x4Sub) \ 150 V(X64I32x4ShrS) \
151 V(X64Int32x4Mul) \ 151 V(X64I32x4Add) \
152 V(X64Int32x4Min) \ 152 V(X64I32x4Sub) \
153 V(X64Int32x4Max) \ 153 V(X64I32x4Mul) \
154 V(X64Int32x4Equal) \ 154 V(X64I32x4MinS) \
155 V(X64Int32x4NotEqual) \ 155 V(X64I32x4MaxS) \
156 V(X64Int32x4ShiftLeftByScalar) \ 156 V(X64I32x4Eq) \
157 V(X64Int32x4ShiftRightByScalar) \ 157 V(X64I32x4Ne) \
158 V(X64Uint32x4ShiftRightByScalar) \ 158 V(X64I32x4ShrU) \
159 V(X64Uint32x4Min) \ 159 V(X64I32x4MinU) \
160 V(X64Uint32x4Max) \ 160 V(X64I32x4MaxU) \
161 V(X64Simd32x4Select) \ 161 V(X64S32x4Select) \
162 V(X64Simd128Zero) 162 V(X64S128Zero)
163 163
164 // Addressing modes represent the "shape" of inputs to an instruction. 164 // Addressing modes represent the "shape" of inputs to an instruction.
165 // Many instructions support multiple addressing modes. Addressing modes 165 // Many instructions support multiple addressing modes. Addressing modes
166 // are encoded into the InstructionCode of the instruction and tell the 166 // are encoded into the InstructionCode of the instruction and tell the
167 // code generator after register allocation which assembler method to call. 167 // code generator after register allocation which assembler method to call.
168 // 168 //
169 // We use the following local notation for addressing modes: 169 // We use the following local notation for addressing modes:
170 // 170 //
171 // M = memory operand 171 // M = memory operand
172 // R = base register 172 // R = base register
(...skipping 21 matching lines...) Expand all
194 V(M8I) /* [ %r2*8 + K] */ \ 194 V(M8I) /* [ %r2*8 + K] */ \
195 V(Root) /* [%root + K] */ 195 V(Root) /* [%root + K] */
196 196
197 enum X64MemoryProtection { kUnprotected = 0, kProtected = 1 }; 197 enum X64MemoryProtection { kUnprotected = 0, kProtected = 1 };
198 198
199 } // namespace compiler 199 } // namespace compiler
200 } // namespace internal 200 } // namespace internal
201 } // namespace v8 201 } // namespace v8
202 202
203 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ 203 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/compiler/x64/instruction-scheduler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698