diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/mve/intrinsics/vqmovntq_u16.c')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/mve/intrinsics/vqmovntq_u16.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vqmovntq_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vqmovntq_u16.c new file mode 100644 index 00000000000..ec98d9983b8 --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vqmovntq_u16.c @@ -0,0 +1,22 @@ +/* { dg-do compile } */ +/* { dg-require-effective-target arm_v8_1m_mve_ok } */ +/* { dg-add-options arm_v8_1m_mve } */ +/* { dg-additional-options "-O2" } */ + +#include "arm_mve.h" + +uint8x16_t +foo (uint8x16_t a, uint16x8_t b) +{ + return vqmovntq_u16 (a, b); +} + +/* { dg-final { scan-assembler "vqmovnt.u16" } } */ + +uint8x16_t +foo1 (uint8x16_t a, uint16x8_t b) +{ + return vqmovntq (a, b); +} + +/* { dg-final { scan-assembler "vqmovnt.u16" } } */ |