1 # RUN: llvm-mc -no-type-check -show-encoding -triple=wasm32-unknown-unknown -mattr=+simd128,+relaxed-simd,+fp16 < %s | FileCheck %s
4 .functype main () -> ()
6 # CHECK: v128.load 48 # encoding: [0xfd,0x00,0x04,0x30]
9 # CHECK: i16x8.load8x8_s 32 # encoding: [0xfd,0x01,0x03,0x20]
12 # CHECK: i16x8.load8x8_u 32 # encoding: [0xfd,0x02,0x03,0x20]
15 # CHECK: i32x4.load16x4_s 32 # encoding: [0xfd,0x03,0x03,0x20]
18 # CHECK: i32x4.load16x4_u 32 # encoding: [0xfd,0x04,0x03,0x20]
21 # CHECK: i64x2.load32x2_s 32 # encoding: [0xfd,0x05,0x03,0x20]
24 # CHECK: i64x2.load32x2_u 32 # encoding: [0xfd,0x06,0x03,0x20]
27 # CHECK: v128.load8_splat 48 # encoding: [0xfd,0x07,0x00,0x30]
30 # CHECK: v128.load16_splat 48 # encoding: [0xfd,0x08,0x01,0x30]
33 # CHECK: v128.load32_splat 48 # encoding: [0xfd,0x09,0x02,0x30]
36 # CHECK: v128.load64_splat 48 # encoding: [0xfd,0x0a,0x03,0x30]
39 # CHECK: v128.store 48 # encoding: [0xfd,0x0b,0x04,0x30]
42 # CHECK: v128.const 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
43 # CHECK-SAME: # encoding: [0xfd,0x0c,
44 # CHECK-SAME: 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
45 # CHECK-SAME: 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f]
46 v128.const
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
48 # CHECK: v128.const 256, 770, 1284, 1798, 2312, 2826, 3340, 3854
49 # CHECK-SAME: # encoding: [0xfd,0x0c,
50 # CHECK-SAME: 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
51 # CHECK-SAME: 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f]
52 v128.const
256, 770, 1284, 1798, 2312, 2826, 3340, 3854
54 # TODO(tlively): Fix assembler so v128.const works with 4xi32 and 2xi64
56 # CHECK: v128.const 0x1.0402p-121, 0x1.0c0a08p-113,
57 # CHECK-SAME: 0x1.14121p-105, 0x1.1c1a18p-97
58 # CHECK-SAME: # encoding: [0xfd,0x0c,
59 # CHECK-SAME: 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
60 # CHECK-SAME: 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f]
61 v128.const
0x1.0402p-
121, 0x1.0c0a08p-
113, 0x1.14121p-
105, 0x1.1c1a18p-
97
63 # CHECK: v128.const 0x1.60504030201p-911, 0x1.e0d0c0b0a0908p-783
64 # CHECK-SAME: # encoding: [0xfd,0x0c,
65 # CHECK-SAME: 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
66 # CHECK-SAME: 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f]
67 v128.const
0x1.60504030201p-
911, 0x1.e0d0c0b0a0908p-783
69 # CHECK: i8x16.shuffle 0, 17, 2, 19, 4, 21, 6, 23,
70 # CHECK-SAME: 8, 25, 10, 27, 12, 29, 14, 31
71 # CHECK-SAME: # encoding: [0xfd,0x0d,
72 # CHECK-SAME: 0x00,0x11,0x02,0x13,0x04,0x15,0x06,0x17,
73 # CHECK-SAME: 0x08,0x19,0x0a,0x1b,0x0c,0x1d,0x0e,0x1f]
74 i8x16.shuffle
0, 17, 2, 19, 4, 21, 6, 23, 8, 25, 10, 27, 12, 29, 14, 31
76 # CHECK: i8x16.swizzle # encoding: [0xfd,0x0e]
79 # CHECK: i8x16.splat # encoding: [0xfd,0x0f]
82 # CHECK: i16x8.splat # encoding: [0xfd,0x10]
85 # CHECK: i32x4.splat # encoding: [0xfd,0x11]
88 # CHECK: i64x2.splat # encoding: [0xfd,0x12]
91 # CHECK: f32x4.splat # encoding: [0xfd,0x13]
94 # CHECK: f64x2.splat # encoding: [0xfd,0x14]
97 # CHECK: i8x16.extract_lane_s 15 # encoding: [0xfd,0x15,0x0f]
98 i8x16.extract_lane_s
15
100 # CHECK: i8x16.extract_lane_u 15 # encoding: [0xfd,0x16,0x0f]
101 i8x16.extract_lane_u
15
103 # CHECK: i8x16.replace_lane 15 # encoding: [0xfd,0x17,0x0f]
104 i8x16.replace_lane
15
106 # CHECK: i16x8.extract_lane_s 7 # encoding: [0xfd,0x18,0x07]
107 i16x8.extract_lane_s
7
109 # CHECK: i16x8.extract_lane_u 7 # encoding: [0xfd,0x19,0x07]
110 i16x8.extract_lane_u
7
112 # CHECK: i16x8.replace_lane 7 # encoding: [0xfd,0x1a,0x07]
115 # CHECK: i32x4.extract_lane 3 # encoding: [0xfd,0x1b,0x03]
118 # CHECK: i32x4.replace_lane 3 # encoding: [0xfd,0x1c,0x03]
121 # CHECK: i64x2.extract_lane 1 # encoding: [0xfd,0x1d,0x01]
124 # CHECK: i64x2.replace_lane 1 # encoding: [0xfd,0x1e,0x01]
127 # CHECK: f32x4.extract_lane 3 # encoding: [0xfd,0x1f,0x03]
130 # CHECK: f32x4.replace_lane 3 # encoding: [0xfd,0x20,0x03]
133 # CHECK: f64x2.extract_lane 1 # encoding: [0xfd,0x21,0x01]
136 # CHECK: f64x2.replace_lane 1 # encoding: [0xfd,0x22,0x01]
139 # CHECK: i8x16.eq # encoding: [0xfd,0x23]
142 # CHECK: i8x16.ne # encoding: [0xfd,0x24]
145 # CHECK: i8x16.lt_s # encoding: [0xfd,0x25]
148 # CHECK: i8x16.lt_u # encoding: [0xfd,0x26]
151 # CHECK: i8x16.gt_s # encoding: [0xfd,0x27]
154 # CHECK: i8x16.gt_u # encoding: [0xfd,0x28]
157 # CHECK: i8x16.le_s # encoding: [0xfd,0x29]
160 # CHECK: i8x16.le_u # encoding: [0xfd,0x2a]
163 # CHECK: i8x16.ge_s # encoding: [0xfd,0x2b]
166 # CHECK: i8x16.ge_u # encoding: [0xfd,0x2c]
169 # CHECK: i16x8.eq # encoding: [0xfd,0x2d]
172 # CHECK: i16x8.ne # encoding: [0xfd,0x2e]
175 # CHECK: i16x8.lt_s # encoding: [0xfd,0x2f]
178 # CHECK: i16x8.lt_u # encoding: [0xfd,0x30]
181 # CHECK: i16x8.gt_s # encoding: [0xfd,0x31]
184 # CHECK: i16x8.gt_u # encoding: [0xfd,0x32]
187 # CHECK: i16x8.le_s # encoding: [0xfd,0x33]
190 # CHECK: i16x8.le_u # encoding: [0xfd,0x34]
193 # CHECK: i16x8.ge_s # encoding: [0xfd,0x35]
196 # CHECK: i16x8.ge_u # encoding: [0xfd,0x36]
199 # CHECK: i32x4.eq # encoding: [0xfd,0x37]
202 # CHECK: i32x4.ne # encoding: [0xfd,0x38]
205 # CHECK: i32x4.lt_s # encoding: [0xfd,0x39]
208 # CHECK: i32x4.lt_u # encoding: [0xfd,0x3a]
211 # CHECK: i32x4.gt_s # encoding: [0xfd,0x3b]
214 # CHECK: i32x4.gt_u # encoding: [0xfd,0x3c]
217 # CHECK: i32x4.le_s # encoding: [0xfd,0x3d]
220 # CHECK: i32x4.le_u # encoding: [0xfd,0x3e]
223 # CHECK: i32x4.ge_s # encoding: [0xfd,0x3f]
226 # CHECK: i32x4.ge_u # encoding: [0xfd,0x40]
229 # CHECK: f32x4.eq # encoding: [0xfd,0x41]
232 # CHECK: f32x4.ne # encoding: [0xfd,0x42]
235 # CHECK: f32x4.lt # encoding: [0xfd,0x43]
238 # CHECK: f32x4.gt # encoding: [0xfd,0x44]
241 # CHECK: f32x4.le # encoding: [0xfd,0x45]
244 # CHECK: f32x4.ge # encoding: [0xfd,0x46]
247 # CHECK: f64x2.eq # encoding: [0xfd,0x47]
250 # CHECK: f64x2.ne # encoding: [0xfd,0x48]
253 # CHECK: f64x2.lt # encoding: [0xfd,0x49]
256 # CHECK: f64x2.gt # encoding: [0xfd,0x4a]
259 # CHECK: f64x2.le # encoding: [0xfd,0x4b]
262 # CHECK: f64x2.ge # encoding: [0xfd,0x4c]
265 # CHECK: v128.not # encoding: [0xfd,0x4d]
268 # CHECK: v128.and # encoding: [0xfd,0x4e]
271 # CHECK: v128.andnot # encoding: [0xfd,0x4f]
274 # CHECK: v128.or # encoding: [0xfd,0x50]
277 # CHECK: v128.xor # encoding: [0xfd,0x51]
280 # CHECK: v128.bitselect # encoding: [0xfd,0x52]
283 # CHECK: v128.any_true # encoding: [0xfd,0x53]
286 # CHECK: v128.load8_lane 32, 1 # encoding: [0xfd,0x54,0x00,0x20,0x01]
287 v128.load8_lane
32, 1
289 # CHECK: v128.load16_lane 32, 1 # encoding: [0xfd,0x55,0x01,0x20,0x01]
290 v128.load16_lane
32, 1
292 # CHECK: v128.load32_lane 32, 1 # encoding: [0xfd,0x56,0x02,0x20,0x01]
293 v128.load32_lane
32, 1
295 # CHECK: v128.load64_lane 32, 1 # encoding: [0xfd,0x57,0x03,0x20,0x01]
296 v128.load64_lane
32, 1
298 # CHECK: v128.store8_lane 32, 1 # encoding: [0xfd,0x58,0x00,0x20,0x01]
299 v128.store8_lane
32, 1
301 # CHECK: v128.store16_lane 32, 1 # encoding: [0xfd,0x59,0x01,0x20,0x01]
302 v128.store16_lane
32, 1
304 # CHECK: v128.store32_lane 32, 1 # encoding: [0xfd,0x5a,0x02,0x20,0x01]
305 v128.store32_lane
32, 1
307 # CHECK: v128.store64_lane 32, 1 # encoding: [0xfd,0x5b,0x03,0x20,0x01]
308 v128.store64_lane
32, 1
310 # CHECK: v128.load32_zero 32 # encoding: [0xfd,0x5c,0x02,0x20]
313 # CHECK: v128.load64_zero 32 # encoding: [0xfd,0x5d,0x03,0x20]
316 # CHECK: f32x4.demote_f64x2_zero # encoding: [0xfd,0x5e]
317 f32x4.demote_f64x2_zero
319 # CHECK: f64x2.promote_low_f32x4 # encoding: [0xfd,0x5f]
320 f64x2.promote_low_f32x4
322 # CHECK: i8x16.abs # encoding: [0xfd,0x60]
325 # CHECK: i8x16.neg # encoding: [0xfd,0x61]
328 # CHECK: i8x16.popcnt # encoding: [0xfd,0x62]
331 # CHECK: i8x16.all_true # encoding: [0xfd,0x63]
334 # CHECK: i8x16.bitmask # encoding: [0xfd,0x64]
337 # CHECK: i8x16.narrow_i16x8_s # encoding: [0xfd,0x65]
340 # CHECK: i8x16.narrow_i16x8_u # encoding: [0xfd,0x66]
343 # CHECK: f32x4.ceil # encoding: [0xfd,0x67]
346 # CHECK: f32x4.floor # encoding: [0xfd,0x68]
349 # CHECK: f32x4.trunc # encoding: [0xfd,0x69]
352 # CHECK: f32x4.nearest # encoding: [0xfd,0x6a]
355 # CHECK: i8x16.shl # encoding: [0xfd,0x6b]
358 # CHECK: i8x16.shr_s # encoding: [0xfd,0x6c]
361 # CHECK: i8x16.shr_u # encoding: [0xfd,0x6d]
364 # CHECK: i8x16.add # encoding: [0xfd,0x6e]
367 # CHECK: i8x16.add_sat_s # encoding: [0xfd,0x6f]
370 # CHECK: i8x16.add_sat_u # encoding: [0xfd,0x70]
373 # CHECK: i8x16.sub # encoding: [0xfd,0x71]
376 # CHECK: i8x16.sub_sat_s # encoding: [0xfd,0x72]
379 # CHECK: i8x16.sub_sat_u # encoding: [0xfd,0x73]
382 # CHECK: f64x2.ceil # encoding: [0xfd,0x74]
385 # CHECK: f64x2.floor # encoding: [0xfd,0x75]
388 # CHECK: i8x16.min_s # encoding: [0xfd,0x76]
391 # CHECK: i8x16.min_u # encoding: [0xfd,0x77]
394 # CHECK: i8x16.max_s # encoding: [0xfd,0x78]
397 # CHECK: i8x16.max_u # encoding: [0xfd,0x79]
400 # CHECK: f64x2.trunc # encoding: [0xfd,0x7a]
403 # CHECK: i8x16.avgr_u # encoding: [0xfd,0x7b]
406 # CHECK: i16x8.extadd_pairwise_i8x16_s # encoding: [0xfd,0x7c]
407 i16x8.extadd_pairwise_i8x16_s
409 # CHECK: i16x8.extadd_pairwise_i8x16_u # encoding: [0xfd,0x7d]
410 i16x8.extadd_pairwise_i8x16_u
412 # CHECK: i32x4.extadd_pairwise_i16x8_s # encoding: [0xfd,0x7e]
413 i32x4.extadd_pairwise_i16x8_s
415 # CHECK: i32x4.extadd_pairwise_i16x8_u # encoding: [0xfd,0x7f]
416 i32x4.extadd_pairwise_i16x8_u
418 # CHECK: i16x8.abs # encoding: [0xfd,0x80,0x01]
421 # CHECK: i16x8.neg # encoding: [0xfd,0x81,0x01]
424 # CHECK: i16x8.q15mulr_sat_s # encoding: [0xfd,0x82,0x01]
427 # CHECK: i16x8.all_true # encoding: [0xfd,0x83,0x01]
430 # CHECK: i16x8.bitmask # encoding: [0xfd,0x84,0x01]
433 # CHECK: i16x8.narrow_i32x4_s # encoding: [0xfd,0x85,0x01]
436 # CHECK: i16x8.narrow_i32x4_u # encoding: [0xfd,0x86,0x01]
439 # CHECK: i16x8.extend_low_i8x16_s # encoding: [0xfd,0x87,0x01]
440 i16x8.extend_low_i8x16_s
442 # CHECK: i16x8.extend_high_i8x16_s # encoding: [0xfd,0x88,0x01]
443 i16x8.extend_high_i8x16_s
445 # CHECK: i16x8.extend_low_i8x16_u # encoding: [0xfd,0x89,0x01]
446 i16x8.extend_low_i8x16_u
448 # CHECK: i16x8.extend_high_i8x16_u # encoding: [0xfd,0x8a,0x01]
449 i16x8.extend_high_i8x16_u
451 # CHECK: i16x8.shl # encoding: [0xfd,0x8b,0x01]
454 # CHECK: i16x8.shr_s # encoding: [0xfd,0x8c,0x01]
457 # CHECK: i16x8.shr_u # encoding: [0xfd,0x8d,0x01]
460 # CHECK: i16x8.add # encoding: [0xfd,0x8e,0x01]
463 # CHECK: i16x8.add_sat_s # encoding: [0xfd,0x8f,0x01]
466 # CHECK: i16x8.add_sat_u # encoding: [0xfd,0x90,0x01]
469 # CHECK: i16x8.sub # encoding: [0xfd,0x91,0x01]
472 # CHECK: i16x8.sub_sat_s # encoding: [0xfd,0x92,0x01]
475 # CHECK: i16x8.sub_sat_u # encoding: [0xfd,0x93,0x01]
478 # CHECK: f64x2.nearest # encoding: [0xfd,0x94,0x01]
481 # CHECK: i16x8.mul # encoding: [0xfd,0x95,0x01]
484 # CHECK: i16x8.min_s # encoding: [0xfd,0x96,0x01]
487 # CHECK: i16x8.min_u # encoding: [0xfd,0x97,0x01]
490 # CHECK: i16x8.max_s # encoding: [0xfd,0x98,0x01]
493 # CHECK: i16x8.max_u # encoding: [0xfd,0x99,0x01]
498 # CHECK: i16x8.avgr_u # encoding: [0xfd,0x9b,0x01]
501 # CHECK: i16x8.extmul_low_i8x16_s # encoding: [0xfd,0x9c,0x01]
502 i16x8.extmul_low_i8x16_s
504 # CHECK: i16x8.extmul_high_i8x16_s # encoding: [0xfd,0x9d,0x01]
505 i16x8.extmul_high_i8x16_s
507 # CHECK: i16x8.extmul_low_i8x16_u # encoding: [0xfd,0x9e,0x01]
508 i16x8.extmul_low_i8x16_u
510 # CHECK: i16x8.extmul_high_i8x16_u # encoding: [0xfd,0x9f,0x01]
511 i16x8.extmul_high_i8x16_u
513 # CHECK: i32x4.abs # encoding: [0xfd,0xa0,0x01]
516 # CHECK: i32x4.neg # encoding: [0xfd,0xa1,0x01]
521 # CHECK: i32x4.all_true # encoding: [0xfd,0xa3,0x01]
524 # CHECK: i32x4.bitmask # encoding: [0xfd,0xa4,0x01]
531 # CHECK: i32x4.extend_low_i16x8_s # encoding: [0xfd,0xa7,0x01]
532 i32x4.extend_low_i16x8_s
534 # CHECK: i32x4.extend_high_i16x8_s # encoding: [0xfd,0xa8,0x01]
535 i32x4.extend_high_i16x8_s
537 # CHECK: i32x4.extend_low_i16x8_u # encoding: [0xfd,0xa9,0x01]
538 i32x4.extend_low_i16x8_u
540 # CHECK: i32x4.extend_high_i16x8_u # encoding: [0xfd,0xaa,0x01]
541 i32x4.extend_high_i16x8_u
543 # CHECK: i32x4.shl # encoding: [0xfd,0xab,0x01]
546 # CHECK: i32x4.shr_s # encoding: [0xfd,0xac,0x01]
549 # CHECK: i32x4.shr_u # encoding: [0xfd,0xad,0x01]
552 # CHECK: i32x4.add # encoding: [0xfd,0xae,0x01]
559 # CHECK: i32x4.sub # encoding: [0xfd,0xb1,0x01]
568 # CHECK: i32x4.mul # encoding: [0xfd,0xb5,0x01]
571 # CHECK: i32x4.min_s # encoding: [0xfd,0xb6,0x01]
574 # CHECK: i32x4.min_u # encoding: [0xfd,0xb7,0x01]
577 # CHECK: i32x4.max_s # encoding: [0xfd,0xb8,0x01]
580 # CHECK: i32x4.max_u # encoding: [0xfd,0xb9,0x01]
583 # CHECK: i32x4.dot_i16x8_s # encoding: [0xfd,0xba,0x01]
588 # CHECK: i32x4.extmul_low_i16x8_s # encoding: [0xfd,0xbc,0x01]
589 i32x4.extmul_low_i16x8_s
591 # CHECK: i32x4.extmul_high_i16x8_s # encoding: [0xfd,0xbd,0x01]
592 i32x4.extmul_high_i16x8_s
594 # CHECK: i32x4.extmul_low_i16x8_u # encoding: [0xfd,0xbe,0x01]
595 i32x4.extmul_low_i16x8_u
597 # CHECK: i32x4.extmul_high_i16x8_u # encoding: [0xfd,0xbf,0x01]
598 i32x4.extmul_high_i16x8_u
600 # CHECK: i64x2.abs # encoding: [0xfd,0xc0,0x01]
603 # CHECK: i64x2.neg # encoding: [0xfd,0xc1,0x01]
608 # CHECK: i64x2.all_true # encoding: [0xfd,0xc3,0x01]
611 # CHECK: i64x2.bitmask # encoding: [0xfd,0xc4,0x01]
618 # CHECK: i64x2.extend_low_i32x4_s # encoding: [0xfd,0xc7,0x01]
619 i64x2.extend_low_i32x4_s
621 # CHECK: i64x2.extend_high_i32x4_s # encoding: [0xfd,0xc8,0x01]
622 i64x2.extend_high_i32x4_s
624 # CHECK: i64x2.extend_low_i32x4_u # encoding: [0xfd,0xc9,0x01]
625 i64x2.extend_low_i32x4_u
627 # CHECK: i64x2.extend_high_i32x4_u # encoding: [0xfd,0xca,0x01]
628 i64x2.extend_high_i32x4_u
630 # CHECK: i64x2.shl # encoding: [0xfd,0xcb,0x01]
633 # CHECK: i64x2.shr_s # encoding: [0xfd,0xcc,0x01]
636 # CHECK: i64x2.shr_u # encoding: [0xfd,0xcd,0x01]
639 # CHECK: i64x2.add # encoding: [0xfd,0xce,0x01]
646 # CHECK: i64x2.sub # encoding: [0xfd,0xd1,0x01]
655 # CHECK: i64x2.mul # encoding: [0xfd,0xd5,0x01]
658 # CHECK: i64x2.eq # encoding: [0xfd,0xd6,0x01]
661 # CHECK: i64x2.ne # encoding: [0xfd,0xd7,0x01]
664 # CHECK: i64x2.lt_s # encoding: [0xfd,0xd8,0x01]
667 # CHECK: i64x2.gt_s # encoding: [0xfd,0xd9,0x01]
670 # CHECK: i64x2.le_s # encoding: [0xfd,0xda,0x01]
673 # CHECK: i64x2.ge_s # encoding: [0xfd,0xdb,0x01]
676 # CHECK: i64x2.extmul_low_i32x4_s # encoding: [0xfd,0xdc,0x01]
677 i64x2.extmul_low_i32x4_s
679 # CHECK: i64x2.extmul_high_i32x4_s # encoding: [0xfd,0xdd,0x01]
680 i64x2.extmul_high_i32x4_s
682 # CHECK: i64x2.extmul_low_i32x4_u # encoding: [0xfd,0xde,0x01]
683 i64x2.extmul_low_i32x4_u
685 # CHECK: i64x2.extmul_high_i32x4_u # encoding: [0xfd,0xdf,0x01]
686 i64x2.extmul_high_i32x4_u
688 # CHECK: f32x4.abs # encoding: [0xfd,0xe0,0x01]
691 # CHECK: f32x4.neg # encoding: [0xfd,0xe1,0x01]
696 # CHECK: f32x4.sqrt # encoding: [0xfd,0xe3,0x01]
699 # CHECK: f32x4.add # encoding: [0xfd,0xe4,0x01]
702 # CHECK: f32x4.sub # encoding: [0xfd,0xe5,0x01]
705 # CHECK: f32x4.mul # encoding: [0xfd,0xe6,0x01]
708 # CHECK: f32x4.div # encoding: [0xfd,0xe7,0x01]
711 # CHECK: f32x4.min # encoding: [0xfd,0xe8,0x01]
714 # CHECK: f32x4.max # encoding: [0xfd,0xe9,0x01]
717 # CHECK: f32x4.pmin # encoding: [0xfd,0xea,0x01]
720 # CHECK: f32x4.pmax # encoding: [0xfd,0xeb,0x01]
723 # CHECK: f64x2.abs # encoding: [0xfd,0xec,0x01]
726 # CHECK: f64x2.neg # encoding: [0xfd,0xed,0x01]
731 # CHECK: f64x2.sqrt # encoding: [0xfd,0xef,0x01]
734 # CHECK: f64x2.add # encoding: [0xfd,0xf0,0x01]
737 # CHECK: f64x2.sub # encoding: [0xfd,0xf1,0x01]
740 # CHECK: f64x2.mul # encoding: [0xfd,0xf2,0x01]
743 # CHECK: f64x2.div # encoding: [0xfd,0xf3,0x01]
746 # CHECK: f64x2.min # encoding: [0xfd,0xf4,0x01]
749 # CHECK: f64x2.max # encoding: [0xfd,0xf5,0x01]
752 # CHECK: f64x2.pmin # encoding: [0xfd,0xf6,0x01]
755 # CHECK: f64x2.pmax # encoding: [0xfd,0xf7,0x01]
758 # CHECK: i32x4.trunc_sat_f32x4_s # encoding: [0xfd,0xf8,0x01]
759 i32x4.trunc_sat_f32x4_s
761 # CHECK: i32x4.trunc_sat_f32x4_u # encoding: [0xfd,0xf9,0x01]
762 i32x4.trunc_sat_f32x4_u
764 # CHECK: f32x4.convert_i32x4_s # encoding: [0xfd,0xfa,0x01]
765 f32x4.convert_i32x4_s
767 # CHECK: f32x4.convert_i32x4_u # encoding: [0xfd,0xfb,0x01]
768 f32x4.convert_i32x4_u
770 # CHECK: i32x4.trunc_sat_f64x2_s_zero # encoding: [0xfd,0xfc,0x01]
771 i32x4.trunc_sat_f64x2_s_zero
773 # CHECK: i32x4.trunc_sat_f64x2_u_zero # encoding: [0xfd,0xfd,0x01]
774 i32x4.trunc_sat_f64x2_u_zero
776 # CHECK: f64x2.convert_low_i32x4_s # encoding: [0xfd,0xfe,0x01]
777 f64x2.convert_low_i32x4_s
779 # CHECK: f64x2.convert_low_i32x4_u # encoding: [0xfd,0xff,0x01]
780 f64x2.convert_low_i32x4_u
782 # CHECK: i8x16.relaxed_swizzle # encoding: [0xfd,0x80,0x02]
783 i8x16.relaxed_swizzle
785 # CHECK: i32x4.relaxed_trunc_f32x4_s # encoding: [0xfd,0x81,0x02]
786 i32x4.relaxed_trunc_f32x4_s
788 # CHECK: i32x4.relaxed_trunc_f32x4_u # encoding: [0xfd,0x82,0x02]
789 i32x4.relaxed_trunc_f32x4_u
791 # CHECK: i32x4.relaxed_trunc_f64x2_s_zero # encoding: [0xfd,0x83,0x02]
792 i32x4.relaxed_trunc_f64x2_s_zero
794 # CHECK: i32x4.relaxed_trunc_f64x2_u_zero # encoding: [0xfd,0x84,0x02]
795 i32x4.relaxed_trunc_f64x2_u_zero
797 # CHECK: f32x4.relaxed_madd # encoding: [0xfd,0x85,0x02]
800 # CHECK: f32x4.relaxed_nmadd # encoding: [0xfd,0x86,0x02]
803 # CHECK: f64x2.relaxed_madd # encoding: [0xfd,0x87,0x02]
806 # CHECK: f64x2.relaxed_nmadd # encoding: [0xfd,0x88,0x02]
809 # CHECK: i8x16.relaxed_laneselect # encoding: [0xfd,0x89,0x02]
810 i8x16.relaxed_laneselect
812 # CHECK: i16x8.relaxed_laneselect # encoding: [0xfd,0x8a,0x02]
813 i16x8.relaxed_laneselect
815 # CHECK: i32x4.relaxed_laneselect # encoding: [0xfd,0x8b,0x02]
816 i32x4.relaxed_laneselect
818 # CHECK: i64x2.relaxed_laneselect # encoding: [0xfd,0x8c,0x02]
819 i64x2.relaxed_laneselect
821 # CHECK: f32x4.relaxed_min # encoding: [0xfd,0x8d,0x02]
824 # CHECK: f32x4.relaxed_max # encoding: [0xfd,0x8e,0x02]
827 # CHECK: f64x2.relaxed_min # encoding: [0xfd,0x8f,0x02]
830 # CHECK: f64x2.relaxed_max # encoding: [0xfd,0x90,0x02]
833 # CHECK: i16x8.relaxed_q15mulr_s # encoding: [0xfd,0x91,0x02]
834 i16x8.relaxed_q15mulr_s
836 # CHECK: i16x8.relaxed_dot_i8x16_i7x16_s # encoding: [0xfd,0x92,0x02]
837 i16x8.relaxed_dot_i8x16_i7x16_s
839 # CHECK: i32x4.relaxed_dot_i8x16_i7x16_add_s # encoding: [0xfd,0x93,0x02]
840 i32x4.relaxed_dot_i8x16_i7x16_add_s
842 # CHECK: f32.load_f16 48 # encoding: [0xfc,0x30,0x01,0x30]
845 # CHECK: f32.store_f16 32 # encoding: [0xfc,0x31,0x01,0x20]
848 # CHECK: f16x8.splat # encoding: [0xfd,0xa0,0x02]
851 # CHECK: f16x8.extract_lane 1 # encoding: [0xfd,0xa1,0x02,0x01]
854 # CHECK: f16x8.replace_lane 1 # encoding: [0xfd,0xa2,0x02,0x01]
857 # CHECK: f16x8.add # encoding: [0xfd,0xbd,0x02]
860 # CHECK: f16x8.sub # encoding: [0xfd,0xbe,0x02]
863 # CHECK: f16x8.mul # encoding: [0xfd,0xbf,0x02]
866 # CHECK: f16x8.div # encoding: [0xfd,0xc0,0x02]
869 # CHECK: f16x8.min # encoding: [0xfd,0xc1,0x02]
872 # CHECK: f16x8.max # encoding: [0xfd,0xc2,0x02]
875 # CHECK: f16x8.pmin # encoding: [0xfd,0xc3,0x02]
878 # CHECK: f16x8.pmax # encoding: [0xfd,0xc4,0x02]
881 # CHECK: f16x8.eq # encoding: [0xfd,0xb7,0x02]
884 # CHECK: f16x8.ne # encoding: [0xfd,0xb8,0x02]
887 # CHECK: f16x8.lt # encoding: [0xfd,0xb9,0x02]
890 # CHECK: f16x8.gt # encoding: [0xfd,0xba,0x02]
893 # CHECK: f16x8.le # encoding: [0xfd,0xbb,0x02]
896 # CHECK: f16x8.ge # encoding: [0xfd,0xbc,0x02]
899 # CHECK: f16x8.abs # encoding: [0xfd,0xb0,0x02]
902 # CHECK: f16x8.neg # encoding: [0xfd,0xb1,0x02]
905 # CHECK: f16x8.sqrt # encoding: [0xfd,0xb2,0x02]
908 # CHECK: f16x8.ceil # encoding: [0xfd,0xb3,0x02]
911 # CHECK: f16x8.floor # encoding: [0xfd,0xb4,0x02]
914 # CHECK: f16x8.trunc # encoding: [0xfd,0xb5,0x02]
917 # CHECK: f16x8.nearest # encoding: [0xfd,0xb6,0x02]
920 # CHECK: f16x8.relaxed_madd # encoding: [0xfd,0xce,0x02]
923 # CHECK: f16x8.relaxed_nmadd # encoding: [0xfd,0xcf,0x02]
926 # CHECK: i16x8.trunc_sat_f16x8_s # encoding: [0xfd,0xc5,0x02]
927 i16x8.trunc_sat_f16x8_s
929 # CHECK: i16x8.trunc_sat_f16x8_u # encoding: [0xfd,0xc6,0x02]
930 i16x8.trunc_sat_f16x8_u
932 # CHECK: f16x8.convert_i16x8_s # encoding: [0xfd,0xc7,0x02]
933 f16x8.convert_i16x8_s
935 # CHECK: f16x8.convert_i16x8_u # encoding: [0xfd,0xc8,0x02]
936 f16x8.convert_i16x8_u