diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/mve/intrinsics/vmovntq_s32.c')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/mve/intrinsics/vmovntq_s32.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vmovntq_s32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vmovntq_s32.c new file mode 100644 index 00000000000..4d2cc3142e3 --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vmovntq_s32.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" + +int16x8_t +foo (int16x8_t a, int32x4_t b) +{ + return vmovntq_s32 (a, b); +} + +/* { dg-final { scan-assembler "vmovnt.i32" } } */ + +int16x8_t +foo1 (int16x8_t a, int32x4_t b) +{ + return vmovntq (a, b); +} + +/* { dg-final { scan-assembler "vmovnt.i32" } } */ |