gcc/testsuite/gcc.dg/cse_recip.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-Ofast -fdump-tree-optimized-raw -fno-tree-slp-vectorize" } */ |
| 3 | |
| 4 | void |
| 5 | cse_recip (float x, float y, float *a) |
| 6 | { |
| 7 | a[0] = y / (5 * x); |
| 8 | a[1] = y / (3 * x); |
| 9 | a[2] = y / x; |
| 10 | } |
| 11 | |
| 12 | /* { dg-final { scan-tree-dump-times "rdiv_expr" 1 "optimized" } } */ |