gcc/testsuite/gcc.target/aarch64/pmull_1.c
raw| 1 | |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-march=armv8-a+crypto" } */ |
| 4 | |
| 5 | #include "arm_neon.h" |
| 6 | |
| 7 | poly128_t |
| 8 | test_vmull_p64 (poly64_t a, poly64_t b) |
| 9 | { |
| 10 | return vmull_p64 (a, b); |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler-times "pmull\\tv" 1 } } */ |
| 14 | |
| 15 | poly128_t |
| 16 | test_vmull_high_p64 (poly64x2_t a, poly64x2_t b) |
| 17 | { |
| 18 | return vmull_high_p64 (a, b); |
| 19 | } |
| 20 | |
| 21 | /* { dg-final { scan-assembler-times "pmull2\\tv" 1 } } */ |
| 22 |