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 "test/unittests/test-utils.h" | 5 #include "test/unittests/test-utils.h" |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "test/cctest/wasm/test-signatures.h" | 9 #include "test/cctest/wasm/test-signatures.h" |
10 | 10 |
(...skipping 2095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2106 EXPECT_LENGTH(1, kExprI32LeS); | 2106 EXPECT_LENGTH(1, kExprI32LeS); |
2107 EXPECT_LENGTH(1, kExprI32LtU); | 2107 EXPECT_LENGTH(1, kExprI32LtU); |
2108 EXPECT_LENGTH(1, kExprI32LeU); | 2108 EXPECT_LENGTH(1, kExprI32LeU); |
2109 EXPECT_LENGTH(1, kExprI32GtS); | 2109 EXPECT_LENGTH(1, kExprI32GtS); |
2110 EXPECT_LENGTH(1, kExprI32GeS); | 2110 EXPECT_LENGTH(1, kExprI32GeS); |
2111 EXPECT_LENGTH(1, kExprI32GtU); | 2111 EXPECT_LENGTH(1, kExprI32GtU); |
2112 EXPECT_LENGTH(1, kExprI32GeU); | 2112 EXPECT_LENGTH(1, kExprI32GeU); |
2113 EXPECT_LENGTH(1, kExprI32Clz); | 2113 EXPECT_LENGTH(1, kExprI32Clz); |
2114 EXPECT_LENGTH(1, kExprI32Ctz); | 2114 EXPECT_LENGTH(1, kExprI32Ctz); |
2115 EXPECT_LENGTH(1, kExprI32Popcnt); | 2115 EXPECT_LENGTH(1, kExprI32Popcnt); |
2116 EXPECT_LENGTH(1, kExprBoolNot); | 2116 EXPECT_LENGTH(1, kExprI32Eqz); |
2117 EXPECT_LENGTH(1, kExprI64Add); | 2117 EXPECT_LENGTH(1, kExprI64Add); |
2118 EXPECT_LENGTH(1, kExprI64Sub); | 2118 EXPECT_LENGTH(1, kExprI64Sub); |
2119 EXPECT_LENGTH(1, kExprI64Mul); | 2119 EXPECT_LENGTH(1, kExprI64Mul); |
2120 EXPECT_LENGTH(1, kExprI64DivS); | 2120 EXPECT_LENGTH(1, kExprI64DivS); |
2121 EXPECT_LENGTH(1, kExprI64DivU); | 2121 EXPECT_LENGTH(1, kExprI64DivU); |
2122 EXPECT_LENGTH(1, kExprI64RemS); | 2122 EXPECT_LENGTH(1, kExprI64RemS); |
2123 EXPECT_LENGTH(1, kExprI64RemU); | 2123 EXPECT_LENGTH(1, kExprI64RemU); |
2124 EXPECT_LENGTH(1, kExprI64And); | 2124 EXPECT_LENGTH(1, kExprI64And); |
2125 EXPECT_LENGTH(1, kExprI64Ior); | 2125 EXPECT_LENGTH(1, kExprI64Ior); |
2126 EXPECT_LENGTH(1, kExprI64Xor); | 2126 EXPECT_LENGTH(1, kExprI64Xor); |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2367 EXPECT_ARITY(2, kExprI32LeS); | 2367 EXPECT_ARITY(2, kExprI32LeS); |
2368 EXPECT_ARITY(2, kExprI32LtU); | 2368 EXPECT_ARITY(2, kExprI32LtU); |
2369 EXPECT_ARITY(2, kExprI32LeU); | 2369 EXPECT_ARITY(2, kExprI32LeU); |
2370 EXPECT_ARITY(2, kExprI32GtS); | 2370 EXPECT_ARITY(2, kExprI32GtS); |
2371 EXPECT_ARITY(2, kExprI32GeS); | 2371 EXPECT_ARITY(2, kExprI32GeS); |
2372 EXPECT_ARITY(2, kExprI32GtU); | 2372 EXPECT_ARITY(2, kExprI32GtU); |
2373 EXPECT_ARITY(2, kExprI32GeU); | 2373 EXPECT_ARITY(2, kExprI32GeU); |
2374 EXPECT_ARITY(1, kExprI32Clz); | 2374 EXPECT_ARITY(1, kExprI32Clz); |
2375 EXPECT_ARITY(1, kExprI32Ctz); | 2375 EXPECT_ARITY(1, kExprI32Ctz); |
2376 EXPECT_ARITY(1, kExprI32Popcnt); | 2376 EXPECT_ARITY(1, kExprI32Popcnt); |
2377 EXPECT_ARITY(1, kExprBoolNot); | 2377 EXPECT_ARITY(1, kExprI32Eqz); |
2378 EXPECT_ARITY(2, kExprI64Add); | 2378 EXPECT_ARITY(2, kExprI64Add); |
2379 EXPECT_ARITY(2, kExprI64Sub); | 2379 EXPECT_ARITY(2, kExprI64Sub); |
2380 EXPECT_ARITY(2, kExprI64Mul); | 2380 EXPECT_ARITY(2, kExprI64Mul); |
2381 EXPECT_ARITY(2, kExprI64DivS); | 2381 EXPECT_ARITY(2, kExprI64DivS); |
2382 EXPECT_ARITY(2, kExprI64DivU); | 2382 EXPECT_ARITY(2, kExprI64DivU); |
2383 EXPECT_ARITY(2, kExprI64RemS); | 2383 EXPECT_ARITY(2, kExprI64RemS); |
2384 EXPECT_ARITY(2, kExprI64RemU); | 2384 EXPECT_ARITY(2, kExprI64RemU); |
2385 EXPECT_ARITY(2, kExprI64And); | 2385 EXPECT_ARITY(2, kExprI64And); |
2386 EXPECT_ARITY(2, kExprI64Ior); | 2386 EXPECT_ARITY(2, kExprI64Ior); |
2387 EXPECT_ARITY(2, kExprI64Xor); | 2387 EXPECT_ARITY(2, kExprI64Xor); |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2463 EXPECT_ARITY(1, kExprF64SConvertI64); | 2463 EXPECT_ARITY(1, kExprF64SConvertI64); |
2464 EXPECT_ARITY(1, kExprF64UConvertI64); | 2464 EXPECT_ARITY(1, kExprF64UConvertI64); |
2465 EXPECT_ARITY(1, kExprF64ConvertF32); | 2465 EXPECT_ARITY(1, kExprF64ConvertF32); |
2466 EXPECT_ARITY(1, kExprF64ReinterpretI64); | 2466 EXPECT_ARITY(1, kExprF64ReinterpretI64); |
2467 EXPECT_ARITY(1, kExprI32ReinterpretF32); | 2467 EXPECT_ARITY(1, kExprI32ReinterpretF32); |
2468 EXPECT_ARITY(1, kExprI64ReinterpretF64); | 2468 EXPECT_ARITY(1, kExprI64ReinterpretF64); |
2469 } | 2469 } |
2470 } // namespace wasm | 2470 } // namespace wasm |
2471 } // namespace internal | 2471 } // namespace internal |
2472 } // namespace v8 | 2472 } // namespace v8 |
OLD | NEW |