[gcc]
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / pmull_1.c
bloba97dcedfea8c9594fee31398b52512e5b4f3fa19
2 /* { dg-do compile } */
3 /* { dg-options "-march=armv8-a+crypto" } */
5 #include "arm_neon.h"
7 poly128_t
8 test_vmull_p64 (poly64_t a, poly64_t b)
10 return vmull_p64 (a, b);
13 /* { dg-final { scan-assembler-times "pmull\\tv" 1 } } */
15 poly128_t
16 test_vmull_high_p64 (poly64x2_t a, poly64x2_t b)
18 return vmull_high_p64 (a, b);
21 /* { dg-final { scan-assembler-times "pmull2\\tv" 1 } } */