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

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

Issue 2226053002: [wasm] Remove single function JIT support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Drop test Created 4 years, 4 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') | test/mjsunit/wasm/default-func-call.js » ('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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 V(I8x16Shr_u, 0xe571, s_ss) \ 384 V(I8x16Shr_u, 0xe571, s_ss) \
385 V(I8x16Lt_u, 0xe572, s_ss) \ 385 V(I8x16Lt_u, 0xe572, s_ss) \
386 V(I8x16Le_u, 0xe573, s_ss) \ 386 V(I8x16Le_u, 0xe573, s_ss) \
387 V(I8x16Gt_u, 0xe574, s_ss) \ 387 V(I8x16Gt_u, 0xe574, s_ss) \
388 V(I8x16Ge_u, 0xe575, s_ss) \ 388 V(I8x16Ge_u, 0xe575, s_ss) \
389 V(S128And, 0xe576, s_ss) \ 389 V(S128And, 0xe576, s_ss) \
390 V(S128Ior, 0xe577, s_ss) \ 390 V(S128Ior, 0xe577, s_ss) \
391 V(S128Xor, 0xe578, s_ss) \ 391 V(S128Xor, 0xe578, s_ss) \
392 V(S128Not, 0xe579, s_s) 392 V(S128Not, 0xe579, s_s)
393 393
394 // For enabling JIT functionality
395 #define FOREACH_JIT_OPCODE(V) V(JITSingleFunction, 0xf0, _)
396
397 // All opcodes. 394 // All opcodes.
398 #define FOREACH_OPCODE(V) \ 395 #define FOREACH_OPCODE(V) \
399 FOREACH_CONTROL_OPCODE(V) \ 396 FOREACH_CONTROL_OPCODE(V) \
400 FOREACH_MISC_OPCODE(V) \ 397 FOREACH_MISC_OPCODE(V) \
401 FOREACH_SIMPLE_OPCODE(V) \ 398 FOREACH_SIMPLE_OPCODE(V) \
402 FOREACH_SIMPLE_MEM_OPCODE(V) \ 399 FOREACH_SIMPLE_MEM_OPCODE(V) \
403 FOREACH_STORE_MEM_OPCODE(V) \ 400 FOREACH_STORE_MEM_OPCODE(V) \
404 FOREACH_LOAD_MEM_OPCODE(V) \ 401 FOREACH_LOAD_MEM_OPCODE(V) \
405 FOREACH_MISC_MEM_OPCODE(V) \ 402 FOREACH_MISC_MEM_OPCODE(V) \
406 FOREACH_ASMJS_COMPAT_OPCODE(V) \ 403 FOREACH_ASMJS_COMPAT_OPCODE(V) \
407 FOREACH_SIMD_OPCODE(V) \ 404 FOREACH_SIMD_OPCODE(V)
408 FOREACH_JIT_OPCODE(V)
409 405
410 // All signatures. 406 // All signatures.
411 #define FOREACH_SIGNATURE(V) \ 407 #define FOREACH_SIGNATURE(V) \
412 FOREACH_SIMD_SIGNATURE(V) \ 408 FOREACH_SIMD_SIGNATURE(V) \
413 V(i_ii, kAstI32, kAstI32, kAstI32) \ 409 V(i_ii, kAstI32, kAstI32, kAstI32) \
414 V(i_i, kAstI32, kAstI32) \ 410 V(i_i, kAstI32, kAstI32) \
415 V(i_v, kAstI32) \ 411 V(i_v, kAstI32) \
416 V(i_ff, kAstI32, kAstF32, kAstF32) \ 412 V(i_ff, kAstI32, kAstF32, kAstF32) \
417 V(i_f, kAstI32, kAstF32) \ 413 V(i_f, kAstI32, kAstF32) \
418 V(i_dd, kAstI32, kAstF64, kAstF64) \ 414 V(i_dd, kAstI32, kAstF64, kAstF64) \
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 default: 628 default:
633 return "<unknown>"; 629 return "<unknown>";
634 } 630 }
635 } 631 }
636 }; 632 };
637 } // namespace wasm 633 } // namespace wasm
638 } // namespace internal 634 } // namespace internal
639 } // namespace v8 635 } // namespace v8
640 636
641 #endif // V8_WASM_OPCODES_H_ 637 #endif // V8_WASM_OPCODES_H_
OLDNEW
« no previous file with comments | « src/wasm/module-decoder.cc ('k') | test/mjsunit/wasm/default-func-call.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698