From e05ddb3f9ff83ff28934ffd2909d5c06b4a86dc8 Mon Sep 17 00:00:00 2001 From: Ng Zhi An Date: Tue, 9 Jun 2020 16:30:16 -0700 Subject: [PATCH] Document representation of LandIndxN --- proposals/simd/BinarySIMD.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/proposals/simd/BinarySIMD.md b/proposals/simd/BinarySIMD.md index 6c8adcdb2..627aa6ed8 100644 --- a/proposals/simd/BinarySIMD.md +++ b/proposals/simd/BinarySIMD.md @@ -23,7 +23,12 @@ instr ::= ... ``` Some SIMD instructions have additional immediate operands following `simdop`. -The `v8x16.shuffle` instruction has 16 bytes after `simdop`. +These immediate operands are encoded as individual bytes. +For example, the `v8x16.shuffle` instruction has 16 bytes after `simdop`. + +In the description below, `LaneIdx{I}` indicates the maximum value of the byte. +For example, `LaneIdx16` is a byte with values in the range 0-15 (inclusive). + | Instruction | `simdop` | Immediate operands | | ---------------------------|---------:|--------------------|