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

Commit 39a2cba

Browse files
committed
i64x2.min_u and i64x2.max_u instructions
1 parent 723c967 commit 39a2cba

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

proposals/simd/BinarySIMD.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ For example, `ImmLaneIdx16` is a byte with values in the range 0-15 (inclusive).
191191
| `i64x2.add` | `0xce`| - |
192192
| `i64x2.sub` | `0xd1`| - |
193193
| `i64x2.mul` | `0xd5`| - |
194+
| `i64x2.min_u` | `0xd7`| - |
194195
| `f32x4.ceil` | `0xd8`| - |
196+
| `i64x2.max_u` | `0xd9`| - |
195197
| `f32x4.floor` | `0xd9`| - |
196198
| `f32x4.trunc` | `0xda`| - |
197199
| `f32x4.nearest` | `0xdb`| - |

proposals/simd/ImplementationStatus.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@
160160
| `i64x2.widen_high_i32x4_s` | | | | | |
161161
| `i64x2.widen_low_i32x4_u` | | | | | |
162162
| `i64x2.widen_high_i32x4_u` | | | | | |
163+
| `i64x2.min_u` | | | | | |
164+
| `i64x2.max_u` | | | | | |
163165
| `f32x4.abs` | `-msimd128` | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
164166
| `f32x4.neg` | `-msimd128` | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
165167
| `f32x4.sqrt` | `-msimd128` | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |

proposals/simd/NewOpcodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@
103103
| ------------- | 0x74 | ------------- | 0x94 | ------------- | 0xb4 | ------------- | 0xd4 |
104104
| ---- mul ---- | 0x75 | i16x8.mul | 0x95 | i32x4.mul | 0xb5 | i64x2.mul | 0xd5 |
105105
| i8x16.min_s | 0x76 | i16x8.min_s | 0x96 | i32x4.min_s | 0xb6 | ------------- | 0xd6 |
106-
| i8x16.min_u | 0x77 | i16x8.min_u | 0x97 | i32x4.min_u | 0xb7 | ------------- | 0xd7 |
106+
| i8x16.min_u | 0x77 | i16x8.min_u | 0x97 | i32x4.min_u | 0xb7 | i64x2.min_u | 0xd7 |
107107
| i8x16.max_s | 0x78 | i16x8.max_s | 0x98 | i32x4.max_s | 0xb8 | ------------- | 0xd8 |
108108
| i8x16.max_u | 0x79 | i16x8.max_u | 0x99 | i32x4.max_u | 0xb9 | ------------- | 0xd9 |
109-
| ---------------- | 0x7a | ---------------- | 0x9a | i32x4.dot_i16x8_s | 0xba | ------------- | 0xda |
109+
| ---------------- | 0x7a | ---------------- | 0x9a | i32x4.dot_i16x8_s | 0xba | i64x2.max_u | 0xda |
110110
| i8x16.avgr_u | 0x7b | i16x8.avgr_u | 0x9b | ---- avgr_u ---- | 0xbb | ------------- | 0xdb |
111111

112112
| f32x4 Op | opcode | f64x2 Op | opcode |

proposals/simd/SIMD.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ def S.q15mulr_sat_s(a, b):
529529
* `i16x8.min_u(a: v128, b: v128) -> v128`
530530
* `i32x4.min_s(a: v128, b: v128) -> v128`
531531
* `i32x4.min_u(a: v128, b: v128) -> v128`
532+
* `i64x2.min_u(a: v128, b: v128) -> v128`
532533

533534
Compares lane-wise signed/unsigned integers, and returns the minimum of
534535
each pair.
@@ -545,6 +546,7 @@ def S.min(a, b):
545546
* `i16x8.max_u(a: v128, b: v128) -> v128`
546547
* `i32x4.max_s(a: v128, b: v128) -> v128`
547548
* `i32x4.max_u(a: v128, b: v128) -> v128`
549+
* `i64x2.max_u(a: v128, b: v128) -> v128`
548550

549551
Compares lane-wise signed/unsigned integers, and returns the maximum of
550552
each pair.

0 commit comments

Comments
 (0)