# wasm: Implement wrapping operands, add opcodes to wasm.zig · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/5667ab7dcd2e367f3e1ac337eabadd64d9d850ad)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 5667ab7dcd2e367f3e1ac337eabadd64d9d850ad

Requested commit: 5667ab7dcd2e367f3e1ac337eabadd64d9d850ad

Commit: 5667ab7dcd2e367f3e1ac337eabadd64d9d850ad

Tree: 18a3a3a7e1c78b8db6da109718d60e6cf01a66cd

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Implement wrapping operands, add opcodes to wasm.zig

- Some opcodes have the incorrect value set in std.
- Some opcodes were missing and have now been added to std.
- Adding wrapping operands for add,sub and mul.
- Implement intCast which either extends or shortens the type.

```

## Parents

- [5589edf45ce20b5b6d893b1a5488007981322550](https://git.cafe/gitcafe/zig/commit/5589edf45ce20b5b6d893b1a5488007981322550?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/5667ab7dcd2e367f3e1ac337eabadd64d9d850ad?format=markdown)
