Debian Codegraph @

tests/cli/relaxed-simd.wast

raw
1 ;; RUN: wast --assert default --snapshot tests/snapshots %
2
3 ;; --enable-simd --enable-relaxed-simd
4 (module
5 (func $swizzle (param v128 v128) (result v128)
6 local.get 0
7 local.get 1
8 i8x16.relaxed_swizzle)
9
10 (func $i32x4_trunc_f32x4_s (param v128) (result v128)
11 local.get 0
12 i32x4.relaxed_trunc_f32x4_s)
13
14 (func $i32x4_trunc_f32x4_u (param v128) (result v128)
15 local.get 0
16 i32x4.relaxed_trunc_f32x4_u)
17
18 (func $i32x4.trunc_f64x2_s_zero (param v128) (result v128)
19 local.get 0
20 i32x4.relaxed_trunc_f64x2_s_zero)
21
22 (func $i32x4.trunc_f64x2_u_zero (param v128) (result v128)
23 local.get 0
24 i32x4.relaxed_trunc_f64x2_u_zero)
25
26 (func $f32x4_fma (param v128 v128 v128) (result v128)
27 local.get 0
28 local.get 1
29 local.get 2
30 f32x4.relaxed_madd)
31
32 (func $f32x4_fnma (param v128 v128 v128) (result v128)
33 local.get 0
34 local.get 1
35 local.get 2
36 f32x4.relaxed_nmadd)
37
38 (func $f64x2_fma (param v128 v128 v128) (result v128)
39 local.get 0
40 local.get 1
41 local.get 2
42 f64x2.relaxed_madd)
43
44 (func $f64x2_fnma (param v128 v128 v128) (result v128)
45 local.get 0
46 local.get 1
47 local.get 2
48 f64x2.relaxed_nmadd)
49
50 (func $i8x16_laneselect (param v128 v128 v128) (result v128)
51 local.get 0
52 local.get 1
53 local.get 2
54 i8x16.relaxed_laneselect)
55
56 (func $i16x8_laneselect (param v128 v128 v128) (result v128)
57 local.get 0
58 local.get 1
59 local.get 2
60 i16x8.relaxed_laneselect)
61
62 (func $i32x4_laneselect (param v128 v128 v128) (result v128)
63 local.get 0
64 local.get 1
65 local.get 2
66 i32x4.relaxed_laneselect)
67
68 (func $i64x2_laneselect (param v128 v128 v128) (result v128)
69 local.get 0
70 local.get 1
71 local.get 2
72 i64x2.relaxed_laneselect)
73
74 (func $f32x4_min (param v128 v128) (result v128)
75 local.get 0
76 local.get 1
77 f32x4.relaxed_min)
78
79 (func $f32x4_max (param v128 v128) (result v128)
80 local.get 0
81 local.get 1
82 f32x4.relaxed_max)
83
84 (func $f64x2_min (param v128 v128) (result v128)
85 local.get 0
86 local.get 1
87 f64x2.relaxed_min)
88
89 (func $f64x2_max (param v128 v128) (result v128)
90 local.get 0
91 local.get 1
92 f64x2.relaxed_max)
93
94 (func $i16x8_q15mulr_s (param v128 v128) (result v128)
95 local.get 0
96 local.get 1
97 i16x8.relaxed_q15mulr_s)
98
99 (func $i16x8_dot_i8x16_i7x16_s (param v128 v128) (result v128)
100 local.get 0
101 local.get 1
102 i16x8.relaxed_dot_i8x16_i7x16_s)
103
104 (func $i32x4_dot_i8x16_i7x16_add_s (param v128 v128 v128) (result v128)
105 local.get 0
106 local.get 1
107 local.get 2
108 i32x4.relaxed_dot_i8x16_i7x16_add_s)
109 )