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

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

Issue 2264533002: [wasm] Add native x64 implementations for I32x4Splat, I32x4ExtractLane (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@macroize_runtime
Patch Set: Review changes 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 | « src/compiler/instruction-selector.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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 void set_control_ptr(Node** control) { this->control_ = control; } 187 void set_control_ptr(Node** control) { this->control_ = control; }
188 188
189 void set_effect_ptr(Node** effect) { this->effect_ = effect; } 189 void set_effect_ptr(Node** effect) { this->effect_ = effect; }
190 190
191 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; } 191 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; }
192 192
193 void Int64LoweringForTesting(); 193 void Int64LoweringForTesting();
194 194
195 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); 195 void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
196 196
197 Node* DefaultS128Value();
198
197 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 199 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
198 200
199 private: 201 private:
200 static const int kDefaultBufferSize = 16; 202 static const int kDefaultBufferSize = 16;
201 friend class WasmTrapHelper; 203 friend class WasmTrapHelper;
202 204
203 Zone* zone_; 205 Zone* zone_;
204 JSGraph* jsgraph_; 206 JSGraph* jsgraph_;
205 wasm::ModuleEnv* module_; 207 wasm::ModuleEnv* module_;
206 Node* mem_buffer_; 208 Node* mem_buffer_;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 Node** buf = Buffer(new_count); 335 Node** buf = Buffer(new_count);
334 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); 336 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*));
335 return buf; 337 return buf;
336 } 338 }
337 }; 339 };
338 } // namespace compiler 340 } // namespace compiler
339 } // namespace internal 341 } // namespace internal
340 } // namespace v8 342 } // namespace v8
341 343
342 #endif // V8_COMPILER_WASM_COMPILER_H_ 344 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698