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

Commit

Permalink
Update proposals/simd/SIMD.md
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Lively <7121787+tlively@users.noreply.github.com>
  • Loading branch information
Maratyszcza and tlively committed Sep 11, 2020
1 parent dd43218 commit 70aba5e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions proposals/simd/SIMD.md
Original file line number Diff line number Diff line change
Expand Up @@ -900,18 +900,6 @@ Lane-wise IEEE `multiplication`.

Lane-wise IEEE `squareRoot`.

### Round to nearest integer, ties to even
* `f32x4.nearest(a: v128) -> v128`
* `f64x2.nearest(a: v128) -> v128`

Lane-wise rounding to the nearest integral value; if two values are equally near, rounds to the even one.

### Round to integer toward zero (truncate to integer)
* `f32x4.trunc(a: v128) -> v128`
* `f64x2.trunc(a: v128) -> v128`

Lane-wise rounding to the nearest integral value with the magniture not larger than the input.

### Round to integer above (ceiling)
* `f32x4.ceil(a: v128) -> v128`
* `f64x2.ceil(a: v128) -> v128`
Expand All @@ -924,6 +912,18 @@ Lane-wise rounding to the nearest integral value not smaller than the input.

Lane-wise rounding to the nearest integral value not greater than the input.

### Round to integer toward zero (truncate to integer)
* `f32x4.trunc(a: v128) -> v128`
* `f64x2.trunc(a: v128) -> v128`

Lane-wise rounding to the nearest integral value with the magnitude not larger than the input.

### Round to nearest integer, ties to even
* `f32x4.nearest(a: v128) -> v128`
* `f64x2.nearest(a: v128) -> v128`

Lane-wise rounding to the nearest integral value; if two values are equally near, rounds to the even one.

## Conversions
### Integer to floating point
* `f32x4.convert_i32x4_s(a: v128) -> v128`
Expand Down

0 comments on commit 70aba5e

Please sign in to comment.