From ac1796a1281aa6a6c9da3e407cb871d321da9d6c Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Thu, 13 Nov 2025 00:57:36 +0100 Subject: Add i32.shr_{s,u} --- src/interp/ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interp') 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 */ -- cgit v1.2.3