(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
mve/
intrinsics/
vuninitializedq_int.c
       1  /* { dg-require-effective-target arm_v8_1m_mve_ok } */
       2  /* { dg-add-options arm_v8_1m_mve } */
       3  /* { dg-additional-options "-O2" } */
       4  
       5  #include "arm_mve.h"
       6  int8x16_t a;
       7  int16x8_t b;
       8  int32x4_t c;
       9  int64x2_t d;
      10  uint8x16_t ua;
      11  uint16x8_t ub;
      12  uint32x4_t uc;
      13  uint64x2_t ud;
      14  
      15  void
      16  foo ()
      17  {
      18    a = vuninitializedq_s8 ();
      19    b = vuninitializedq_s16 ();
      20    c = vuninitializedq_s32 ();
      21    d = vuninitializedq_s64 ();
      22    ua = vuninitializedq_u8 ();
      23    ub = vuninitializedq_u16 ();
      24    uc = vuninitializedq_u32 ();
      25    ud = vuninitializedq_u64 ();
      26  }
      27  
      28  /* { dg-final { scan-assembler-times "vstrb.8" 2 } } */
      29  /* { dg-final { scan-assembler-times "vstrh.16" 2 } } */
      30  /* { dg-final { scan-assembler-times "vstrw.32" 4 } } */
      31  /* { dg-final { scan-assembler-not "__ARM_undef" } } */