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

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

Issue 2668013003: [Turbofan] Add more integer SIMD operations for ARM. (Closed)
Patch Set: Fix compile. Created 3 years, 10 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/machine-operator.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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); 226 void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
227 227
228 Node* CreateS128Value(int32_t value); 228 Node* CreateS128Value(int32_t value);
229 229
230 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 230 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
231 231
232 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane, 232 Node* SimdLaneOp(wasm::WasmOpcode opcode, uint8_t lane,
233 const NodeVector& inputs); 233 const NodeVector& inputs);
234 234
235 Node* SimdShiftOp(wasm::WasmOpcode opcode, uint8_t shift,
236 const NodeVector& inputs);
237
235 bool has_simd() const { return has_simd_; } 238 bool has_simd() const { return has_simd_; }
236 239
237 wasm::ModuleEnv* module_env() const { return module_; } 240 wasm::ModuleEnv* module_env() const { return module_; }
238 241
239 private: 242 private:
240 static const int kDefaultBufferSize = 16; 243 static const int kDefaultBufferSize = 16;
241 friend class WasmTrapHelper; 244 friend class WasmTrapHelper;
242 245
243 Zone* zone_; 246 Zone* zone_;
244 JSGraph* jsgraph_; 247 JSGraph* jsgraph_;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 } 382 }
380 383
381 int AddParameterNodes(Node** args, int pos, int param_count, 384 int AddParameterNodes(Node** args, int pos, int param_count,
382 wasm::FunctionSig* sig); 385 wasm::FunctionSig* sig);
383 }; 386 };
384 } // namespace compiler 387 } // namespace compiler
385 } // namespace internal 388 } // namespace internal
386 } // namespace v8 389 } // namespace v8
387 390
388 #endif // V8_COMPILER_WASM_COMPILER_H_ 391 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698