summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorBrendan Dahl <brendan.dahl@gmail.com>2024-08-08 10:22:51 -0700
committerGitHub <noreply@github.com>2024-08-08 10:22:51 -0700
commitd945aa489a1ad62c130e04ceea8492c7a728ab57 (patch)
tree04e529f11ed8b2dfe9d98f84d25f7bef05f158b0 /src/wasm-binary.h
parentc9fd92c25a74a70c9730f1b39b49ef3d91a1a7f1 (diff)
downloadbinaryen-d945aa489a1ad62c130e04ceea8492c7a728ab57.tar.gz
binaryen-d945aa489a1ad62c130e04ceea8492c7a728ab57.tar.bz2
binaryen-d945aa489a1ad62c130e04ceea8492c7a728ab57.zip
[FP16] Implement lane access instructions. (#6821)
Specified at https://github.com/WebAssembly/half-precision/blob/main/proposals/half-precision/Overview.md
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 5fae1b64d..38bf5d475 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -1054,6 +1054,9 @@ enum ASTNodes {
// half precision opcodes
F32_F16LoadMem = 0x30,
F32_F16StoreMem = 0x31,
+ F16x8Splat = 0x120,
+ F16x8ExtractLane = 0x121,
+ F16x8ReplaceLane = 0x122,
// bulk memory opcodes