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

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

Issue 2923103003: [WASM] Simplify SIMD shuffle opcodes. (Closed)
Patch Set: Mircea's review comments. Created 3 years, 6 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/function-body-decoder-impl.h ('k') | src/wasm/wasm-opcodes.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/globals.h" 8 #include "src/globals.h"
9 #include "src/machine-type.h" 9 #include "src/machine-type.h"
10 #include "src/runtime/runtime.h" 10 #include "src/runtime/runtime.h"
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 V(I16x8Shl, 0xe543, _) \ 402 V(I16x8Shl, 0xe543, _) \
403 V(I16x8ShrS, 0xe544, _) \ 403 V(I16x8ShrS, 0xe544, _) \
404 V(I16x8ShrU, 0xe552, _) \ 404 V(I16x8ShrU, 0xe552, _) \
405 V(I8x16ExtractLane, 0xe558, _) \ 405 V(I8x16ExtractLane, 0xe558, _) \
406 V(I8x16ReplaceLane, 0xe559, _) \ 406 V(I8x16ReplaceLane, 0xe559, _) \
407 V(I8x16Shl, 0xe562, _) \ 407 V(I8x16Shl, 0xe562, _) \
408 V(I8x16ShrS, 0xe563, _) \ 408 V(I8x16ShrS, 0xe563, _) \
409 V(I8x16ShrU, 0xe571, _) 409 V(I8x16ShrU, 0xe571, _)
410 410
411 #define FOREACH_SIMD_MASK_OPERAND_OPCODE(V) \ 411 #define FOREACH_SIMD_MASK_OPERAND_OPCODE(V) \
412 V(S32x4Shuffle, 0xe52d, s_ss) \
413 V(S16x8Shuffle, 0xe54c, s_ss) \
414 V(S8x16Shuffle, 0xe56b, s_ss) 412 V(S8x16Shuffle, 0xe56b, s_ss)
415 413
416 #define FOREACH_ATOMIC_OPCODE(V) \ 414 #define FOREACH_ATOMIC_OPCODE(V) \
417 V(I32AtomicAdd8S, 0xe601, i_ii) \ 415 V(I32AtomicAdd8S, 0xe601, i_ii) \
418 V(I32AtomicAdd8U, 0xe602, i_ii) \ 416 V(I32AtomicAdd8U, 0xe602, i_ii) \
419 V(I32AtomicAdd16S, 0xe603, i_ii) \ 417 V(I32AtomicAdd16S, 0xe603, i_ii) \
420 V(I32AtomicAdd16U, 0xe604, i_ii) \ 418 V(I32AtomicAdd16U, 0xe604, i_ii) \
421 V(I32AtomicAdd, 0xe605, i_ii) \ 419 V(I32AtomicAdd, 0xe605, i_ii) \
422 V(I32AtomicAnd8S, 0xe606, i_ii) \ 420 V(I32AtomicAnd8S, 0xe606, i_ii) \
423 V(I32AtomicAnd8U, 0xe607, i_ii) \ 421 V(I32AtomicAnd8U, 0xe607, i_ii) \
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 default: 653 default:
656 return "<unknown>"; 654 return "<unknown>";
657 } 655 }
658 } 656 }
659 }; 657 };
660 } // namespace wasm 658 } // namespace wasm
661 } // namespace internal 659 } // namespace internal
662 } // namespace v8 660 } // namespace v8
663 661
664 #endif // V8_WASM_OPCODES_H_ 662 #endif // V8_WASM_OPCODES_H_
OLDNEW
« no previous file with comments | « src/wasm/function-body-decoder-impl.h ('k') | src/wasm/wasm-opcodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698