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

Side by Side Diff: src/compiler/wasm-compiler.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/simd-scalar-lowering.cc ('k') | src/compiler/wasm-compiler.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_COMPILER_WASM_COMPILER_H_ 5 #ifndef V8_COMPILER_WASM_COMPILER_H_
6 #define V8_COMPILER_WASM_COMPILER_H_ 6 #define V8_COMPILER_WASM_COMPILER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void set_effect_ptr(Node** effect) { this->effect_ = effect; } 228 void set_effect_ptr(Node** effect) { this->effect_ = effect; }
229 229
230 wasm::FunctionSig* GetFunctionSignature() { return sig_; } 230 wasm::FunctionSig* GetFunctionSignature() { return sig_; }
231 231
232 void Int64LoweringForTesting(); 232 void Int64LoweringForTesting();
233 233
234 void SimdScalarLoweringForTesting(); 234 void SimdScalarLoweringForTesting();
235 235
236 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); 236 void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
237 237
238 Node* Simd128Zero(); 238 Node* S128Zero();
239 Node* Simd1x4Zero(); 239 Node* S1x4Zero();
240 Node* Simd1x8Zero(); 240 Node* S1x8Zero();
241 Node* Simd1x16Zero(); 241 Node* S1x16Zero();
242 242
243 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 243 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
244 244
245 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, 245 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane,
246 const NodeVector& inputs); 246 const NodeVector& inputs);
247 247
248 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift, 248 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift,
249 const NodeVector& inputs); 249 const NodeVector& inputs);
250 250
251 Node* SimdSwizzleOp(wasm::WasmOpcode opcode, uint32_t swizzle, 251 Node* SimdSwizzleOp(wasm::WasmOpcode opcode, uint32_t swizzle,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 } 397 }
398 398
399 int AddParameterNodes(Node** args, int pos, int param_count, 399 int AddParameterNodes(Node** args, int pos, int param_count,
400 wasm::FunctionSig* sig); 400 wasm::FunctionSig* sig);
401 }; 401 };
402 } // namespace compiler 402 } // namespace compiler
403 } // namespace internal 403 } // namespace internal
404 } // namespace v8 404 } // namespace v8
405 405
406 #endif // V8_COMPILER_WASM_COMPILER_H_ 406 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compiler/simd-scalar-lowering.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698