gcc/testsuite/gcc.target/aarch64/sve/complex_mul_1.c
raw| 1 | /* { dg-options "-O2 -fgimple -fdump-tree-optimized" } */ |
| 2 | |
| 3 | void __GIMPLE |
| 4 | foo (__SVFloat64_t x, __SVFloat64_t y, __SVFloat64_t *res1, |
| 5 | __SVFloat64_t *res2) |
| 6 | { |
| 7 | __SVFloat64_t a1; |
| 8 | __SVFloat64_t a2; |
| 9 | |
| 10 | a1 = .COMPLEX_MUL (x, y); |
| 11 | a2 = .COMPLEX_MUL (y, x); |
| 12 | __MEM<__SVFloat64_t> (res1) = a1; |
| 13 | __MEM<__SVFloat64_t> (res2) = a2; |
| 14 | } |
| 15 | |
| 16 | /* { dg-final { scan-tree-dump-times {\.COMPLEX_MUL} 1 "optimized" } } */ |