Skip to content

Commit

Permalink
Merge pull request #48 from yurydelendik/sm-status
Browse files Browse the repository at this point in the history
Report status of SpiderMonkey implemention
  • Loading branch information
ngzhian authored Nov 5, 2021
2 parents 847e8fc + 383be57 commit 8f0a216
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions proposals/relaxed-simd/ImplementationStatus.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
## Implementation in LLVM and various engines

| Instruction | LLVM [1] | V8 [2] | SpiderMonkey |
|------------------------------------|----------------|--------------------|--------------|
| `relaxed i8x16.swizzle` | -mrelaxed-simd | :heavy_check_mark: | |
| `relaxed i32x4.trunc_f32x4_s` | -mrelaxed-simd | :heavy_check_mark: | |
| `relaxed i32x4.trunc_f32x4_u` | -mrelaxed-simd | :heavy_check_mark: | |
| `relaxed i32x4.trunc_f64x2_s_zero` | -mrelaxed-simd | :heavy_check_mark: | |
| `relaxed i32x4.trunc_f64x2_u_zero` | -mrelaxed-simd | :heavy_check_mark: | |
| `f32x4.fma` | -mrelaxed-simd | :heavy_check_mark: | |
| `f32x4.fms` | -mrelaxed-simd | :heavy_check_mark: | |
| `f64x2.fma` | -mrelaxed-simd | :heavy_check_mark: | |
| `f64x2.fms` | -mrelaxed-simd | :heavy_check_mark: | |
| `i8x16.laneselect` | -mrelaxed-simd | :heavy_check_mark: | |
| `i16x8.laneselect` | -mrelaxed-simd | :heavy_check_mark: | |
| `i32x4.laneselect` | -mrelaxed-simd | :heavy_check_mark: | |
| `i64x2.laneselect` | -mrelaxed-simd | :heavy_check_mark: | |
| `f32x4.min` | -mrelaxed-simd | :heavy_check_mark: | |
| `f32x4.max` | -mrelaxed-simd | :heavy_check_mark: | |
| `f64x2.min` | -mrelaxed-simd | :heavy_check_mark: | |
| `f64x2.max` | -mrelaxed-simd | :heavy_check_mark: | |
| Instruction | LLVM [1] | V8 [2] | SpiderMonkey [3] |
|------------------------------------|----------------|--------------------|--------------------|
| `relaxed i8x16.swizzle` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `relaxed i32x4.trunc_f32x4_s` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `relaxed i32x4.trunc_f32x4_u` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `relaxed i32x4.trunc_f64x2_s_zero` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `relaxed i32x4.trunc_f64x2_u_zero` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `f32x4.fma` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `f32x4.fms` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `f64x2.fma` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `f64x2.fms` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `i8x16.laneselect` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `i16x8.laneselect` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `i32x4.laneselect` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `i64x2.laneselect` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `f32x4.min` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `f32x4.max` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `f64x2.min` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |
| `f64x2.max` | -mrelaxed-simd | :heavy_check_mark: | :heavy_check_mark: |

[1] Tip of tree LLVM as of 2021-10-28

[2] V8 9.7.75 (only implemented on x64)

[3] SpiderMonkey as of 2021-10-18 implemented on x86, x64 and Aarch64

## Name of builtins in LLVM

| Instruction | LLVM |
Expand Down

0 comments on commit 8f0a216

Please sign in to comment.