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

Side by Side Diff: src/compiler/wasm-compiler.h

Issue 2801183002: [WASM SIMD] Implement primitive shuffles. (Closed)
Patch Set: Fix non-ARM build. 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/opcodes.h ('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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 Node* S1x16Zero(); 245 Node* S1x16Zero();
246 246
247 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 247 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
248 248
249 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, 249 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane,
250 const NodeVector& inputs); 250 const NodeVector& inputs);
251 251
252 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift, 252 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift,
253 const NodeVector& inputs); 253 const NodeVector& inputs);
254 254
255 Node* SimdSwizzleOp(wasm::WasmOpcode opcode, uint32_t swizzle, 255 Node* SimdConcatOp(uint8_t bytes, const NodeVector& inputs);
256 const NodeVector& inputs);
257 256
258 bool has_simd() const { return has_simd_; } 257 bool has_simd() const { return has_simd_; }
259 258
260 wasm::ModuleEnv* module_env() const { return module_; } 259 wasm::ModuleEnv* module_env() const { return module_; }
261 260
262 private: 261 private:
263 static const int kDefaultBufferSize = 16; 262 static const int kDefaultBufferSize = 16;
264 friend class WasmTrapHelper; 263 friend class WasmTrapHelper;
265 264
266 Zone* zone_; 265 Zone* zone_;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 } 400 }
402 401
403 int AddParameterNodes(Node** args, int pos, int param_count, 402 int AddParameterNodes(Node** args, int pos, int param_count,
404 wasm::FunctionSig* sig); 403 wasm::FunctionSig* sig);
405 }; 404 };
406 } // namespace compiler 405 } // namespace compiler
407 } // namespace internal 406 } // namespace internal
408 } // namespace v8 407 } // namespace v8
409 408
410 #endif // V8_COMPILER_WASM_COMPILER_H_ 409 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698