Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 7c2cfdd

Browse files
authored
Reorder extending loads to have signed variants first (#111)
This is consistent with the ordering for all other instructions that have signed and unsigned variants. This does renumber these instructions, but no engine or toolchain has documented support for these instructions yet, so that should be ok.
1 parent b36ca02 commit 7c2cfdd

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

proposals/simd/BinarySIMD.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ The `v8x16.shuffle` instruction has 16 bytes after `simdop`.
183183
| `i32x4.widen_high_i16x8_s` | `0xcf`| - |
184184
| `i32x4.widen_low_i16x8_u` | `0xd0`| - |
185185
| `i32x4.widen_high_i16x8_u` | `0xd1`| - |
186-
| `i16x8.load8x8_u` | `0xd2`| m:memarg |
187-
| `i16x8.load8x8_s` | `0xd3`| m:memarg |
188-
| `i32x4.load16x4_u` | `0xd4`| m:memarg |
189-
| `i32x4.load16x4_s` | `0xd5`| m:memarg |
190-
| `i64x2.load32x2_u` | `0xd6`| m:memarg |
191-
| `i64x2.load32x2_s` | `0xd7`| m:memarg |
186+
| `i16x8.load8x8_s` | `0xd2`| m:memarg |
187+
| `i16x8.load8x8_u` | `0xd3`| m:memarg |
188+
| `i32x4.load16x4_s` | `0xd4`| m:memarg |
189+
| `i32x4.load16x4_u` | `0xd5`| m:memarg |
190+
| `i64x2.load32x2_s` | `0xd6`| m:memarg |
191+
| `i64x2.load32x2_u` | `0xd7`| m:memarg |

proposals/simd/ImplementationStatus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@
144144
| `f64x2.convert_i64x2_u` | `-munimplemented-simd128` | | :heavy_check_mark: | :heavy_check_mark: |
145145
| `v8x16.swizzle` | | | :heavy_check_mark: | |
146146
| `v8x16.shuffle` | | | :heavy_check_mark: | :heavy_check_mark: |
147-
| `i16x8.load8x8_u` | | | | |
148147
| `i16x8.load8x8_s` | | | | |
149-
| `i32x4.load16x4_u` | | | | |
148+
| `i16x8.load8x8_u` | | | | |
150149
| `i32x4.load16x4_s` | | | | |
151-
| `i64x2.load32x2_u` | | | | |
150+
| `i32x4.load16x4_u` | | | | |
152151
| `i64x2.load32x2_s` | | | | |
152+
| `i64x2.load32x2_u` | | | | |
153153
| `i8x16.narrow_i16x8_s` | | :heavy_check_mark: | :heavy_check_mark: | |
154154
| `i8x16.narrow_i16x8_u` | | :heavy_check_mark: | :heavy_check_mark: | |
155155
| `i16x8.narrow_i32x4_s` | | :heavy_check_mark: | :heavy_check_mark: | |

proposals/simd/SIMD.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -676,12 +676,12 @@ Load a single element and splat to all lanes of a `v128` vector.
676676

677677
### Load and Extend
678678

679-
* `i16x8.load8x8_u(memarg) -> v128`: load eight 8-bit integers and zero extend each one to a 16-bit lane
680679
* `i16x8.load8x8_s(memarg) -> v128`: load eight 8-bit integers and sign extend each one to a 16-bit lane
681-
* `i32x4.load16x4_u(memarg) -> v128`: load four 16-bit integers and zero extend each one to a 32-bit lane
680+
* `i16x8.load8x8_u(memarg) -> v128`: load eight 8-bit integers and zero extend each one to a 16-bit lane
682681
* `i32x4.load16x4_s(memarg) -> v128`: load four 16-bit integers and sign extend each one to a 32-bit lane
683-
* `i64x2.load32x2_u(memarg) -> v128`: load two 32-bit integers and zero extend each one to a 64-bit lane
682+
* `i32x4.load16x4_u(memarg) -> v128`: load four 16-bit integers and zero extend each one to a 32-bit lane
684683
* `i64x2.load32x2_s(memarg) -> v128`: load two 32-bit integers and sign extend each one to a 64-bit lane
684+
* `i64x2.load32x2_u(memarg) -> v128`: load two 32-bit integers and zero extend each one to a 64-bit lane
685685

686686
Fetch consequtive integers up to 32-bit wide and produce a vector with lanes up to 64 bits.
687687

0 commit comments

Comments
 (0)