1 /* { dg-require-effective-target arm_v8_1m_mve_ok } */
2 /* { dg-add-options arm_v8_1m_mve } */
3 /* { dg-additional-options "-O2" } */
4 
5 #include "arm_mve.h"
6 
7 mve_pred16_t
foo(uint8x16_t a,uint8x16_t b)8 foo (uint8x16_t a, uint8x16_t b)
9 {
10   return vcmpcsq_u8 (a, b);
11 }
12 
13 /* { dg-final { scan-assembler "vcmp.u8"  }  } */
14 
15 mve_pred16_t
foo1(uint8x16_t a,uint8x16_t b)16 foo1 (uint8x16_t a, uint8x16_t b)
17 {
18   return vcmpcsq (a, b);
19 }
20 
21 /* { dg-final { scan-assembler "vcmp.u8"  }  } */
22