| 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 #include "src/wasm/wasm-opcodes.h" | 5 #include "src/wasm/wasm-opcodes.h" |
| 6 #include "src/messages.h" | 6 #include "src/messages.h" |
| 7 #include "src/runtime/runtime.h" | 7 #include "src/runtime/runtime.h" |
| 8 #include "src/signature.h" | 8 #include "src/signature.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 CASE_SIMD_OP(Neg, "neg") | 171 CASE_SIMD_OP(Neg, "neg") |
| 172 CASE_SIMD_OP(Eq, "eq") | 172 CASE_SIMD_OP(Eq, "eq") |
| 173 CASE_SIMD_OP(Ne, "ne") | 173 CASE_SIMD_OP(Ne, "ne") |
| 174 CASE_SIMD_OP(Add, "add") | 174 CASE_SIMD_OP(Add, "add") |
| 175 CASE_SIMD_OP(Sub, "sub") | 175 CASE_SIMD_OP(Sub, "sub") |
| 176 CASE_SIMD_OP(Mul, "mul") | 176 CASE_SIMD_OP(Mul, "mul") |
| 177 CASE_F32x4_OP(Abs, "abs") | 177 CASE_F32x4_OP(Abs, "abs") |
| 178 CASE_F32x4_OP(Sqrt, "sqrt") | 178 CASE_F32x4_OP(Sqrt, "sqrt") |
| 179 CASE_F32x4_OP(Div, "div") | 179 CASE_F32x4_OP(Div, "div") |
| 180 CASE_F32x4_OP(RecipApprox, "recip_approx") | 180 CASE_F32x4_OP(RecipApprox, "recip_approx") |
| 181 CASE_F32x4_OP(SqrtApprox, "sqrt_approx") | 181 CASE_F32x4_OP(RecipRefine, "recip_refine") |
| 182 CASE_F32x4_OP(RecipSqrtApprox, "recip_sqrt_approx") |
| 183 CASE_F32x4_OP(RecipSqrtRefine, "recip_sqrt_refine") |
| 182 CASE_F32x4_OP(Min, "min") | 184 CASE_F32x4_OP(Min, "min") |
| 183 CASE_F32x4_OP(Max, "max") | 185 CASE_F32x4_OP(Max, "max") |
| 184 CASE_F32x4_OP(MinNum, "min_num") | 186 CASE_F32x4_OP(MinNum, "min_num") |
| 185 CASE_F32x4_OP(MaxNum, "max_num") | 187 CASE_F32x4_OP(MaxNum, "max_num") |
| 186 CASE_F32x4_OP(Lt, "lt") | 188 CASE_F32x4_OP(Lt, "lt") |
| 187 CASE_F32x4_OP(Le, "le") | 189 CASE_F32x4_OP(Le, "le") |
| 188 CASE_F32x4_OP(Gt, "gt") | 190 CASE_F32x4_OP(Gt, "gt") |
| 189 CASE_F32x4_OP(Ge, "ge") | 191 CASE_F32x4_OP(Ge, "ge") |
| 190 CASE_CONVERT_OP(Convert, F32x4, I32x4, "i32", "convert") | 192 CASE_CONVERT_OP(Convert, F32x4, I32x4, "i32", "convert") |
| 191 CASE_CONVERT_OP(Convert, I32x4, F32x4, "f32", "convert") | 193 CASE_CONVERT_OP(Convert, I32x4, F32x4, "f32", "convert") |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 return MessageTemplate::kNone; | 389 return MessageTemplate::kNone; |
| 388 } | 390 } |
| 389 } | 391 } |
| 390 | 392 |
| 391 const char* WasmOpcodes::TrapReasonMessage(TrapReason reason) { | 393 const char* WasmOpcodes::TrapReasonMessage(TrapReason reason) { |
| 392 return MessageTemplate::TemplateString(TrapReasonToMessageId(reason)); | 394 return MessageTemplate::TemplateString(TrapReasonToMessageId(reason)); |
| 393 } | 395 } |
| 394 } // namespace wasm | 396 } // namespace wasm |
| 395 } // namespace internal | 397 } // namespace internal |
| 396 } // namespace v8 | 398 } // namespace v8 |
| OLD | NEW |