(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
neon-vdup-2.c
       1  /* Test the optimization of `vdupq_n_f32' ARM Neon intrinsic.  */
       2  
       3  /* { dg-do compile } */
       4  /* { dg-require-effective-target arm_neon_ok } */
       5  /* { dg-options "-O2" } */
       6  /* { dg-add-options arm_neon } */
       7  
       8  #include <arm_neon.h>
       9  
      10  float32x4_t out_float32x4_t;
      11  void test_vdupq_nf32 (void)
      12  {
      13    out_float32x4_t = vdupq_n_f32 (0.125);
      14  }
      15  
      16  /* { dg-final { scan-assembler "vmov\.f32\[ 	\]+\[qQ\]\[0-9\]+, #1\.25e-1\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */