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/machine-type.h" | 8 #include "src/machine-type.h" |
9 #include "src/signature.h" | 9 #include "src/signature.h" |
10 | 10 |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 V(F32UConvertI64, 0xab, f_l) \ | 245 V(F32UConvertI64, 0xab, f_l) \ |
246 V(F32ConvertF64, 0xac, f_d) \ | 246 V(F32ConvertF64, 0xac, f_d) \ |
247 V(F32ReinterpretI32, 0xad, f_i) \ | 247 V(F32ReinterpretI32, 0xad, f_i) \ |
248 V(F64SConvertI32, 0xae, d_i) \ | 248 V(F64SConvertI32, 0xae, d_i) \ |
249 V(F64UConvertI32, 0xaf, d_i) \ | 249 V(F64UConvertI32, 0xaf, d_i) \ |
250 V(F64SConvertI64, 0xb0, d_l) \ | 250 V(F64SConvertI64, 0xb0, d_l) \ |
251 V(F64UConvertI64, 0xb1, d_l) \ | 251 V(F64UConvertI64, 0xb1, d_l) \ |
252 V(F64ConvertF32, 0xb2, d_f) \ | 252 V(F64ConvertF32, 0xb2, d_f) \ |
253 V(F64ReinterpretI64, 0xb3, d_l) \ | 253 V(F64ReinterpretI64, 0xb3, d_l) \ |
254 V(I32ReinterpretF32, 0xb4, i_f) \ | 254 V(I32ReinterpretF32, 0xb4, i_f) \ |
255 V(I64ReinterpretF64, 0xb5, l_d) | 255 V(I64ReinterpretF64, 0xb5, l_d) \ |
| 256 V(I32Ror, 0xb6, i_ii) \ |
| 257 V(I32Rol, 0xb7, i_ii) \ |
| 258 V(I64Ror, 0xb8, l_ll) \ |
| 259 V(I64Rol, 0xb9, l_ll) |
256 | 260 |
257 // All opcodes. | 261 // All opcodes. |
258 #define FOREACH_OPCODE(V) \ | 262 #define FOREACH_OPCODE(V) \ |
259 FOREACH_CONTROL_OPCODE(V) \ | 263 FOREACH_CONTROL_OPCODE(V) \ |
260 FOREACH_MISC_OPCODE(V) \ | 264 FOREACH_MISC_OPCODE(V) \ |
261 FOREACH_SIMPLE_OPCODE(V) \ | 265 FOREACH_SIMPLE_OPCODE(V) \ |
262 FOREACH_STORE_MEM_OPCODE(V) \ | 266 FOREACH_STORE_MEM_OPCODE(V) \ |
263 FOREACH_LOAD_MEM_OPCODE(V) \ | 267 FOREACH_LOAD_MEM_OPCODE(V) \ |
264 FOREACH_MISC_MEM_OPCODE(V) | 268 FOREACH_MISC_MEM_OPCODE(V) |
265 | 269 |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 default: | 473 default: |
470 return "<unknown>"; | 474 return "<unknown>"; |
471 } | 475 } |
472 } | 476 } |
473 }; | 477 }; |
474 } // namespace wasm | 478 } // namespace wasm |
475 } // namespace internal | 479 } // namespace internal |
476 } // namespace v8 | 480 } // namespace v8 |
477 | 481 |
478 #endif // V8_WASM_OPCODES_H_ | 482 #endif // V8_WASM_OPCODES_H_ |
OLD | NEW |