message: test: Add additional i64_extend_i32_u test
diff: @@ -470,6 +470,24 @@ TEST(execute_numeric, i64_extend_i32_u)
  execute_unary_operation(Instr::i64_extend_i32_u, 0xff000000), Result(0x00000000ff000000));
  }
  +TEST(execute_numeric, i64_extend_i32_u_2)
  +{
  + /* wat2wasm
  + (func (param i32) (result i64)
  + i64.const 0xdeadbeefdeadbeef
  + drop
  + local.get 0
  + i64.extend_i32_u
  + )
  + */
  + const auto wasm = from_hex(
  + "0061736d0100000001060160017f017e030201000a1201100042effdb6f5fdddefd65e1a2000ad0b");
  +
  + auto instance = instantiate(parse(wasm));
  + const auto r = execute(*instance, 0, {0xff000000});
  + EXPECT_THAT(r, Result(uint64_t{0x00000000ff000000}));
  +}
  +
  TEST(execute_numeric, i64_clz)
  {
  EXPECT_THAT(execute_unary_operation(Instr::i64_clz, 0x7f), Result(64 - 7));
  