diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-13 00:57:36 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-13 00:57:36 +0100 |
| commit | ac1796a1281aa6a6c9da3e407cb871d321da9d6c (patch) | |
| tree | f5e730a520c1c3c06f4d97cd361995be53b8dcd5 /src/interp | |
| parent | c3d6bac9d716433ca31f7d39332b2a6a96d8187d (diff) | |
| download | nanowasm-ac1796a1281aa6a6c9da3e407cb871d321da9d6c.tar.gz | |
Add i32.shr_{s,u}
Diffstat (limited to 'src/interp')
| -rw-r--r-- | src/interp/ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/ops.c b/src/interp/ops.c index 7fc5848..9f80668 100644 --- a/src/interp/ops.c +++ b/src/interp/ops.c @@ -131,8 +131,8 @@ static void (*const ops[])(struct nw_interp *) = nwp_op_i32_or, /* OP_I32_OR */ NULL, /* OP_I32_XOR */ nwp_op_i32_shl, /* OP_I32_SHL */ - NULL, /* OP_I32_SHR_S */ - NULL, /* OP_I32_SHR_U */ + nwp_op_i32_shr_s, /* OP_I32_SHR_S */ + nwp_op_i32_shr_u, /* OP_I32_SHR_U */ NULL, /* OP_I32_ROTL */ NULL, /* OP_I32_ROTR */ NULL, /* OP_I64_CLZ */ |
