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

Commit 0f30463

Browse files
committed
i64x2.min_s and i64x2.max_s instructions
1 parent 2fd21c0 commit 0f30463

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

proposals/simd/BinarySIMD.md

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ For example, `ImmLaneIdx16` is a byte with values in the range 0-15 (inclusive).
189189
| `i64x2.add` | `0xce`| - |
190190
| `i64x2.sub` | `0xd1`| - |
191191
| `i64x2.mul` | `0xd5`| - |
192+
| `i64x2.min_s` | `0xd6`| - |
193+
| `i64x2.max_s` | `0xd8`| - |
192194
| `f32x4.ceil` | `0xd8`| - |
193195
| `f32x4.floor` | `0xd9`| - |
194196
| `f32x4.trunc` | `0xda`| - |

proposals/simd/ImplementationStatus.md

+2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
| `i64x2.add` | `-msimd128` | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
158158
| `i64x2.sub` | `-msimd128` | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
159159
| `i64x2.mul` | `-msimd128` | :heavy_check_mark: | | | :heavy_check_mark: |
160+
| `i64x2.min_s` | | | | | |
161+
| `i64x2.max_s` | | | | | |
160162
| `f32x4.abs` | `-msimd128` | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
161163
| `f32x4.neg` | `-msimd128` | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
162164
| `f32x4.sqrt` | `-msimd128` | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |

proposals/simd/NewOpcodes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@
102102
| i8x16.sub_sat_u | 0x73 | i16x8.sub_sat_u | 0x93 | ---- sub_sat ---- | 0xb3 | ---- | 0xd3 |
103103
| ------------- | 0x74 | ------------- | 0x94 | ------------- | 0xb4 | ---- | 0xd4 |
104104
| ---- mul ---- | 0x75 | i16x8.mul | 0x95 | i32x4.mul | 0xb5 | i64x2.mul | 0xd5 |
105-
| i8x16.min_s | 0x76 | i16x8.min_s | 0x96 | i32x4.min_s | 0xb6 | ---- | 0xd6 |
105+
| i8x16.min_s | 0x76 | i16x8.min_s | 0x96 | i32x4.min_s | 0xb6 | i64x2.min_s | 0xd6 |
106106
| i8x16.min_u | 0x77 | i16x8.min_u | 0x97 | i32x4.min_u | 0xb7 | ---- | 0xd7 |
107-
| i8x16.max_s | 0x78 | i16x8.max_s | 0x98 | i32x4.max_s | 0xb8 | ---- | 0xd8 |
107+
| i8x16.max_s | 0x78 | i16x8.max_s | 0x98 | i32x4.max_s | 0xb8 | i64x2.max_s | 0xd8 |
108108
| i8x16.max_u | 0x79 | i16x8.max_u | 0x99 | i32x4.max_u | 0xb9 | ---- | 0xd9 |
109109
| ---------------- | 0x7a | ---------------- | 0x9a | i32x4.dot_i16x8_s | 0xba | ---- | 0xda |
110110
| i8x16.avgr_u | 0x7b | i16x8.avgr_u | 0x9b | ---- avgr_u ---- | 0xbb | ---- | 0xdb |

proposals/simd/SIMD.md

+2
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ def S.sub_sat_u(a, b):
516516
* `i16x8.min_u(a: v128, b: v128) -> v128`
517517
* `i32x4.min_s(a: v128, b: v128) -> v128`
518518
* `i32x4.min_u(a: v128, b: v128) -> v128`
519+
* `i64x2.min_s(a: v128, b: v128) -> v128`
519520

520521
Compares lane-wise signed/unsigned integers, and returns the minimum of
521522
each pair.
@@ -532,6 +533,7 @@ def S.min(a, b):
532533
* `i16x8.max_u(a: v128, b: v128) -> v128`
533534
* `i32x4.max_s(a: v128, b: v128) -> v128`
534535
* `i32x4.max_u(a: v128, b: v128) -> v128`
536+
* `i64x2.max_s(a: v128, b: v128) -> v128`
535537

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

0 commit comments

Comments
 (0)