view gcc/testsuite/gcc.target/arm/mve/intrinsics/vstrwq_scatter_shifted_offset_p_f32.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
/* { dg-add-options arm_v8_1m_mve_fp } */
/* { dg-additional-options "-O2" } */

#include "arm_mve.h"

void
foo (float32_t * base, uint32x4_t offset, float32x4_t value, mve_pred16_t p)
{
  vstrwq_scatter_shifted_offset_p_f32 (base, offset, value, p);
}

/* { dg-final { scan-assembler "vstrwt.32"  }  } */

void
foo1 (float32_t * base, uint32x4_t offset, float32x4_t value, mve_pred16_t p)
{
  vstrwq_scatter_shifted_offset_p (base, offset, value, p);
}

/* { dg-final { scan-assembler "vstrwt.32"  }  } */