# std: Add Wasm SIMD opcodes and value type · gitcafe/zig

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

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

Visibility: public

Requested revision: 5a6b6992d887ffee1ea64b4f778c5c07ecbaf270

Requested commit: 5a6b6992d887ffee1ea64b4f778c5c07ecbaf270

Commit: 5a6b6992d887ffee1ea64b4f778c5c07ecbaf270

Tree: d3bed0ee1d09a41343ef10b6ccac9aa4ff54d762

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
std: Add Wasm SIMD opcodes and value type

This adds the opcodes for both the simd128 and relaxed-simd features.
Those instructions are required by the self-hosted WebAssembly
backend. Additionally, this also adds the new `v128` Valtype which
is required to represent a 128bit simd value. SIMD values that do
not have exactly 128 bits will be represented differently.

```

## Parents

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

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