1 /* { dg-do compile } */ 2 /* { dg-options "-O3" } */ 3 4 #pragma GCC target "+nosve" 5 6 #define N 16 7 8 #include "vect-mull.x" 9 10 DEF_MULL2 (DEF_MULLB) 11 DEF_MULL2 (DEF_MULLH) 12 DEF_MULL2 (DEF_MULLS) 13 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"} } */ 26