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/wasm/wasm-module.h

Issue 2294743003: [wasm] simd scalar lowering F32x4Add and I32x4Add (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [wasm] simd scalar lowering F32x4Add and I32x4Add Created 4 years, 2 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/wasm/wasm-macro-gen.h ('k') | test/cctest/BUILD.gn » ('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_WASM_MODULE_H_ 5 #ifndef V8_WASM_MODULE_H_
6 #define V8_WASM_MODULE_H_ 6 #define V8_WASM_MODULE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/api.h" 10 #include "src/api.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 326
327 Handle<Code> GetFunctionCode(uint32_t index) { 327 Handle<Code> GetFunctionCode(uint32_t index) {
328 DCHECK_NOT_NULL(instance); 328 DCHECK_NOT_NULL(instance);
329 return instance->function_code[index]; 329 return instance->function_code[index];
330 } 330 }
331 331
332 static compiler::CallDescriptor* GetWasmCallDescriptor(Zone* zone, 332 static compiler::CallDescriptor* GetWasmCallDescriptor(Zone* zone,
333 FunctionSig* sig); 333 FunctionSig* sig);
334 static compiler::CallDescriptor* GetI32WasmCallDescriptor( 334 static compiler::CallDescriptor* GetI32WasmCallDescriptor(
335 Zone* zone, compiler::CallDescriptor* descriptor); 335 Zone* zone, compiler::CallDescriptor* descriptor);
336 static compiler::CallDescriptor* GetI32WasmCallDescriptorForSimd(
337 Zone* zone, compiler::CallDescriptor* descriptor);
336 }; 338 };
337 339
338 // A helper for printing out the names of functions. 340 // A helper for printing out the names of functions.
339 struct WasmFunctionName { 341 struct WasmFunctionName {
340 const WasmFunction* function_; 342 const WasmFunction* function_;
341 const WasmModule* module_; 343 const WasmModule* module_;
342 WasmFunctionName(const WasmFunction* function, const ModuleEnv* menv) 344 WasmFunctionName(const WasmFunction* function, const ModuleEnv* menv)
343 : function_(function), module_(menv ? menv->module : nullptr) {} 345 : function_(function), module_(menv ? menv->module : nullptr) {}
344 }; 346 };
345 347
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 int instance_count); 563 int instance_count);
562 void ValidateModuleState(Isolate* isolate, Handle<JSObject> wasm_module); 564 void ValidateModuleState(Isolate* isolate, Handle<JSObject> wasm_module);
563 void ValidateOrphanedInstance(Isolate* isolate, Handle<JSObject> instance); 565 void ValidateOrphanedInstance(Isolate* isolate, Handle<JSObject> instance);
564 566
565 } // namespace testing 567 } // namespace testing
566 } // namespace wasm 568 } // namespace wasm
567 } // namespace internal 569 } // namespace internal
568 } // namespace v8 570 } // namespace v8
569 571
570 #endif // V8_WASM_MODULE_H_ 572 #endif // V8_WASM_MODULE_H_
OLDNEW
« no previous file with comments | « src/wasm/wasm-macro-gen.h ('k') | test/cctest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698