Commit 97ae616
committed
Improve vectorization with conditionals around sin/cos
Recognize a loop with half-size predicate conditional and body
computation using sin or cosine intrinsics.
This change provides enhanced capabilities for such loops.
Previously we tried to prevent vectorization due to the nature of
sin/cos handling, and now these loops correctly vectorize.1 parent a66d802 commit 97ae616
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7473 | 7473 | | |
7474 | 7474 | | |
7475 | 7475 | | |
| 7476 | + | |
7476 | 7477 | | |
| 7478 | + | |
7477 | 7479 | | |
7478 | | - | |
7479 | | - | |
| 7480 | + | |
| 7481 | + | |
| 7482 | + | |
| 7483 | + | |
| 7484 | + | |
| 7485 | + | |
| 7486 | + | |
| 7487 | + | |
| 7488 | + | |
| 7489 | + | |
| 7490 | + | |
7480 | 7491 | | |
7481 | 7492 | | |
7482 | 7493 | | |
| |||
0 commit comments