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

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

Issue 2300753005: [wasm] fix Simd ExtractLane to take immediate instead of param (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [wasm] fix Simd ExtractLane to take immediate instead of param Created 4 years, 3 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 | « no previous file | 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; } 192 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; }
193 193
194 void Int64LoweringForTesting(); 194 void Int64LoweringForTesting();
195 195
196 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); 196 void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
197 197
198 Node* DefaultS128Value(); 198 Node* DefaultS128Value();
199 199
200 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 200 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
201 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input);
201 202
202 private: 203 private:
203 static const int kDefaultBufferSize = 16; 204 static const int kDefaultBufferSize = 16;
204 friend class WasmTrapHelper; 205 friend class WasmTrapHelper;
205 206
206 Zone* zone_; 207 Zone* zone_;
207 JSGraph* jsgraph_; 208 JSGraph* jsgraph_;
208 wasm::ModuleEnv* module_; 209 wasm::ModuleEnv* module_;
209 Node* mem_buffer_; 210 Node* mem_buffer_;
210 Node* mem_size_; 211 Node* mem_size_;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 } 340 }
340 341
341 int AddParameterNodes(Node** args, int pos, int param_count, 342 int AddParameterNodes(Node** args, int pos, int param_count,
342 wasm::FunctionSig* sig); 343 wasm::FunctionSig* sig);
343 }; 344 };
344 } // namespace compiler 345 } // namespace compiler
345 } // namespace internal 346 } // namespace internal
346 } // namespace v8 347 } // namespace v8
347 348
348 #endif // V8_COMPILER_WASM_COMPILER_H_ 349 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698