Index: test/cctest/wasm/test-run-wasm.cc |
diff --git a/test/cctest/wasm/test-run-wasm.cc b/test/cctest/wasm/test-run-wasm.cc |
index 93b9647a34fc0e70dfa8663da65fabdceff1e436..1b40cc7f8c432d59427b64f0e4d607e2aee528b6 100644 |
--- a/test/cctest/wasm/test-run-wasm.cc |
+++ b/test/cctest/wasm/test-run-wasm.cc |
@@ -217,6 +217,10 @@ TEST(Run_WasmInt32Binops) { |
TestInt32Binop(kExprI32Shl, 0xA0000000, 0xA, 28); |
TestInt32Binop(kExprI32ShrU, 0x07000010, 0x70000100, 4); |
TestInt32Binop(kExprI32ShrS, 0xFF000000, 0x80000000, 7); |
+ TestInt32Binop(kExprI32Ror, 0x01000000, 0x80000000, 7); |
+ TestInt32Binop(kExprI32Ror, 0x01000000, 0x80000000, 39); |
+ TestInt32Binop(kExprI32Rol, 0x00000040, 0x80000000, 7); |
+ TestInt32Binop(kExprI32Rol, 0x00000040, 0x80000000, 39); |
TestInt32Binop(kExprI32Eq, 1, -99, -99); |
TestInt32Binop(kExprI32Ne, 0, -97, -97); |
@@ -382,6 +386,10 @@ TEST(Run_WasmInt64Binops) { |
TestInt64Binop(kExprI64Shl, 0xA0000000, 0xA, 28); |
TestInt64Binop(kExprI64ShrU, 0x0700001000123456LL, 0x7000010001234567LL, 4); |
TestInt64Binop(kExprI64ShrS, 0xFF00000000000000LL, 0x8000000000000000LL, 7); |
+ TestInt64Binop(kExprI64Ror, 0x0100000000000000LL, 0x8000000000000000LL, 7); |
+ TestInt64Binop(kExprI64Ror, 0x0100000000000000LL, 0x8000000000000000LL, 71); |
+ TestInt64Binop(kExprI64Rol, 0x0000000000000040LL, 0x8000000000000000LL, 7); |
+ TestInt64Binop(kExprI64Rol, 0x0000000000000040LL, 0x8000000000000000LL, 71); |
TestInt64Cmp(kExprI64Eq, 1, -9999, -9999); |
TestInt64Cmp(kExprI64Ne, 1, -9199, -9999); |
TestInt64Cmp(kExprI64LtS, 1, -4, 4); |