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

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

Issue 2498283002: [wasm] implement simd lowering for replaceLane, load, store and test for phi (Closed)
Patch Set: [wasm] implement simd lowering for replaceLane, load, store and test for phi Created 4 years 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 void Int64LoweringForTesting(); 211 void Int64LoweringForTesting();
212 212
213 void SimdScalarLoweringForTesting(); 213 void SimdScalarLoweringForTesting();
214 214
215 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); 215 void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
216 216
217 Node* CreateS128Value(int32_t value); 217 Node* CreateS128Value(int32_t value);
218 218
219 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 219 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
220 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input); 220 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input);
221 Node* SimdReplaceLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input,
222 Node* replacement);
221 223
222 private: 224 private:
223 static const int kDefaultBufferSize = 16; 225 static const int kDefaultBufferSize = 16;
224 friend class WasmTrapHelper; 226 friend class WasmTrapHelper;
225 227
226 Zone* zone_; 228 Zone* zone_;
227 JSGraph* jsgraph_; 229 JSGraph* jsgraph_;
228 wasm::ModuleEnv* module_; 230 wasm::ModuleEnv* module_;
229 Node* mem_buffer_; 231 Node* mem_buffer_;
230 Node* mem_size_; 232 Node* mem_size_;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 } 363 }
362 364
363 int AddParameterNodes(Node** args, int pos, int param_count, 365 int AddParameterNodes(Node** args, int pos, int param_count,
364 wasm::FunctionSig* sig); 366 wasm::FunctionSig* sig);
365 }; 367 };
366 } // namespace compiler 368 } // namespace compiler
367 } // namespace internal 369 } // namespace internal
368 } // namespace v8 370 } // namespace v8
369 371
370 #endif // V8_COMPILER_WASM_COMPILER_H_ 372 #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