Commit 068cf20
[wasm-simd] Implement floating-point roundings
Implement f32x4 and f64x2 nearest, trunc, ceil, and floor.
These instructions were accepted into the proposal [0], this change
removes all the ifdefs and todo guarding the prototypes, and moves these
instructions out of the post-mvp flag.
[0] WebAssembly/simd#232
Bug: v8:10906
Change-Id: I44ec21dd09f3bf7cf3cae5d35f70f9d2c178c4e4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2406547
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69923}1 parent a53c1e4 commit 068cf20
3 files changed
Lines changed: 10 additions & 46 deletions
File tree
- src
- compiler/backend
- wasm
- test/cctest/wasm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2686 | 2686 | | |
2687 | 2687 | | |
2688 | 2688 | | |
2689 | | - | |
2690 | | - | |
2691 | | - | |
2692 | | - | |
2693 | | - | |
2694 | | - | |
2695 | | - | |
2696 | | - | |
2697 | | - | |
2698 | | - | |
2699 | | - | |
2700 | | - | |
2701 | | - | |
2702 | | - | |
2703 | | - | |
2704 | | - | |
2705 | 2689 | | |
2706 | 2690 | | |
2707 | 2691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
449 | 457 | | |
450 | 458 | | |
451 | 459 | | |
| |||
478 | 486 | | |
479 | 487 | | |
480 | 488 | | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
| 489 | + | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | 683 | | |
688 | | - | |
689 | 684 | | |
690 | 685 | | |
691 | 686 | | |
692 | 687 | | |
693 | | - | |
694 | 688 | | |
695 | 689 | | |
696 | 690 | | |
697 | 691 | | |
698 | | - | |
699 | 692 | | |
700 | 693 | | |
701 | 694 | | |
702 | 695 | | |
703 | | - | |
704 | 696 | | |
705 | 697 | | |
706 | 698 | | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | 699 | | |
711 | 700 | | |
712 | 701 | | |
| |||
1311 | 1300 | | |
1312 | 1301 | | |
1313 | 1302 | | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
1317 | 1303 | | |
1318 | | - | |
1319 | 1304 | | |
1320 | 1305 | | |
1321 | 1306 | | |
1322 | 1307 | | |
1323 | | - | |
1324 | 1308 | | |
1325 | 1309 | | |
1326 | 1310 | | |
1327 | 1311 | | |
1328 | | - | |
1329 | 1312 | | |
1330 | 1313 | | |
1331 | 1314 | | |
1332 | 1315 | | |
1333 | | - | |
1334 | 1316 | | |
1335 | 1317 | | |
1336 | 1318 | | |
1337 | | - | |
1338 | | - | |
1339 | 1319 | | |
1340 | 1320 | | |
1341 | 1321 | | |
| |||
0 commit comments