blob: 7e9a549e8c234121fc3cd640345ccf13a2c3890c [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"
void
foo (int16_t * base, uint16x8_t offset, int16x8_t value, mve_pred16_t p)
{
vstrhq_scatter_shifted_offset_p_s16 (base, offset, value, p);
}
/* { dg-final { scan-assembler "vstrht.16" } } */
void
foo1 (int16_t * base, uint16x8_t offset, int16x8_t value, mve_pred16_t p)
{
vstrhq_scatter_shifted_offset_p (base, offset, value, p);
}
/* { dg-final { scan-assembler "vstrht.16" } } */