OLD | NEW |
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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 V(S32x4Select, 0xe580, s_sss) \ | 390 V(S32x4Select, 0xe580, s_sss) \ |
391 V(S32x4Swizzle, 0xe581, s_s) \ | 391 V(S32x4Swizzle, 0xe581, s_s) \ |
392 V(S32x4Shuffle, 0xe582, s_ss) | 392 V(S32x4Shuffle, 0xe582, s_ss) |
393 | 393 |
394 #define FOREACH_SIMD_1_OPERAND_OPCODE(V) \ | 394 #define FOREACH_SIMD_1_OPERAND_OPCODE(V) \ |
395 V(F32x4ExtractLane, 0xe501, _) \ | 395 V(F32x4ExtractLane, 0xe501, _) \ |
396 V(F32x4ReplaceLane, 0xe502, _) \ | 396 V(F32x4ReplaceLane, 0xe502, _) \ |
397 V(I32x4ExtractLane, 0xe51c, _) \ | 397 V(I32x4ExtractLane, 0xe51c, _) \ |
398 V(I32x4ReplaceLane, 0xe51d, _) \ | 398 V(I32x4ReplaceLane, 0xe51d, _) \ |
399 V(I16x8ExtractLane, 0xe539, _) \ | 399 V(I16x8ExtractLane, 0xe539, _) \ |
| 400 V(I16x8ReplaceLane, 0xe53a, _) \ |
400 V(I8x16ExtractLane, 0xe558, _) \ | 401 V(I8x16ExtractLane, 0xe558, _) \ |
401 V(I16x8ReplaceLane, 0xe53a, _) \ | |
402 V(I8x16ReplaceLane, 0xe559, _) | 402 V(I8x16ReplaceLane, 0xe559, _) |
403 | 403 |
404 #define FOREACH_ATOMIC_OPCODE(V) \ | 404 #define FOREACH_ATOMIC_OPCODE(V) \ |
405 V(I32AtomicAdd8S, 0xe601, i_ii) \ | 405 V(I32AtomicAdd8S, 0xe601, i_ii) \ |
406 V(I32AtomicAdd8U, 0xe602, i_ii) \ | 406 V(I32AtomicAdd8U, 0xe602, i_ii) \ |
407 V(I32AtomicAdd16S, 0xe603, i_ii) \ | 407 V(I32AtomicAdd16S, 0xe603, i_ii) \ |
408 V(I32AtomicAdd16U, 0xe604, i_ii) \ | 408 V(I32AtomicAdd16U, 0xe604, i_ii) \ |
409 V(I32AtomicAdd32, 0xe605, i_ii) \ | 409 V(I32AtomicAdd32, 0xe605, i_ii) \ |
410 V(I32AtomicAnd8S, 0xe606, i_ii) \ | 410 V(I32AtomicAnd8S, 0xe606, i_ii) \ |
411 V(I32AtomicAnd8U, 0xe607, i_ii) \ | 411 V(I32AtomicAnd8U, 0xe607, i_ii) \ |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 default: | 678 default: |
679 return "<unknown>"; | 679 return "<unknown>"; |
680 } | 680 } |
681 } | 681 } |
682 }; | 682 }; |
683 } // namespace wasm | 683 } // namespace wasm |
684 } // namespace internal | 684 } // namespace internal |
685 } // namespace v8 | 685 } // namespace v8 |
686 | 686 |
687 #endif // V8_WASM_OPCODES_H_ | 687 #endif // V8_WASM_OPCODES_H_ |
OLD | NEW |