[AArch64] SVE tests
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / vect-mull-compile.c
blobc9e4dccbd9815ff826550df682f704018961e278
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
4 #pragma GCC target "+nosve"
6 #define N 16
8 #include "vect-mull.x"
10 DEF_MULL2 (DEF_MULLB)
11 DEF_MULL2 (DEF_MULLH)
12 DEF_MULL2 (DEF_MULLS)
14 /* { dg-final { scan-assembler "smull\\tv\[0-9\]+\.8h"} } */
15 /* { dg-final { scan-assembler "smull\\tv\[0-9\]+\.4s"} } */
16 /* { dg-final { scan-assembler "smull\\tv\[0-9\]+\.2d"} } */
17 /* { dg-final { scan-assembler "umull\\tv\[0-9\]+\.8h"} } */
18 /* { dg-final { scan-assembler "umull\\tv\[0-9\]+\.4s"} } */
19 /* { dg-final { scan-assembler "umull\\tv\[0-9\]+\.2d"} } */
20 /* { dg-final { scan-assembler "smull2\\tv\[0-9\]+\.8h"} } */
21 /* { dg-final { scan-assembler "smull2\\tv\[0-9\]+\.4s"} } */
22 /* { dg-final { scan-assembler "smull2\\tv\[0-9\]+\.2d"} } */
23 /* { dg-final { scan-assembler "umull2\\tv\[0-9\]+\.8h"} } */
24 /* { dg-final { scan-assembler "umull2\\tv\[0-9\]+\.4s"} } */
25 /* { dg-final { scan-assembler "umull2\\tv\[0-9\]+\.2d"} } */