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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 V(I32LeS, 0x50, i_ii) \ | 154 V(I32LeS, 0x50, i_ii) \ |
155 V(I32LtU, 0x51, i_ii) \ | 155 V(I32LtU, 0x51, i_ii) \ |
156 V(I32LeU, 0x52, i_ii) \ | 156 V(I32LeU, 0x52, i_ii) \ |
157 V(I32GtS, 0x53, i_ii) \ | 157 V(I32GtS, 0x53, i_ii) \ |
158 V(I32GeS, 0x54, i_ii) \ | 158 V(I32GeS, 0x54, i_ii) \ |
159 V(I32GtU, 0x55, i_ii) \ | 159 V(I32GtU, 0x55, i_ii) \ |
160 V(I32GeU, 0x56, i_ii) \ | 160 V(I32GeU, 0x56, i_ii) \ |
161 V(I32Clz, 0x57, i_i) \ | 161 V(I32Clz, 0x57, i_i) \ |
162 V(I32Ctz, 0x58, i_i) \ | 162 V(I32Ctz, 0x58, i_i) \ |
163 V(I32Popcnt, 0x59, i_i) \ | 163 V(I32Popcnt, 0x59, i_i) \ |
164 V(BoolNot, 0x5a, i_i) \ | 164 V(I32Eqz, 0x5a, i_i) \ |
165 V(I64Add, 0x5b, l_ll) \ | 165 V(I64Add, 0x5b, l_ll) \ |
166 V(I64Sub, 0x5c, l_ll) \ | 166 V(I64Sub, 0x5c, l_ll) \ |
167 V(I64Mul, 0x5d, l_ll) \ | 167 V(I64Mul, 0x5d, l_ll) \ |
168 V(I64DivS, 0x5e, l_ll) \ | 168 V(I64DivS, 0x5e, l_ll) \ |
169 V(I64DivU, 0x5f, l_ll) \ | 169 V(I64DivU, 0x5f, l_ll) \ |
170 V(I64RemS, 0x60, l_ll) \ | 170 V(I64RemS, 0x60, l_ll) \ |
171 V(I64RemU, 0x61, l_ll) \ | 171 V(I64RemU, 0x61, l_ll) \ |
172 V(I64And, 0x62, l_ll) \ | 172 V(I64And, 0x62, l_ll) \ |
173 V(I64Ior, 0x63, l_ll) \ | 173 V(I64Ior, 0x63, l_ll) \ |
174 V(I64Xor, 0x64, l_ll) \ | 174 V(I64Xor, 0x64, l_ll) \ |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 default: | 469 default: |
470 return "<unknown>"; | 470 return "<unknown>"; |
471 } | 471 } |
472 } | 472 } |
473 }; | 473 }; |
474 } // namespace wasm | 474 } // namespace wasm |
475 } // namespace internal | 475 } // namespace internal |
476 } // namespace v8 | 476 } // namespace v8 |
477 | 477 |
478 #endif // V8_WASM_OPCODES_H_ | 478 #endif // V8_WASM_OPCODES_H_ |
OLD | NEW |