blob: 50e1f5cedcbe42d7f63255359795007bfe5ffc0e [file] [log] [blame]
/* { dg-require-effective-target arm_v8_1m_mve_ok } */
/* { dg-add-options arm_v8_1m_mve } */
/* { dg-additional-options "-O2" } */
#include "arm_mve.h"
uint16x8_t
foo (uint16_t const * base)
{
return vld1q_u16 (base);
}
uint16x8_t
foo1 (uint16_t const * base)
{
return vld1q (base);
}
/* { dg-final { scan-assembler-times "vldrh.16" 2 } } */
/* { dg-final { scan-assembler-not "__ARM_undef" } } */