diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-12 00:31:30 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-12 00:31:30 +0100 |
| commit | 900fabee73c16bda1542b96d564936e6318d6f58 (patch) | |
| tree | e0ccc76a7e8fd8590d0aaf97041e39534d755305 /src/interp | |
| parent | 1e3a4e9ff4d9963aa77dc6135f351f90d927e9e0 (diff) | |
| download | nanowasm-900fabee73c16bda1542b96d564936e6318d6f58.tar.gz | |
Add i32_{gt,le}_{s,u}
Diffstat (limited to 'src/interp')
| -rw-r--r-- | src/interp/ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interp/ops.c b/src/interp/ops.c index 4a76fba..7fc5848 100644 --- a/src/interp/ops.c +++ b/src/interp/ops.c @@ -88,10 +88,10 @@ static void (*const ops[])(struct nw_interp *) = nwp_op_i32_ne, /* OP_I32_NE */ nwp_op_i32_lt_s, /* OP_I32_LT_S */ nwp_op_i32_lt_u, /* OP_I32_LT_U */ - NULL, /* OP_I32_GT_S */ - NULL, /* OP_I32_GT_U */ - NULL, /* OP_I32_LE_S */ - NULL, /* OP_I32_LE_U */ + nwp_op_i32_gt_s, /* OP_I32_GT_S */ + nwp_op_i32_gt_u, /* OP_I32_GT_U */ + nwp_op_i32_le_s, /* OP_I32_LE_S */ + nwp_op_i32_le_u, /* OP_I32_LE_U */ nwp_op_i32_ge_s, /* OP_I32_GE_S */ nwp_op_i32_ge_u, /* OP_I32_GE_U */ NULL, /* OP_I64_EQZ */ |
