1 /* { dg-do compile } */ 2 /* { dg-require-effective-target arm_crypto_ok } */ 3 /* { dg-add-options arm_crypto } */ 4 5 #include "arm_neon.h" 6 7 int foo(void)8foo (void) 9 { 10 uint8x16_t a, b, c; 11 int i = 0; 12 13 for (i = 0; i < 16; ++i) 14 { 15 a[i] = i; 16 b[i] = 15 - i; 17 } 18 c = vaesdq_u8 (a, b); 19 return c[0]; 20 } 21 22 /* { dg-final { scan-assembler "aesd.8\tq\[0-9\]+, q\[0-9\]+" } } */ 23