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

Side by Side Diff: src/wasm/wasm-opcodes.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/wasm/module-decoder.cc ('k') | src/x64/macro-assembler-x64.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_WASM_OPCODES_H_ 5 #ifndef V8_WASM_OPCODES_H_
6 #define V8_WASM_OPCODES_H_ 6 #define V8_WASM_OPCODES_H_
7 7
8 #include "src/machine-type.h" 8 #include "src/machine-type.h"
9 #include "src/signature.h" 9 #include "src/signature.h"
10 10
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 static LocalTypeCode LocalTypeCodeFor(LocalType type) { 500 static LocalTypeCode LocalTypeCodeFor(LocalType type) {
501 switch (type) { 501 switch (type) {
502 case kAstI32: 502 case kAstI32:
503 return kLocalI32; 503 return kLocalI32;
504 case kAstI64: 504 case kAstI64:
505 return kLocalI64; 505 return kLocalI64;
506 case kAstF32: 506 case kAstF32:
507 return kLocalF32; 507 return kLocalF32;
508 case kAstF64: 508 case kAstF64:
509 return kLocalF64; 509 return kLocalF64;
510 case kAstS128:
511 return kLocalS128;
510 case kAstStmt: 512 case kAstStmt:
511 return kLocalVoid; 513 return kLocalVoid;
512 case kAstS128:
513 return kLocalS128;
514 default: 514 default:
515 UNREACHABLE(); 515 UNREACHABLE();
516 return kLocalVoid; 516 return kLocalVoid;
517 } 517 }
518 } 518 }
519 519
520 static MachineType MachineTypeFor(LocalType type) { 520 static MachineType MachineTypeFor(LocalType type) {
521 switch (type) { 521 switch (type) {
522 case kAstI32: 522 case kAstI32:
523 return MachineType::Int32(); 523 return MachineType::Int32();
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 default: 634 default:
635 return "<unknown>"; 635 return "<unknown>";
636 } 636 }
637 } 637 }
638 }; 638 };
639 } // namespace wasm 639 } // namespace wasm
640 } // namespace internal 640 } // namespace internal
641 } // namespace v8 641 } // namespace v8
642 642
643 #endif // V8_WASM_OPCODES_H_ 643 #endif // V8_WASM_OPCODES_H_
OLDNEW
« no previous file with comments | « src/wasm/module-decoder.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698