/* { dg-skip-if "Incompatible float ABI" { *-*-* } { "-mfloat-abi=soft" } {""} } */ /* { dg-require-effective-target arm_v8_1m_mve_ok } */ /* { dg-add-options arm_v8_1m_mve } */ /* { dg-additional-options "-O2" } */ #include "arm_mve.h" int16_t foo (int16x8_t a) { return vgetq_lane_s16 (a, 1); } /* { dg-final { scan-assembler "vmov.s16" } } */ int16_t foo1 (int16x8_t a) { return vgetq_lane (a, 1); } /* { dg-final { scan-assembler "vmov.s16" } } */